You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
455 B

  1. set _CHIPNAME avr32
  2. set _ENDIAN big
  3. set _CPUTAPID 0x21e8203f
  4. adapter_nsrst_delay 100
  5. jtag_ntrst_delay 100
  6. reset_config trst_and_srst separate
  7. # jtag scan chain
  8. # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
  9. jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_CPUTAPID
  10. set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
  11. target create $_TARGETNAME avr32_ap7k -endian $_ENDIAN -chain-position $_TARGETNAME