Quantum Leaps e0f9c36c2f 4.5.01
2012-08-14 18:00:48 -04:00

37 lines
680 B
Plaintext

#*************************************************
#
# Connect to J-Link and debug application in flash on Cortex-M3
#
# Download to flash is performed.
# Connect to the J-Link gdb server
target remote localhost:2331
monitor speed 1000
monitor flash device = STM32F107VC
monitor flash download = 1
# Set gdb server to little endian
monitor endian little
# Set JTAG speed to 30 kHz
monitor speed 30
# Reset the chip to get to a known state.
monitor reset
monitor sleep 10
# Set JTAG speed in khz
monitor speed 12000
load
monitor sleep 100
# Reset the chip to get to a known state.
monitor reset
monitor sleep 10
break main
continue