script init

This commit is contained in:
pvvx 2016-09-23 12:55:05 +03:00
parent 564359a53b
commit ee4c0adaa1

22
flasher/gdb_init.jlink Normal file
View file

@ -0,0 +1,22 @@
#
# J-LINK GDB SERVER initialization
#
target remote localhost:2331
set remotetimeout 10000
monitor device Cortex-M3
monitor endian little
monitor reset
# Set max speed
monitor speed 4000
set mem inaccessible-by-default off
# Setup GDB FOR FASTER DOWNLOADS
#set remote memory-write-packet-size 4096
#set remote memory-write-packet-size fixed
# Boot RAM
#monitor long 0x40000210 = 0x8011157
# Boot Flash
#monitor long 0x40000210 = 0x211157
# CPU CLK 166 MHz?
# monitor long 0x40000014 = 0x00000011
# CPU CLK 83 MHz?
#monitor long 0x40000014 = 0x00000021