Hello. Now I am using s32k146EBV.
The board can work normally before call API FLASH_DRV_EraseBlock(&flashSSDConfig, 16);, and debugging can't work here after call this API。 the status is as following
The following error occurred during development. (D1 Led is On)
wish you help
thankyou
Hi kui,
"Emergency Kinetis Device Recovery by Full Chip Erase" in S32DS debug configuration window may helps.
If still not work, then please try to use the P&E recovery utility mentioned in Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power . This tool is able to keep the board halted modem then you can use S32DS program or debug it.
It is also recommended to read a good application note: AN12130, Production Flash Programming Best Practices for S32K1xx MCUs
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Please try this web address:
mcuoneclipse.com/2013/06/16/bricking-and-recovering-frdm-kl25z-boards-reset-swd-clock-and-low-power
Hello Robin,
Today I found a problem ablout S32K146 device security.
if the WRITE_PROTECTION flag has been set, then Key can't be erased, CSEc keys saved in EEPROM backup area, then Erase all Blocks command can't be executed.
so how to remove security to unsecurity except backdoor key method?
and at the same time, debugger can't remove the security to unsecurity?
wish your help!
Hi kui,
Please refer: S32K1xx系列MCU使用Tips--Flash加密后不断复位无法连接调试器的问题解决
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
"J14 SWD connector" can be used to connect J-LINK debugger.