Closed Hoohaha closed 4 years ago
Thanks @Hoohaha for the detailed bug report.
@flit Another exception FlashFailure: init error: 536870913
, what does that mean?
seems add under-reset it can improve the stability for kinetis.
Fyi, I'm able to reproduce the flash failure. It's failing when trying to init the flash algo in "verify" mode.
Tried with the K22FN512VDC12 CMSIS-Pack and got a similar failure but different error code.
The built-in flash algo reports error 0x20000001 (536870913). The pack flash algo reports error 0x1fff0201 (536805889).
Neither of these make sense to me…
@Hoohaha I ended up just working around the verify init failures. If it gets an exception during a verify init, it will retry to init in erase mode. That works at least in the case here.
Thanks flit!
tested boards
description
pyocd erase -c -u 0231000026294e450024000e58a900543ee1000097969900
to perform a chip erase.used gdb commands
note Verfied above steps works very well on version 0.14
pyocd gdbserver