Changes

Jump to navigation Jump to search
10 bytes removed ,  Yesterday at 14:09
no edit summary
===Unlocking SWD===
<codesyntaxhighlight lang="bash">
openocd -s $(pwd) -f interface/stlink-dap.cfg -f target/stm32f0x.cfg
</code>
 
<code>
telnet localhost 4444
</code>
 
<code>
reset init
</code>
 
<code>
stm32f0x unlock 0
</code>
 
<code>
flash erase_address unlock 0x08000000 0x10000
</codesyntaxhighlight>
::Power cycle & reconnect st-link
<codesyntaxhighlight lang="bash">
flash write_image /path/to/dumped_firmware.bin 0x08000000
</code>
 
<code>
reset
</codesyntaxhighlight>
===Dumping Running RAM===
<codesyntaxhighlight lang="bash">
halt
</code>
 
<code>
dump_image /path/to/save/tracer6420an_running_ram.bin 0x20000000 0x2000
</code>
 
<code>
resume
</codesyntaxhighlight>
=== Protocol Documentation ===

Navigation menu