AnsweredAssumed Answered

MPC5777C bootloader Problem

Question asked by Luke Zhang on Aug 13, 2019
Latest reply on Aug 23, 2019 by Lukas Zadrapa

Hi all,


I have a question regarding to the implementation of mpc5777c bootloader. I followed AN5319 application note as a guideline to implement it, and now the earsing functionality works after I put certain code (like Flash_erase(), interrupt vector table and exception table) to RAM (otherwise it will issue IVOR1 fault). So here's the thing that I don't understand, I put some routines to RAM instead of flash, but as fat as I know, RAM can only store data temporary, and it cannot retain the data, which means if I power it off, and power on again, the data stored in RAM should disappear, but actually it is not, and the routines, interrupt vector all works as usual. But I only put those routines in RAM based on this question HOWTO: Run a routine from RAM in S32 Design Studio . So why does those routines put at RAM still working after a full power cycle?