mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2025-07-31 12:41:06 +00:00
update
This commit is contained in:
parent
8f1ce60a14
commit
38dc83bcb8
55 changed files with 2059 additions and 80 deletions
17
RTL00_SDKV35a/flasher/gdb_rdflash.jlink
Normal file
17
RTL00_SDKV35a/flasher/gdb_rdflash.jlink
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# GDB Jlink read fullflash
|
||||
# Init
|
||||
source -v flasher/gdb_flasher.jlink
|
||||
InitJlink
|
||||
SystemInit
|
||||
SPI_Init
|
||||
monitor speed 12000
|
||||
#FlashInfo
|
||||
# Read FullFlash
|
||||
printf "Read FullFlash:\n"
|
||||
set $dumpstartaddr = $SPI_FLASH_BASE
|
||||
set $dumpendaddr = $SPI_FLASH_BASE + 0x100000
|
||||
printf "Start addr of dumping = 0x%08x\n", $dumpstartaddr
|
||||
printf "End addr of dumping = 0x%08x\n", $dumpendaddr
|
||||
dump binary memory ../fullflash.bin $dumpstartaddr $dumpendaddr
|
||||
printf "FullFlash saved in ./build/bin/fullflash.bin - OK.\n"
|
||||
quit
|
||||
Loading…
Add table
Add a link
Reference in a new issue