2024-01-15 11:02 PM
If the len is set to 6, it is not work. in case of 4 then it is partly works. (4byte date programmed and 4bytes are skipped). Are there any way to write down the data with variable length?
Solved! Go to Solution.
2024-01-18 07:25 AM - edited 2024-01-18 07:25 AM
Hello ,
cf UM2636.pdf
In FlashProgram ,
size Size, in bytes, of the Flash region to be
programmed.
If size = 0, C55_OK returns.
It should be multiple of word and its combination with dest should
fall in either main array or UTest block.
multiple by 8, i think
Best regards
Erwan
2024-01-18 07:25 AM - edited 2024-01-18 07:25 AM
Hello ,
cf UM2636.pdf
In FlashProgram ,
size Size, in bytes, of the Flash region to be
programmed.
If size = 0, C55_OK returns.
It should be multiple of word and its combination with dest should
fall in either main array or UTest block.
multiple by 8, i think
Best regards
Erwan
2024-01-18 02:33 PM
Hello Erwan
Thanks for the reply, I tested with several value and it works with multiple of 8.
It does not work with multiple of 4.
Are there any source code avalable for the flash driver.
When I check the item from internet, I find following two document
it do not shows the full code.
https://community.nxp.com/docs/DOC-105380
https://community.nxp.com/docs/DOC-106580
I am not sure are there any code with C file or not.
Thanks.
Best regards
Joonseok YANG
2024-01-19 12:28 AM
Sorry Joonseok ,
we have only the library in SPC5Studio Tools Suite.
SPC56/57/58 shoudl have the same flash driver as MPC56/57
Best Regards
Erwan