EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

J-Link Errors

Started by Rudy May 23, 2008
Hello all.  I am running IAR embedded workbench software debugger
through a J-Link connector to a TI TMS470.  I am getting an error,
"Failed to read current instruction" in a J-Link pop-up window when I
try stepping through the code.  After this, it will not let me
continue through the rest of the code.  I tried debugging in Simulator
mode and I do not get this error.  Has anybody ever encountered an
error like this?  As a note, the code did download completely to the
TMS470.

Thanks,
Rudy
Op Fri, 23 May 2008 16:46:18 +0200 schreef Rudy <pinalri@gmail.com>:
> Hello all. I am running IAR embedded workbench software debugger > through a J-Link connector to a TI TMS470. I am getting an error, > "Failed to read current instruction" in a J-Link pop-up window when I > try stepping through the code. After this, it will not let me > continue through the rest of the code. I tried debugging in Simulator > mode and I do not get this error. Has anybody ever encountered an > error like this? As a note, the code did download completely to the > TMS470.
Usually these kind of errors are related to hardware configuration changes, like: * IO-pins needed by J-Link got hijacked * the CPU clock rate changed Try jumping over the offending code. -- Gemaakt met Opera's revolutionaire e-mailprogramma: http://www.opera.com/mail/
On May 26, 9:50 am, "Boudewijn Dijkstra" <boudew...@indes.com> wrote:
> Op Fri, 23 May 2008 16:46:18 +0200 schreef Rudy <pina...@gmail.com>: > > > Hello all. I am running IAR embedded workbench software debugger > > through a J-Link connector to a TI TMS470. I am getting an error, > > "Failed to read current instruction" in a J-Link pop-up window when I > > try stepping through the code. After this, it will not let me > > continue through the rest of the code. I tried debugging in Simulator > > mode and I do not get this error. Has anybody ever encountered an > > error like this? As a note, the code did download completely to the > > TMS470. > > Usually these kind of errors are related to hardware configuration > changes, like: > * IO-pins needed by J-Link got hijacked > * the CPU clock rate changed > > Try jumping over the offending code. > > -- > Gemaakt met Opera's revolutionaire e-mailprogramma: http://www.opera.com/mail/
Thank you for your help. I found that the problem had to do with some initialization file that I did not include. This was a low level initialization file from TI. This cleared up my error. Thanks! Regards, Rudy

The 2024 Embedded Online Conference