# i.mx27 problem

**URL:** <https://community.sparkfun.com/t/i-mx27-problem/7491>\
**Category:** MicroMod\
**Tags:** arm-lpc\
**Created:** [May 31, 2008, 7:06pm UTC](https://community.sparkfun.com/t/i-mx27-problem/7491 "2008-05-31T19:06:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![takahisa\_yokota](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@takahisa\_yokota](https://community.sparkfun.com/u/takahisa_yokota)\
**Post date:** [May 31, 2008, 7:06pm UTC](https://community.sparkfun.com/t/i-mx27-problem/7491/1 "2008-05-31T19:06:58Z")

</div>

Hello.

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

However, I’ve not succeeded yet.

advice me, plz.

log list is below

```auto
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

```

```auto
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.

```auto
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

```

---

<div class="post-metadata">

**Author:** ![rgiusto](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@rgiusto](https://community.sparkfun.com/u/rgiusto)\
**Post date:** [May 31, 2008, 7:21pm UTC](https://community.sparkfun.com/t/i-mx27-problem/7491/2 "2008-05-31T19:21:40Z")

</div>

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://wiki.virtualcogs.com/index.php?title=Eclipse_IDE_setup_with_Virtual_Cogs)

# [http://openfacts.berlios.de/index-en.ph … p+Debugger](http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger)

---

<div class="post-metadata">

**Author:** ![takahisa\_yokota](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@takahisa\_yokota](https://community.sparkfun.com/u/takahisa_yokota)\
**Post date:** [June 1, 2008, 6:42pm UTC](https://community.sparkfun.com/t/i-mx27-problem/7491/3 "2008-06-01T18:42:00Z")

</div>

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.

```auto
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
