2009-07-15 08:11 PM
Flash programming after Software Reset.
2011-05-17 04:17 AM
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? Thanks2011-05-17 04:17 AM
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.