mirror of
https://github.com/pvvx/rtl00TstMinAmebaV35a.git
synced 2024-11-21 17:24:16 +00:00
script init
This commit is contained in:
parent
564359a53b
commit
ee4c0adaa1
1 changed files with 22 additions and 0 deletions
22
flasher/gdb_init.jlink
Normal file
22
flasher/gdb_init.jlink
Normal 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
|
Loading…
Reference in a new issue