Tool/software:
Hi,
Is there a way to use two different read/write commands regarding flash with OSPI controller?
My goal is use two different read/write commands, one for reading/writing one section of memory(standard way, let me say) and one for reading/writing SSR region(like OTP region). My flash provides these two different commands for these two sections and I need to use these two commands.
Regards
Stefano
Hi Stefano,
Thanks for your query.
So I am going to comment on your question based on MCU PLUS SDK AM243 offering.
This is the flow.
The intent behind me writing this exhaustive step is to make sure you understand how the flow happens, else a top level answer would be a NO.
The following questions are purely for my understanding purpose, so that I can know your system better.
Looking forward to your response.
Regards,
Vaibhav
Hi, Vaibhav
I think that I have to switch between protocols only few times, only for writing some parameters once device is built.
In case the switch goes bad, parameters are written in wrong sections. It's not so bad, but it's not a correct behaviour.
Hi Stefano,
Thanks for mentioning your usecase, let me check if I can make something work in this case.
I would need to do a good bit of testing at my end to understand if with few changes as possible I can make your use case work.
So please go ahead and tell me if the following flow looks good to you?
Let me know if you want to modify any of the above steps or add some of your own?
Please also note, this will be an effort at my end to check for the protocol switch, for which I am initially saying it will be a NO, But I can try to match your requirement if you allow me sometime to run through this.
Regards,
Vaibhav
Hi,
From my point of view the protocol does not matter, but I need only to find a way to manage the two commands.
Flash and OSPI is configured in 8D-8D-8D because is used for other reasons(FW Update, save parameters and ecc..), but now i need to use another section of flash, more secure for some parameters.
I think that your solution could be good, if i can change command and manage flash then in some way as configured now.
Regards
Hi,
Thank you, I will try this switch protocol implementation and let you know.
Regards,
Vaibhav