mirror of
https://github.com/pvvx/rtl00TstMinAmebaV35a.git
synced 2024-12-25 15:45:21 +00:00
add
This commit is contained in:
parent
5a51474104
commit
1e5cb9bab0
4 changed files with 22 additions and 0 deletions
3
JLink-RunRAM.bat
Normal file
3
JLink-RunRAM.bat
Normal file
|
@ -0,0 +1,3 @@
|
|||
@echo off
|
||||
PATH=D:\MCU\SEGGER\JLink_V610a;%PATH%
|
||||
start JLink.exe -Device CORTEX-M3 -If SWD -Speed 4000 flasher\RTL_RunRAM.JLinkScript
|
6
JLinkGDB-WrFlash.bat
Normal file
6
JLinkGDB-WrFlash.bat
Normal file
|
@ -0,0 +1,6 @@
|
|||
@echo off
|
||||
PATH=D:\MCU\GNU_Tools_ARM_Embedded\5.2_2015q4\bin;D:\MCU\SEGGER\JLink_V610a;%PATH%
|
||||
start JLinkGDBServer.exe -device Cortex-M3 -if SWD -ir -endian little -speed 1000
|
||||
arm-none-eabi-gdb.exe -x flasher/gdb_wrflash.jlink
|
||||
taskkill /F /IM JLinkGDBServer.exe
|
||||
|
5
flasher/RTL_Reset.JLinkScript
Normal file
5
flasher/RTL_Reset.JLinkScript
Normal file
|
@ -0,0 +1,5 @@
|
|||
h
|
||||
r
|
||||
w4 0x40000210,0x00211157
|
||||
g
|
||||
q
|
8
flasher/RTL_RunRAM.JLinkScript
Normal file
8
flasher/RTL_RunRAM.JLinkScript
Normal file
|
@ -0,0 +1,8 @@
|
|||
h
|
||||
r
|
||||
loadbin build/bin/ram_1.r.bin 0x10000bc8
|
||||
loadbin build/bin/ram_2.bin 0x10006000
|
||||
r
|
||||
w4 0x40000210,0x20200113
|
||||
g
|
||||
q
|
Loading…
Reference in a new issue