I have run example project csec_keyconfig_s32k148 on S32K148 EVB and then I cannot connect to EVB again via both OpenSDA and PE Micro Multilink Universal FX. What can be the problem? There is no changing on HW. I wil also share project web page below. According to web page I have tried to run csec_keyconfig example with ERASE_ALL_KEYS 1, using PEmicro Flash debug configuration. However there is no changing. By the way, I can attach to the board with csec_keyconfig_s32k148 project Ram debug configuration; but I cannot anything or load any different project. Please help me about this issue. My board was dead.
http://www.s32k.com/S32K1SDK3_0/html_S32K144/csec_keyconfig_s32k144_group.html
Hi,
Facing same Issue and not able to figure out what to do in this regard. Please do let me know if you find any solution.
Hello,
I haven't solved this issue yet. I have noticed that I have run csec_keyconfig_s32k148 on S32K148 EVB but I have never run csec_boot_protection_s32k148. Could the problem be related to this?
I just want to reset my board and re-use again. Is there any reset procedure about S32K148 EVB.
Best regards.
Hello @hkaracali,
This is not related to the boot protection.
As we discussed this issue via a ticket, the MCU appears to be secure.
And since the Mass erase feature is blocked by the enabled CSEc engine, it cannot be mass erased and unlocked.
This needs to be take into consideration whenever the CSEc engine is enabled.
Please refer to AN12130 Production Flash Programming Best Practices for S32K1xx MCUs
https://www.nxp.com/docs/en/application-note/AN12130.pdf
3.2.5.2 Mass erase and CSEc considerations
Regards,
Daniel
Hi Dear @danielmartynek ,
I have similar issue with my IMXRT1064 EVK board. Could you help me please ? Here is my question:
Thanks and Regards.
Hello @hkaracali,
Which IDE and SDK versions do you use?
Does the IDE gives any error message?
Regards,
Daniel
I use S32 Design Studio for S32 Platform 3.4 and S32SDK_S32K1XX_RTM_4.0.2.
When I try to debug from IDE error is shown like above. Debugger gives error like "Error in services launch sequence PEmicro GDB Launch Failure : The GDB Server was not able to establish a connection to the target processor. Please check your connections and power. Verify that the launch settings in the Debug Configuration are accurate." That's all.
Regards.