This commit is contained in:
pvvx 2017-01-31 15:50:34 +03:00
parent 533271841a
commit e98a546513
5 changed files with 18 additions and 4 deletions

View file

@ -87,3 +87,13 @@ proc restart_from_falsh {} {
boot_from_flash
cortex_reboot
}
proc load_ram_binary { local_filename address } {
# set address 0x10000BC8
init
reset halt
set size [file size $local_filename]
load_image $local_filename $address bin $address $size
boot_from_ram
resume
}