From ee4c0adaa14a56c9342d4f917a2866f0060a1486 Mon Sep 17 00:00:00 2001 From: pvvx Date: Fri, 23 Sep 2016 12:55:05 +0300 Subject: [PATCH] script init --- flasher/gdb_init.jlink | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 flasher/gdb_init.jlink diff --git a/flasher/gdb_init.jlink b/flasher/gdb_init.jlink new file mode 100644 index 0000000..b58d2a0 --- /dev/null +++ b/flasher/gdb_init.jlink @@ -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