mirror of
https://github.com/pvvx/rtl00TstMinAmebaV35a.git
synced 2024-12-25 15:45:21 +00:00
read fullflash
This commit is contained in:
parent
b0e49f773c
commit
bd27e45421
2 changed files with 20 additions and 0 deletions
3
JLink-RdFullFlash.bat
Normal file
3
JLink-RdFullFlash.bat
Normal file
|
@ -0,0 +1,3 @@
|
|||
@echo off
|
||||
PATH=D:\MCU\SEGGER\JLink_V610a;%PATH%
|
||||
JLink.exe -Device CORTEX-M3 -If SWD -Speed 4000 flasher/RTL_FFlash.JLinkScript
|
17
flasher/RTL_FFlash.JLinkScript
Normal file
17
flasher/RTL_FFlash.JLinkScript
Normal file
|
@ -0,0 +1,17 @@
|
|||
h
|
||||
r
|
||||
w4 0x40000230,0x0000D3C4
|
||||
w4 0x40000210,0x00200113
|
||||
w4 0x400002C0,0x00110001
|
||||
w4 0x40006008,0
|
||||
w4 0x4000602C,0
|
||||
w4 0x40006010,1
|
||||
w4 0x40006014,2
|
||||
w4 0x40006018,0
|
||||
w4 0x4000601C,0
|
||||
w4 0x4000604C,0
|
||||
savebin fullflash.bin 0x98000000 0x100000
|
||||
w4 0x40000210,0x211157
|
||||
r
|
||||
g
|
||||
q
|
Loading…
Reference in a new issue