3 # Configuration for Atmel's SAM3N series
6 if { [info exists CHIPNAME] } {
7 set _CHIPNAME $CHIPNAME
9 set _CHIPNAME at91sam3n
12 if { [info exists CPUTAPID] } {
13 set _CPUTAPID $CPUTAPID
15 set _CPUTAPID 0x4ba00477
18 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
20 set _TARGETNAME $_CHIPNAME.cpu
21 target create $_TARGETNAME cortex_m3 -endian little -chain-position $_TARGETNAME
23 set _FLASHNAME $_CHIPNAME.flash
24 flash bank flash0 at91sam3 0x00400000 0 0 0 $_TARGETNAME