Hello Paul,
I'm still fighting against OpenOCD and JTAG.
I'm using your openocd configuration file.
Below is the trace of my output after a "reset init' command:
Open On-Chip Debugger 0.5.0-dev-00927-ge7c611d-dirty (2011-07-11-18:18)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
adapter_nsrst_delay: 300
jtag_ntrst_delay: 200
RCLK - adaptive
at91sam9260_lnst2_init
Info : RCLK (adaptive clock speed) not supported - fallback to 3 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: at91sam9260.cpu: IR capture error; saw 0x0f not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : Embedded ICE version 15
Error: unknown EmbeddedICE version (comms ctrl: 0xffffffff)
Info : at91sam9260.cpu: hardware has 2 breakpoint/watchpoint units
Warn : WARNING: unknown debug reason: 0xf
Warn : ThumbEE -- incomplete support
Info : accepting 'telnet' connection from 4444
invalid command name "HALT"
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: at91sam9260.cpu: IR capture error; saw 0x0f not 0x01
Warn : Bypassing JTAG setup events due to errors
Warn : WARNING: unknown debug reason: 0xf
Warn : ThumbEE -- incomplete support
target state: halted
target halted in ThumbEE state due to debug-request, current mode: System
cpsr: 0xffffffff pc: 0xfffffff9
MMU: enabled, D-Cache: enabled, I-Cache: enabled
8 kHz
at91sam9260.cpu mww address data [count]
mww ['phys'] address value [count]
Runtime Error: lnst2-9260.cfg.bkp:23:
in procedure 'at91sam9260_lnst2_init'
in procedure 'mww' called at file "lnst2-9260.cfg.bkp", line 23
Warn : NOTE! DCC downloads have not been enabled, defaulting to slow
memory writes. Type 'help dcc'.
Warn : NOTE! Severe performance degradation without fast memory access
enabled. Type 'help fast'.
I have the debug serial plugged to the board, with u-boot stopped, and
nothing changes after the command.
Do you have any clue about what is it going on?
Best regards,
Flavio
2012/10/3 Flavio Castro Alves Filho <
flavio...@gmail.com>: