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.
 
 
 
 
 
 

36 lines
749 B

  1. #STR730 CPU
  2. jtag_khz 3000
  3. proc target_0_pre_reset {} {
  4. jtag_khz 10
  5. }
  6. proc target_0_post_reset {} {
  7. jtag_khz 3000
  8. }
  9. #use combined on interfaces or targets that can’t set TRST/SRST separately
  10. #reset_config trst_and_srst srst_pulls_trst
  11. reset_config trst_and_srst srst_pulls_trst
  12. #jtag scan chain
  13. #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
  14. jtag_device 4 0x1 0xf 0xe
  15. #jtag nTRST and nSRST delay
  16. jtag_nsrst_delay 500
  17. jtag_ntrst_delay 500
  18. target arm7tdmi little 0 arm7tdmi
  19. run_and_halt_time 0 30
  20. target_script 0 gdb_program_config event/str730_program.script
  21. working_area 0 0x40000000 0x4000 nobackup
  22. #flash bank <driver> <base> <size> <chip_width> <bus_width>
  23. flash bank str7x 0x20000000 0x00040000 0 0 0 STR3x