Hi,
I can't erase internal flash rang from 0x0088 0000 to 0x009F FFFF.
I create a project(S32) base on C55 Flash driver demo project. Flash RW is ok with configuration:UNLOCK_FIRST256_BLOCKS = 0x0000 00FF , SKIP_IDX_NUM = 0xA.
I try to change UNLOCK_FIRST256_BLOCKS = 0x0000 0003 , SKIP_IDX_NUM = 0x4, since my app code text locate in 0x0080 0008 (no more than 256K). The program stucks in App_FlashErase fuction when trying to erase the memory at 0x0088 0000. What is wrong with it? Thanks. I attached my code below.
Regards,
Jinus
Solved! Go to Solution.
Hi Jinus,
I can see your code is running from 0x008x_xxxx. Notice that read-while-write is supported only between partitions. While erasing/programming one partition, the code must be executed from another partition or from RAM:
Regards,
Lukas
Hi Jinus,
I can see your code is running from 0x008x_xxxx. Notice that read-while-write is supported only between partitions. While erasing/programming one partition, the code must be executed from another partition or from RAM:
Regards,
Lukas