This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

f28355 flash start up problems

I am able to successfully run out of RAM and out of FLASH when I am hooked up to the emulator.  Once I program the flash the chip will only start up correctly about 80% of the time from a fresh power up when I am not hooked up to the emulator.   I am copying the entire program into RAM from FLASH(It's a small program).   When the chip does not start up correctly I am able to hook up the emulator and pause the code but the stack does not make any sense.  It's like the ram has been corrupted.  Does anyone have any ideas? 

Thanks for your help,

   Jake

  • Jake

    did you call the initFlash() function after copying all program into Ram? Also make sure the PIE table is copied to registers in the InitPieVectTable or similar functions too at the startup.

    Leong