Skip to main content
Visitor II
August 9, 2006
Question

ICD is causing ROM corruption. Why???

  • August 9, 2006
  • 2 replies
  • 875 views
Posted on August 09, 2006 at 08:04

ICD is causing ROM corruption. Why???

    This topic has been closed for replies.

    2 replies

    sjayapalAuthor
    Visitor II
    May 2, 2006
    Posted on May 02, 2006 at 03:51

    Micro Used: St7FL35

    Tool Used: DVP3

    Issue: Micro does not start as a stand alone device once it is removed from the debugger.

    I read back the contents of the ROM and option byte info after the debugger is being used. And I could see the ROM file getting corrupted. The debugger has changed the vector address of the reset and trap and hence the micro was not starting.

    But how can it modify the ROM? Please suggest something to avoid this. As we are landing to flash the code every time we remove it from the debugger.

    Regards,

    Suganya

    Visitor II
    August 9, 2006
    Posted on August 09, 2006 at 08:04

    The debugger is for debug phase !

    It patches some part of the code for debug purpose.

    If you want to program your chip in order to run it in standalone, you should use the programmer (STVP7).

    Emmanuel.