cancel
Showing results for 
Search instead for 
Did you mean: 

ICD is causing ROM corruption. Why???

sjayapal
Associate II
Posted on August 09, 2006 at 08:04

ICD is causing ROM corruption. Why???

2 REPLIES 2
sjayapal
Associate II
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

emmanuel23
Associate II
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.