Programming Olimex TMS470 Board.

Hi Guys,

I just got an Olimex TMS470 Board and a ARM-JTAG, using H-JTAG I get an error while trying to detect the board, anyway, Do any of you guys know how to program the board? Even the RAM?.

Are you using GNU, Keil, or IAR?

Since the Arm-jtag is a wiggler parallel port interface, you should be able to use other more common software with the GNU toolset, like Macraigor’s OCDRemote or Dominic Rath’s OpenOCD (which now has a forum here on Sparkfun).

If you’re using IAR or uVision you may not need a third party driver, but I’m not sure about that. I normally use a USB JTAG device.

Since the 470 is a TI device, and TI strongly favors IAR, I might start there if I was you. The 32K limit on the free kickstart edition on IAR EW is plenty for most purposes.

But to more directly answer your question: most Arm7 chips have a serial bootloader, called an IAP or ISP program loader. I don’t know about TI, but this is a handy way for newbies to program Atmel and Philips chips.

Eric

I’m using IAR, I tried both RDI(via H-JTAG, which doesnt even recognize the board) and the Macraigor driver, may be it’s a sw issue but I don’t get why H-JTAG doesn’t recognize the board =S.

Let me second and bump this.

Our shop bought an Olimex P2148 board, but since it’s so difficult to get Philips parts, we’re looking at the TMS470. We built a small board with all the JTAG connections following Olimex’s schematics for the TMS470 kit. H-JTAG can detect the TMS470 just fine, however IAR won’t program it either using the Macraigor driver or H-JTAG’s RDI driver. The error message says something about not being able to enter debug mode. Any ideas what we’re supposed to do?

If it matters at all, we’re using the TMS470R1A384 (not the 256 as Olimex does), the latest IAR for ARM, and Olimex’s sample code from their web page. Maybe some modification is needed in that sample code?

Hi,

I have similar problems with IAR interfacing with TMS470 using H-JTAG/Macraigor.

Have you found a workaround for the problem?

Please Reply ASAP.

Regards

Harinarayanan S

acidblood:
Let me second and bump this.

Our shop bought an Olimex P2148 board, but since it’s so difficult to get Philips parts, we’re looking at the TMS470. We built a small board with all the JTAG connections following Olimex’s schematics for the TMS470 kit. H-JTAG can detect the TMS470 just fine, however IAR won’t program it either using the Macraigor driver or H-JTAG’s RDI driver. The error message says something about not being able to enter debug mode. Any ideas what we’re supposed to do?

If it matters at all, we’re using the TMS470R1A384 (not the 256 as Olimex does), the latest IAR for ARM, and Olimex’s sample code from their web page. Maybe some modification is needed in that sample code?

Hi,

I have a similar problem. The H-JTAG server reconizes the Processor and it’s linked to the EWARM using the RDI interface. The driver download the data but there were warning(target memory inconsistency). while debugging step by step, it works for few instructions then the processor run on his own (I think due to the warning). is there a special configuration to make on hardware or software?

Thanks for help

I had the same problem. It occurred when I used the incorrect configuration for the device. I solved it by using one of the installed samples and from there I could then replace the source files and it ran.

As for the other J-Tags. I broke down and bought the TI eval kit which has the IAR Jlink and it works fine.

tequilaguru:
Hi Guys,

I just got an Olimex TMS470 Board and a ARM-JTAG, using H-JTAG I get an error while trying to detect the board, anyway, Do any of you guys know how to program the board? Even the RAM?.

If you are using the Olimex parallel port Wiggler clone, be sure to configure it the way this image shows.

http://www.hjtag.com/pic/OLIMEX.gif

The Olimex ARM-JTAG will not work with the standard Wiggler configuration.

H-JTAG works very well with most of the debuggers using the ARM standard RDI protocol.

–Dave