Hi,
I'm using a F28377S and I'm facing some weird problems between my bootloader and my application.
Both share the same memory for sections : ebss, esysmem, sysmem. They are located in RAM GS7 to GS11. Sometimes, when my application jumps to bootloader for a firmware update, I get an Invalid_BankError when using the flashapi Erase method and all the flash gets erased, including where my bootloader is located... It happens on very specific occation when I'm using a big buffer for logging in the application.
My guess is that some memory is badly initialized when I jump in the bootloader and something is broken when it calls the flashapi but, I can't put my finger on it exactly. Is there something in the linker file I should have? Is there a procedure to clean RAM memory I should do?
Any input will be appreciated!
Thanks