MPC5777M S32DS-2017v1
bootloader link file:
app link file:
bootloader code addr is 0x1000000, which is in the same partition for 0x1080000.
This bootloader can erase 0x1080000, but can't program data into 0x1080000, why?
and where I should put bootloader in?
Solved! Go to Solution.
Hi lucas:
my mistake. this partition is locked in example, I transplant example to my project. I have changed it as follow:
Hi,
Read-While-Write is supported only between partitions, so the code must be executed from another partition or from RAM memory. If interrupts are not disabled, make sure that interrupt vector table and ISR handlers (+ other resources accessed by the handlers) are also in different partition / RAM.
You can use low and mid blocks for the bootloader:
Regards,
Lukas
Hi lukas:
I followed your suggestion.
My bootloader link file:
my app link file:
but it still can't program into 0x100000
It is strange, program is successful, but "verify" failed.
I double check the bootloader hex file, there is no any code in sixth partition of flash.
can you help me?
Hi,
let's start with some basic debugging. You have 'failed address' - what can you see in the memory? And what are expected data?
Regards,
Lukas
Hi lucas:
my mistake. this partition is locked in example, I transplant example to my project. I have changed it as follow:
I add a test example as attachment, you can download it.
the pic. you want as follow:
thank you very much.
Hi Lukas:
thank you very much, I wiil follow your suggestion.