|
From: Duane E. <op...@du...> - 2008-09-17 01:41:00
|
I am trying to get an iMX27 to work, and need some help. == Config File == $ cat openocd.cfg telnet_port 4444 gdb_port 3333 source [find interface/signalyzer.cfg] # I do not know if this is correct. reset_config trst_and_srst # I believe this is wrong, or missing an entry jtag_device 4 0x01 0xf 0x0e # assumption... jtag_nsrst_delay 200 jtag_ntrst_delay 0 # My target, target arm926ejs little 1 arm926ejs jtag_speed 1 init ===================== duane@host /cygdrive/c/cortex/imx27 $ ./a.sh Open On-Chip Debugger 1.0 (2008-09-16-16:45) svn:exported $URL: _http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c_ $ jtag_speed: 1 Info: JTAG device found: 0x1b900f0f (Manufacturer: 0x787, Part: 0xb900, Version: 0x1) Info: JTAG device found: 0x07926121 (Manufacturer: 0x090, Part: 0x7926, Version: 0x0) Error: number of discovered devices in JTAG chain (2) doesn't match configuration (1) Error: check the config file and ensure proper JTAG communication (connections,speed, ...) Error: trying to validate configured JTAG chain anyway... Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x11 Error: Could not validate JTAG chain, continuing anyway... Error: unknown EmbeddedICE version (comms ctrl: 0xc0000000) Warning:no tcl port specified, using default port 6666 dellis@host /cygdrive/c/cortex/imx27 $ ====================== I am fairly certain the 2nd "Jtag Device Found" is the ARM926. Reason - It matches this Freescale iMX27 Reference manual http://www.freescale.com/files/32bit/doc/ref_manual/MCIMX27RM.pdf?fpsp=1&WT_TYPE=Reference%20Manuals&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation <http://www.freescale.com/files/32bit/doc/ref_manual/MCIMX27RM.pdf?fpsp=1&WT_TYPE=Reference%20Manuals&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation> Section 9.4, "Jtag Register ID" says - the data is: tapid[31:28] = version = 4'b0 tapid[27:12] = part number = 16'h7926 tapid[11:8] = tapid_ver[3:0] = 1 tapid[7:1] = 7'b001_0000 tapid[0] = 1'b1 Hence, 0x07926121 = Makes sense. I believe the part also has an 'ETM' I don't know if it has a tap or not. (I don't know enough about it). |