This commit is contained in:
pvvx 2016-09-23 12:57:10 +03:00
parent a7a75d120b
commit b0e49f773c
4 changed files with 16 additions and 7 deletions

View file

@ -2,16 +2,24 @@
# J-LINK GDB SERVER initialization
#
target remote localhost:2331
set remotetimeout 10000
monitor device Cortex-M3
monitor speed 3500
monitor endian little
monitor reset
monitor speed 20000
# 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 8192
#set remote memory-write-packet-size fixed
# Boot Flash
#monitor long 0x40000210 = 0x211157
# Boot RAM
monitor long 0x40000210 = 0x8011157
# CPU CLK 166 MHz?
# monitor long 0x40000014 = 0x00000011
# CPU CLK 83 MHz?
#monitor long 0x40000014 = 0x00000021
# Load the program executable called "image.elf"
load build/obj/build.axf
#continue