]>
Commit | Line | Data |
---|---|---|
1 | #define our ports\r | |
2 | telnet_port 4444\r | |
3 | gdb_port 3333\r | |
4 | \r | |
5 | #commands specific to the Amontec JTAGKey\r | |
6 | interface ft2232\r | |
7 | ft2232_device_desc "Amontec JTAGkey A"\r | |
8 | ft2232_layout jtagkey\r | |
9 | ft2232_vid_pid 0x0403 0xcff8\r | |
10 | jtag_speed 30\r | |
11 | jtag_nsrst_delay 200\r | |
12 | jtag_ntrst_delay 200\r | |
13 | \r | |
14 | #reset_config <signals> [combination] [trst_type] [srst_type]\r | |
15 | reset_config srst_only srst_pulls_trst\r | |
16 | \r | |
17 | jtag newtap sam7x256 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3f0f0f0f\r | |
18 | \r | |
19 | target create sam7x256.cpu arm7tdmi -endian little -chain-position sam7x256.cpu -variant arm7tdmi\r | |
20 | \r | |
21 | gdb_memory_map enable\r | |
22 | \r | |
23 | sam7x256.cpu configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x10000 -work-area-backup 0\r | |
24 | flash bank at91sam7 0 0 0 0 0\r |