Skip to main content
flsenicar
Associate
July 16, 2009
Question

Flash programming after Software Reset.

  • July 16, 2009
  • 2 replies
  • 757 views
Posted on July 16, 2009 at 05:11

Flash programming after Software Reset.

    This topic has been closed for replies.

    2 replies

    flsenicar
    flsenicarAuthor
    Associate
    May 17, 2011
    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.

    flsenicar
    flsenicarAuthor
    Associate
    May 17, 2011
    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