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.
 
 
 
 
 
 

26 lines
772 B

  1. # Hitex stm32 performance stick
  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 4 0x1 0xf 0xe
  9. jtag_device 5 0x1 0x1 0x1e
  10. jtag_device 4 0x1 0xf 0xe
  11. #target <type> <startup mode>
  12. #target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
  13. target cortex_m3 little reset_halt 0
  14. run_and_halt_time 0 30
  15. working_area 0 0x20000000 16384 nobackup
  16. #flash bank str7x <base> <size> 0 0 <target#> <variant>
  17. flash bank stm32x 0 0 0 0 0
  18. # For more information about the configuration files, take a look at:
  19. # http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger