Hello,
I got the newer pandaboard Rev. A6 and I try to use openocd to debug the bootloader with JTAG. Using openocd 0.8.0 with `target/omap4430.cfg` I get the following error:
Open On-Chip Debugger 0.8.0 (2014-05-05-19:09)
[...]
Info : JTAG tap: omap4430.jrc tap/device found: 0x6b95c02f (mfg: 0x017, part: 0xb95c, ver: 0x6)
Warn : JTAG tap: omap4430.jrc UNEXPECTED: 0x6b95c02f (mfg: 0x017, part: 0xb95c, ver: 0x6)
Error: JTAG tap: omap4430.jrc expected 1 of 2: 0x3b95c02f (mfg: 0x017, part: 0xb95c, ver: 0x3)
A quick google search revealed, that is a real device id [1]:
+#define OMAP4_CONTROL_ID_CODE_ES2_1 0x3B95C02F
+#define OMAP4_CONTROL_ID_CODE_ES2_2 0x4B95C02F
+#define OMAP4_CONTROL_ID_CODE_ES2_3 0x6B95C02F
So I changed the value in `target/omap443.cfg` to this id:
#set _JRC_TAPID 0x3b95c02f
set _JRC_TAPID 0x6b95c02f
Now it seems to "work", but I still get errors when I try to attach a remote gdb:
Info : JTAG tap: omap4430.jrc tap/device found: 0x6b95c02f (mfg: 0x017, part: 0xb95c, ver: 0x6)
Info : JTAG tap: omap4430.dap enabled
Info : JTAG tap: omap4430.m30_dap enabled
Info : JTAG tap: omap4430.m31_dap enabled
Info : omap4430.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : omap4430.m30: hardware has 6 breakpoints, 4 watchpoints
Info : omap4430.m31: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'gdb' connection from 3333
Error: Register map is not available yet, the target is not fully initialised
[...]
Error: Register map is not available yet, the target is not fully initialised
undefined debug reason 7 - target needs reset
Error: Register map is not available yet, the target is not fully initialised
[...]
Error: Register map is not available yet, the target is not fully initialised
Error: Target not halted
[...]
Error: cortex_a8_mmu: target not halted
I assume that's because the config file is not compatible with this newer chip(?), and I would have to make more changes?
Does anybody have a working config or knows how to make it compatible? I am new to jtag, openocd and the pandaboard.
Thank you very much,
kind regards,
Fabian