From: Arnd B. <arn...@go...> - 2012-11-24 21:59:15
|
Hello Developers, since 2 Weeks im try to get OpenOcd working with my new Atmel SAM3X-EK. The same configuration Works fine for SAM3S Olimex SAM3-H256 Board and an Atmel SAM3U-EK Board Target Board: Atmel SAM3X-EK. Configuration Script : # My SAM3X-EK config source [find interface/ftdi/olimex-arm-usb-ocd-h.cfg] source [find board/atmel_sam3x_ek.cfg] Openocd Command: openocd -f openocd.cfg Actual Result: Invalid ACK and keeps polling. Not controllable by GDB or Telnet Console Output: Info : only one transport option; autoselect 'jtag' adapter speed: 500 kHz adapter_nsrst_delay: 100 jtag_ntrst_delay: 100 cortex_m3 reset_config sysresetreq srst_only separate srst_gates_jtag srst_open_drain Info : clock speed 500 kHz Info : JTAG tap: sam3.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4) Warn : Invalid ACK 0x7 in JTAG-DP transaction Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x0, MEM_AP_TAR 0xc0000000 Info : sam3.cpu: hardware has 0 breakpoints, 0 watchpoints Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x23000040, MEM_AP_TAR 0xe0c0001a Polling target failed, GDB will be halted. Polling again in 100ms Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x23000040, MEM_AP_TAR 0x6000000 Polling target failed, GDB will be halted. Polling again in 300ms Polling succeeded again Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x0, MEM_AP_TAR 0xc0000000 Polling target failed, GDB will be halted. Polling again in 100ms Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x0, MEM_AP_TAR 0x0 Polling target failed, GDB will be halted. Polling again in 300ms Polling target failed, GDB will be halted. Polling again in 700ms Polling succeeded again Warn : Invalid ACK 0x6 in JTAG-DP transaction Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x1000041, MEM_AP_TAR 0xe000edf4 Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x1000041, MEM_AP_TAR 0xf00075f4 Polling target failed, GDB will be halted. Polling again in 100ms Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x0, MEM_AP_TAR 0x0 Polling target failed, GDB will be halted. Polling again in 300ms Error: sam3.cpu -- clearing lockup after double fault Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x1000041, MEM_AP_TAR 0x1000041 Polling target failed, GDB will be halted. Polling again in 700ms Warn : Invalid ACK 0x7 in JTAG-DP transaction Polling target failed, GDB will be halted. Polling again in 1500ms Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x1000040, MEM_AP_TAR 0xf800edf4 Polling target failed, GDB will be halted. Polling again in 3100ms Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x1000040, MEM_AP_TAR 0xe000edf4 Polling target failed, GDB will be halted. Polling again in 6300ms Polling succeeded again Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x0, MEM_AP_TAR 0x0 Polling target failed, GDB will be halted. Polling again in 100ms Polling target failed, GDB will be halted. Polling again in 300ms Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x1000040, MEM_AP_TAR 0xf8003b7d Polling target failed, GDB will be halted. Polling again in 700ms Polling succeeded again Polling target failed, GDB will be halted. Polling again in 100ms Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x1000040, MEM_AP_TAR 0x80800020 Polling target failed, GDB will be halted. Polling again in 300ms Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x1000040, MEM_AP_TAR 0x0 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 succeeded again |