Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flash verify_bank bank_id filename offset catch #34

Open
nbritton opened this issue Apr 30, 2020 · 0 comments
Open

flash verify_bank bank_id filename offset catch #34

nbritton opened this issue Apr 30, 2020 · 0 comments

Comments

@nbritton
Copy link

root@ubuntu:~/airbreak/tcl# telnet localhost 4444
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger

dump
Dumping stm32.bin, 0x100000 bytes at 0x08000000...
dumped 1048576 bytes in 3.943746s (259.652 KiB/s)
Done.
flash_new stm32-unlocked.bin
adapter speed: 2002 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800021c msp: 0x2000f000
Tickling watchdog...
device id = 0x10076413
flash size = 1024kbytes
stm32f2x write options complete.
INFO: a reset or power cycle is required for the new settings to take effect.
Resetting device...
adapter speed: 2002 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800021c msp: 0x2000f000
Overwriting flash memory...
auto erase enabled
device id = 0x10076413
flash size = 1024kbytes
wrote 1048576 bytes from file stm32-unlocked.bin in 24.636749s (41.564 KiB/s)
Verifying that flash was written properly...
flash verify_bank bank_id filename offset
./tcl/airsense.cfg:42: Error:
at file "./tcl/airsense.cfg", line 42

catch is at line 42 in my file:

proc check_image {path} {
if [catch {find $path}] {
echo "File $path not found!"
return 1
}
return 0
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant