mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
re-introduce PDDB structure nuking on SoC reset
This commit is contained in:
parent
b52b73ddfa
commit
526a7374b0
1 changed files with 4 additions and 0 deletions
|
|
@ -572,6 +572,10 @@ def main():
|
||||||
with open(args.soc, "rb") as f:
|
with open(args.soc, "rb") as f:
|
||||||
image = f.read()
|
image = f.read()
|
||||||
pc_usb.flash_program(locs['LOC_SOC'][0], image, verify=verify)
|
pc_usb.flash_program(locs['LOC_SOC'][0], image, verify=verify)
|
||||||
|
|
||||||
|
print("Erasing PDDB root structures")
|
||||||
|
pc_usb.erase_region(locs['LOC_PDDB'][0], 1024 * 1024)
|
||||||
|
|
||||||
print("Resuming CPU.")
|
print("Resuming CPU.")
|
||||||
pc_usb.poke(vexdbg_addr, 0x02000000)
|
pc_usb.poke(vexdbg_addr, 0x02000000)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue