i.mx27 problem

Hello.

I’d like to connect to i.MX27ADS by OpenOCD.

However, I’ve not succeeded yet.

advice me, plz.

log list is below

Debug:   15 15 command.c:430 command_run_line(): jtag_device 4 0x1 0xf 0x2
Debug:   16 16 command.c:430 command_run_line(): jtag_device 4 0xf 0xf 0xe
Debug:   17 18 command.c:430 command_run_line(): jtag_nsrst_delay 20
Debug:   18 19 command.c:430 command_run_line(): jtag_ntrst_delay 20
Debug:   19 20 command.c:430 command_run_line(): daemon_startup attach
Info:    20 21 options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-06-01-02:15) svn:696
Debug:   21 22 command.c:430 command_run_line(): target arm926ejs little run_and_halt 0 arm926ejs
Debug:   22 23 arm926ejs.c:733 arm926ejs_target_command(): chain_pos: 0, variant: arm926ejs
Info:    39 591 jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x1b900f0f
(Manufacturer: 0x787, Part: 0xb900, Version: 0x1)
Info:    40 593 jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x07926121
(Manufacturer: 0x090, Part: 0x7926, Version: 0x0)
Debug:   41 594 jtag.c:326 jtag_call_event_callbacks(): jtag event: JTAG control
ler reset(tms or TRST)
Debug:   42 595 jtag.c:1295 jtag_reset_callback(): -
Debug:   43 596 jtag.c:1295 jtag_reset_callback(): -
Debug:   44 791 openocd.c:116 handle_init_command(): jtag init complete
Error:   45 990 embeddedice.c:191 embeddedice_build_reg_cache(): unknown EmbeddedICE version (comms ctrl: 0x00000000)

and my configuration file is this.

interface ft2232
ft2232_device_desc "TINY JTAG-ICE A"
ft2232_layout jtagkey
ft2232_latency 1200
jtag_speed 0
#jtag_khz 30
#reset_config trst_and_srst
reset_config trst_only
#reset_config srst_only
jtag_device 4 0x1 0x1 0xe
jtag_device 4 0x1 0xf 0xe

jtag_nsrst_delay 20
jtag_ntrst_delay 20

daemon_startup attach
target arm926ejs little run_and_halt 0 arm926ejs
run_and_halt_time 0 30

I am currently using OpenOCD with MX-21 which is very similar to MX-27

Then, I am quite sure you will access your CPU using the MX21.cfg here attached. Meanwhile, I am looking for accessing StrataFlash b OpenOCD… I believe your MX-27ADS does not have Intel STrataflash on-board

Warmest regards

Roberto


#daemon configuration

telnet_port 4444

gdb_port 3333

#interface

interface ft2232

ft2232_device_desc “Olimex OpenOCD JTAG A”

ft2232_layout “olimex-jtag”

ft2232_vid_pid 0x15BA 0x0003

jtag_speed 0

#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 0x1 0xe

#jtag_device 4 0x1 0xf 0xe

#target configuration

daemon_startup attach

#target

#target arm7tdmi

target arm926ejs little run_and_halt 0 arm926ejs

run_and_halt_time 0 30

#----------------------------------------------------------------------

For more information about the configuration files, take a look at:

http://wiki.virtualcogs.com/index.php?t … rtual_Cogs

http://openfacts.berlios.de/index-en.ph … p+Debugger

Thank you for your reply. rquisto.

I tried your configuration.

But I’ve not succeeded to access my CPU.

I think my OpenOCD found 2 jtag device on this part.

so i wrote 2 jtag device setting.

Info:    39 591 jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x1b900f0f
(Manufacturer: 0x787, Part: 0xb900, Version: 0x1)
Info:    40 593 jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x07926121
(Manufacturer: 0x090, Part: 0x7926, Version: 0x0)

I believe your MX-27ADS does not have Intel STrataflash on-board

MX-27ADS board has SPANSION “S71WS-NX0 Based MCPs”.

Best regards

T.yokota