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.
 
 
 
 
 
 

20 lines
682 B

  1. #Hitex STR9 Comstick
  2. jtag_nsrst_delay 100
  3. jtag_ntrst_delay 100
  4. #use combined on interfaces or targets that can’t set TRST/SRST separately
  5. reset_config trst_and_srst
  6. #jtag scan chain
  7. #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
  8. jtag_device 8 0x1 0x1 0xfe
  9. jtag_device 4 0x1 0xf 0xe
  10. jtag_device 5 0x1 0x1 0x1e
  11. #target configuration
  12. daemon_startup reset
  13. #target <type> <startup mode>
  14. #target arm966e <endianness> <reset mode> <chainpos> <variant>
  15. target arm966e little reset_halt 1 arm966e
  16. run_and_halt_time 0 30
  17. working_area 0 0x50000000 16384 nobackup
  18. #flash bank <driver> <base> <size> <chip_width> <bus_width>
  19. flash bank str9x 0x00000000 0x00080000 0 0 0