This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hii there,
We are running flashctl_multiple_size_write_LP_MSPM0G3507_nortos_ticlang example, we have made some custom changes,
we want it to write consecutively, please refer the below image for code & output.
could you please help to achieve consecutive writes.
Thanks & regards,
Krushna T
Hi Krushna,
A flash word is 64 bits, which means you'll need to address on the 64 bit boundaries (8-bytes) in order to write consecutively, what you can do is a 64 bit write but mask the bits you do not want to program/overwrite (mask the data with 0xFFFFFFFFFFFFFFFF).
So in your code you're programming the Evens then the Odds, the even and odd addresses will have the same memory address with your 4*i, since you are not byte aligned.
Regards,
Luke