mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 01:55:38 +08:00
ba06a4b694
(should be done now, sorry)
24 lines
731 B
INI
24 lines
731 B
INI
#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 <signals> [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
|