X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e3dfa4277219c1cb72b906860faf537336bf866c..2a99a730556a54222ac653e803316a7839c7cb58:/tools/at91sam7s256-jtagkey.cfg diff --git a/tools/at91sam7s256-jtagkey.cfg b/tools/at91sam7s256-jtagkey.cfg index 6798d99e..2c32b795 100644 --- a/tools/at91sam7s256-jtagkey.cfg +++ b/tools/at91sam7s256-jtagkey.cfg @@ -1,27 +1,24 @@ -#define our ports -telnet_port 4444 -gdb_port 3333 - -#commands specific to the Amontec JTAGKey -interface ft2232 -ft2232_device_desc "Amontec JTAGkey A" -ft2232_layout jtagkey -ft2232_vid_pid 0x0403 0xcff8 -jtag_speed 2 -jtag_nsrst_delay 200 -jtag_ntrst_delay 200 - -#reset_config [combination] [trst_type] [srst_type] -reset_config srst_only srst_pulls_trst - -#jtag_device -jtag_device 4 0x1 0xf 0xe - -#daemon_startup <'attach'|'reset'> -daemon_startup reset - -#target [variant] -target arm7tdmi little run_and_halt 0 arm7tdmi - -#run_and_halt_time -run_and_halt_time 0 30 +#define our ports +telnet_port 4444 +gdb_port 3333 + +#commands specific to the Amontec JTAGKey +interface ft2232 +ft2232_device_desc "Amontec JTAGkey A" +ft2232_layout jtagkey +ft2232_vid_pid 0x0403 0xcff8 +jtag_khz 200 +jtag_nsrst_delay 200 +jtag_ntrst_delay 200 + +#reset_config [combination] [trst_type] [srst_type] +reset_config srst_only srst_pulls_trst + +jtag newtap sam7x256 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3f0f0f0f + +target create sam7x256.cpu arm7tdmi -endian little -chain-position sam7x256.cpu -variant arm7tdmi + +gdb_memory_map enable + +sam7x256.cpu configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x10000 -work-area-backup 0 +flash bank at91sam7 0x100000 0x40000 0 4 sam7x256.cpu