BTW, a scan shows:
==============================================================
alex@msp-clx-aaustin:~/Projects/openocd$ ./src/openocd -f
interface/jtagkey2.cfg -c "jtag_khz 1000"
Open On-Chip Debugger 0.5.0-dev-00876-g15c5d05 (2011-05-10-14:17)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
1000 kHz
Info : max TCK change to: 30000 kHz
Info : clock speed 1000 kHz
Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!!
Warn : AUTO auto0.tap - use "jtag newtap auto0 tap -expected-id 0x30180083 ..."
Warn : AUTO auto0.tap - use "... -irlen 8"
Warn : gdb services need one or more targets defined
==============================================================
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Austin, Alex
Sent: Tuesday, May 10, 2011 2:34 PM
To: [email protected]
Subject: [Openocd-development] ARM 1176
I know ARM11 support is incomplete, but I was hoping to be able to read/write
flash.
==============================================================
alex@msp-clx-aaustin:~/Projects/openocd$ ./src/openocd -f
interface/jtagkey2.cfg \
> -c "jtag newtap xgold cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id
> 0x30180083" \
> -c "target create xgold.cpu arm11 -endian little -chain-position xgold.cpu
> -variant arm1176" \
> -c "jtag_khz 10000"
Open On-Chip Debugger 0.5.0-dev-00876-g15c5d05 (2011-05-10-14:17)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
xgold.cpu
10000 kHz
Info : max TCK change to: 30000 kHz
Info : clock speed 10000 kHz
Info : JTAG tap: xgold.cpu tap/device found: 0x30180083 (mfg: 0x041, part:
0x0180, ver: 0x3)
Error: IR capture error at bit 5, saw 0x01 not 0x...3
Warn : Bypassing JTAG setup events due to errors
Error: 'arm11 target' JTAG error SCREG OUT 0x00
Error: unexpected ARM11 ID code
Polling target failed, GDB will be halted. Polling again in 100ms
Polling target failed, GDB will be halted. Polling again in 300ms
Polling target failed, GDB will be halted. Polling again in 700ms
Polling target failed, GDB will be halted. Polling again in 1500ms
Polling target failed, GDB will be halted. Polling again in 3100ms
Polling target failed, GDB will be halted. Polling again in 6300ms
(and it continues)
==============================================================
What does the IR capture error indicate?
What does SCREG OUT 0x00 mean?
Is the openocd scan still reading the IDCODE wrong? I do know that it is an
ARM1176.
Alex Austin
Associate Software Engineer
Spectrum Design Solutions
110 North 5th Street, Floor 3
Minneapolis, MN 55403
Direct: +1.612.435.5537
Main: +1.612.435.0789
Mobile: +1.651.238.9273
Email: [email protected]
www.spectrumdsi.com
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development