Tool/software:
Hi,
My customer wants to update (Erase and Write) some data in Flash during user application running.
Could you tell them how to do that ?
In order to erase/write the data in Flash, they’re thinking to allocate the program for Erasing/Writing Flash onto the one bank in Flash and the erased/written data area onto another bank.
Could you tell them how to allocate the codes onto each different bank ?
Is the following procedure correct ?
At first, divide the addresses for Flash 1/2 and bank 0/1 at the MEMORY in “Device_Linker.cmd”.
After that, allocate the program (.text) to one bank and the data area which they want to update to the other bank.
But even if they modify the .cmd file, it will be automatically overwritten at building, so it would be helpful if you could tell them correct procedure.
Is there any example for erased/written one bank by erasing/writing program on another bank ?
Thanks and regards,
Hideaki