cancel
Showing results for 
Search instead for 
Did you mean: 

Flash programming after Software Reset.

flsenicar
Associate II
Posted on July 16, 2009 at 05:11

Flash programming after Software Reset.

2 REPLIES 2
flsenicar
Associate II
Posted on May 17, 2011 at 13:17

I'm currently havin a problem with flash programming. It occurs whenever I use the software reset.

After I use the software reset, I cannot erase flash memory any more. The controller somehow gets trapped, I even cannot reset the device by a debugger any more. I have to use the power-on reset.

On the other hand, if I use the Watchdog to reset my device, everything works just fine.

So, what's the deal with the software reset? the CM3-TRM doesn't provide me enough information to find out the difference between software and watchdog reset.

Does anyone have an idea?

Thanks

flsenicar
Associate II
Posted on May 17, 2011 at 13:17

I have solved the problem after reading the flash programming manual. I deactivated the internal oscillator HSI which is required for IAP. It is still rather strange though, since it didn't produce any problems until I invoked a system reset.