AnsweredAssumed Answered

Flash command problems

Question asked by Roth Kalman on Mar 24, 2014
Latest reply on Mar 27, 2014 by Roth Kalman

Dear Forumers!




We're trying to create a bootloader app which is capable of self programming the flash.


We've tried executing the following command:

-erase flash sector

-program longword

-program check


The problem is regarding to all of the command:

In some cases the mcu resets, and RCM state of LOCKUP is detected after reset. If the above mentioned routines are placed somewhere else in the code, this reset may not occurs.


We cannot understand the reason of this, and at this point we've stuck continuing the firmware development.


Can you help us, how should we modify our code, if it is possible?


The above mentioned subroutines are running from program flash.