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.
 
 
 
 
 
 

30 lines
771 B

  1. # Hitex stm32 performance stick
  2. # set jtag speed
  3. jtag_khz 500
  4. jtag_nsrst_delay 100
  5. jtag_ntrst_delay 100
  6. #use combined on interfaces or targets that can't set TRST/SRST separately
  7. reset_config trst_and_srst
  8. #jtag scan chain
  9. #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
  10. jtag_device 4 0x1 0xf 0xe
  11. jtag_device 5 0x1 0x1 0x1e
  12. jtag_device 4 0x1 0xf 0xe
  13. #target <type> <startup mode>
  14. #target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
  15. target cortex_m3 little 0
  16. working_area 0 0x20000000 16384 nobackup
  17. #flash bank str7x <base> <size> 0 0 <target#> <variant>
  18. flash bank stm32x 0 0 0 0 0
  19. # For more information about the configuration files, take a look at:
  20. # http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger