Openocd and AT91SAM3N00AA

Hi all,

openocd refuses my controller:

cortex_m3 reset_config sysresetreq

adapter speed: 20 kHz

TapName Enabled IdCode Expected IrLen IrCap IrMask


0 at91sam3n.cpu Y 0x00000000 0x4ba00477 4 0x01 0x0f

shutdown command invoked

Info : clock speed 20 kHz

Info : JTAG tap: at91sam3n.cpu tap/device found: 0x05b2e03f (mfg: 0x01f, part: 0x5b2e, ver: 0x0)

Warn : JTAG tap: at91sam3n.cpu UNEXPECTED: 0x05b2e03f (mfg: 0x01f, part: 0x5b2e, ver: 0x0)

Error: JTAG tap: at91sam3n.cpu expected 1 of 1: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)

Error: Trying to use configured scan chain anyway…

Error: at91sam3n.cpu: IR capture error; saw 0x09 not 0x01

Warn : Bypassing JTAG setup events due to errors

Warn : Invalid ACK 0x6 in JTAG-DP transaction

Polling target at91sam3n.cpu failed, GDB will be halted. Polling again in 100ms

Polling target at91sam3n.cpu failed, GDB will be halted. Polling again in 300ms


Is AT91SAM3N00AA not yet supported by openocd?

Here’s my openocd config:


Flash Debug Version

#interface

source [find interface/openocd-usb.cfg]

#set CPU

source [find cpu/arm/cortex_m3.tcl]

#set target

source [find target/at91sam3nXX.cfg]

adapter_khz 20

size is automatically “calculated” by probing

#set _FLASHNAME $_CHIPNAME.flash0

#flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME

#flash banks

#init

#flash write_bank 0 “/home/axel/getting-started_flash.bin” 0x0

#flash probe

#init

#at91sam3 info

scan_chain

shutdown


Thanks,

Hardy-13