This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem of debugging TMS470 board using IAR J-link

Other Parts Discussed in Thread: TMS470R1B1M

Hi guys
I use IAR J link to program my TMS470 board, however, there are always following errors when debugging. Actually the EVB (TMS470 kickstart kit ) works well with the exactly the same setting, but not with my board, which has the same controller as EVB. Can anyone tell me what might be the reason resulting those errors and how can i solve them? Thanks a lot

Rui

Errors:

'Memory access timed out @ 0040FFE0 -> JTAG speed too high?
Unexpected CPU core mode : 13 (Expected 0x17, CPSR=000000D3), ReadMem: Words @ Addr 0x5F0'

Log file shows:

Tue Sep 14 15:20:02 2010: Loaded macro file: C:\Programme\IAR Systems\Embedded Workbench 4.0 Kickstart\arm\src\examples\TexasInstruments\Configuration_Files\B1M_Files\RAMTMS470R1B1M.mac
Tue Sep 14 15:20:02 2010: J-Link firmware: V1.20 (J-Link compiled Nov 09 2005 19:32:24 -- Update --)
Tue Sep 14 15:20:02 2010: JTAG speed is initially set to: 32 kHz
Tue Sep 14 15:20:03 2010: Halting CPU core
Tue Sep 14 15:20:03 2010: Initial reset was performed
Tue Sep 14 15:20:03 2010: J-Link found 1 JTAG device. ARM core Id: 3100E02F(ARM7)
Tue Sep 14 15:20:03 2010: Device at TAP0 selected
Tue Sep 14 15:20:03 2010: Executing memory setup macro B1M RAM
Tue Sep 14 15:23:49 2010: Error in C:\Programme\IAR Systems\Embedded Workbench 4.0 Kickstart\arm\src\examples\TexasInstruments\Configuration_Files\B1M_Files\RAMTMS470R1B1M.mac at line 61, col
18: Operation error.
Tue Sep 14 15:23:49 2010: Error while calling macro execUserPreload.
Tue Sep 14 15:23:49 2010: Auto JTAG speed: 2000 kHz
Tue Sep 14 15:23:49 2010: Target read failed at memory address 0x0000017C
Tue Sep 14 15:23:49 2010: Target inconsistency detected at memory address 0x0000017C
....

Tue Sep 14 15:23:49 2010: Target read failed at memory address 0x00000650
Tue Sep 14 15:23:49 2010: Target inconsistency detected at memory address 0x00000650
Tue Sep 14 15:23:50 2010: 1804 bytes downloaded and verified (4.91 Kbytes/sec)
Tue Sep 14 15:23:50 2010: There were warnings during download, see Log Window
Tue Sep 14 15:23:51 2010: Loaded debugee: C:\Programme\IAR Systems\Embedded Workbench 4.0 Kickstart\arm\src\examples\TexasInstruments\TMS470R1B1M\ADC_LCD_Demo\RAM\Exe\ADC_LCD.d79
Tue Sep 14 15:23:51 2010: Halting CPU core
Tue Sep 14 15:23:51 2010: Target reset
Tue Sep 14 15:23:51 2010: Executing memory setup macro B1M RAM
Tue Sep 14 15:25:02 2010: Driver does not support code coverage.

  • Everything is fine now after reconnecting the AWD directly to the ground!  :)

  • Please be aware that the TMS470R1x series is not recommended for new designs.  Please see the full 'NRDN' notice here.

    Soon TI will be launching the new TMS470M series of microcontrollers.  This series will feature greater ARM CPU performance and a similar peripherial set to the TMS470R1 Series of microcontrollers.  Please come back soon for more information about the TMS470M Series of microcontrollers.  The product preview for the first two microcontrollers in the TMS470M series is available here: TMS470MF0660x - SPNS157. The TMS470M Series Technical Reference Manual is available here: TMS470M TRM.

    If you are just getting started with any of the TMS470R1X series of microcontrollers, I would highly recommend looking into using one of the TMS470M series of microcontrollers instead.