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.

Flash Plug In Remnant Code

Champs,

 

A customer of mine has posed the following issue:

 

During development, I have an occasional problem where run-away code appears to re-program flash.  My application code does not have flash-programming functions.  I start my application immediately after using the On-Chip-Flash-Programmer. When the Programmer is done does it leave remnant code in the chip's RAM area?  Where does it leave it?  Or does it zero out any RAM it deposited code into?  I am wondering if my code is somehow accessing leftover code.  What do you recommend?  I thought of zero'ing DSP RAM as the first step to wipe out any Flash-Programming code.

 

So the question is if the Flash Plug In leaves the programming algorithms on the RAM or does it zero out this code.

 

Regards,

 

Tim Love

 

  •  Tim,

     The code will still be there.  One suggestion is to use the gel file function that fills memory with an ESTOP0 (gel -> initalize memory map -> fill with ESTOP0).  The ESTOP0 is a software breakpoint.  This may help the customer debug if the code is running away and where the runaway occurs. 

     

    Lori