PEmicro logo
Cart New Account Login

Logo image
HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
search inside all forums
SPM563 Flash Not Erasing
Robert W. Feb 22, 2021 at 05:34 PM (17:34 hours)
Staff: Takao Y.

  • Hello, I have a SPC563M64L5 connected to a Multilink Universal module. The device has a program running (one I wrote). I am trying to erase the flash and reprogram it. I am using PKGPPCNEXUSSTARTER with ST_SPC563M64_1x32x384k_LCFlash.PCP

    A blank check says that address $00000000 word is $015A. I erase it and put in the new program. Cycle the power and the old program is still there.

    Is it possible that I have secured this part? If so, how do I reset it.

    Thank you.


  • Greetings,

    No I doubt you secured it, because otherwise it will not even allow you to enter debug.

    After you erase, could you try using blank check again? It should pass. But if it does not, then that explains why the old program is still there. If it is blank and you programmed something new, then it should be running the new program. Double check the object file you are programming.


  • The blank check says "Blanking Check ... Erased.", but the program still runs.


  • I found the problem. I have a second micro on the board it was the one that was running. 


  • Greetings,

    Keep me posted on your results.


Add comment

   Want to comment? Please login or create a new PEmicro account.

© 2021 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement