X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/709a8d3ff0f7991425dd2600f057acbd8019616a..57e1e31dce70a58da1736b9579a869c1df313a13:/tools/at91sam7s256-jtagkey.cfg diff --git a/tools/at91sam7s256-jtagkey.cfg b/tools/at91sam7s256-jtagkey.cfg index 87d38c03..2c32b795 100644 --- a/tools/at91sam7s256-jtagkey.cfg +++ b/tools/at91sam7s256-jtagkey.cfg @@ -1,24 +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 30 -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 0 0 0 0 0 +#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