Hello
when I use openSDA download code, the progress bar stays at 99%,
I use S32K118 EVB board, Download using openSDA on board. S32DS version is S32 Design Studio for ARM Version: 2018.R1.The downloaded log is as follows:
Solved! Go to Solution.
use Multilink to unlock S32K1XX, need to tick option “Emergency Kinetis Device Recovery by Full Chip Erase”, then flash elf file, will unlock.
use j-link to unlock S32K1XX, need to this command "unlock Kinetis", then unlock S32K1XX
use Multilink to unlock S32K1XX, need to tick option “Emergency Kinetis Device Recovery by Full Chip Erase”, then flash elf file, will unlock.
use j-link to unlock S32K1XX, need to this command "unlock Kinetis", then unlock S32K1XX
according to the site, I use the j-link to unblock MCU, when I unlock the MCU, I can debug and download code, but The program runs out of order, and I also couldn't use PE multilink to debug and download. I don't know why。
Hi Weilong,
it's not very clear to me what happened. Did you try to check if new code is really programmed in the MCU? Isn't there still the old one?
Do you have more boards or can you see it only on this one?
Regards,
Lukas
According to your opinion, I am going to rewrite the code again, but I found that the J-Link cannot be linked. In connect log, I found that the MCU is in a protected state, so I tried to unlock it with the J-Link command, and found that the version does not support the S32K118 series? Or is there something wrong with my command?
I'm sorry, I'm not very familiar with J-Link. It would be better to contact Segger directly for help:
https://www.segger.com/support/technical-support/
Regards,
Lukas
I have solved this problem with reference to this url(https://community.nxp.com/t5/S32K/Unbricking-S32K146/m-p/937227) solution.
when connected to USB, just two LED(D3,D2) is yellow, when I use PE microcontroller, LED(D3,D2) does not light up.
Before I operate the port PTE2/5/11, the download operation is normal. After the three ports are set to output high level, the debug debugging is not normal. Download again and the above happens.