OpenOCD support for ARM9E-S core

Hello, recently I have installed Olimex’s package that contains USB ARM JTAG board and OpenOCD software (SVN snapshot r93). This sofware doesn’t support ARM9E-S core I need. When do you think this support will be available? In case I’d try to add this support by myself: 1) what amount of work is required? 2) could you prompt me which file should I edit? Thank you.

Hi,

you should get the latest version of the OpenOCD, either compiling it yourself from SVN, or using the windows binaries provided by www.yagarto.de.

The CDs supplied by Olimex are bound to lack behind by the time you try to use them.

Regards,

Dominic

Thank you, really the new version of OpenOCD contains support for more ARM cores :lol: . Although ARM9E-S is not in the list ARM926E-JS is there. My question is can I choose this ARM926E-JS target while in my board there is ARM9E-S - I verified that these two cores are from the same family. The config file I use is as follows:

#interface

interface ft2232

ft2232_device_desc “Olimex OpenOCD JTAG A”

ft2232_layout “olimex-jtag”

ft2232_vid_pid 0x15BA 0x0003

jtag_speed 1

#use combined on interfaces or targets that can’t set TRST/SRST separately

reset_config trst_and_srst

#jtag scan chain

#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)

jtag_device 4 0x1 0xf 0xe

#target configuration

daemon_startup reset

#target

target arm926ejs little reset_halt 0

working_area 0 0x200000 0x4000 backup

run_and_halt_time 0 5000

Very appreciate your advise

Hi,

which target do you use? AFAIK there is no target based on the “ARM9E-S” alone - the ARM9E-S is used in cores such as ARM966E-S (which is supported).

Regards,

Dominic

I’m using ARM946E-S, AFAIK it’s the same family like ARM966E-S and ARM926E-JS

At first glance it seems to be similar to the ARM966E-S (not the ARM926EJ-S, which got an MMU). It should be possible to add support for your core to arm966e.[ch], but you’d have to compare the TRMs of ARM966E-S and your core to make sure this works. As a first test you could simply select “arm966e” as your target type.

Regards,

Dominic