S32DS download code block at 99%

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32DS download code block at 99%

跳至解决方案
2,849 次查看
asd0460231
Contributor II

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:

 debug1.PNGdebug2.PNG

0 项奖励
回复
1 解答
2,723 次查看
asd0460231
Contributor II

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

在原帖中查看解决方案

0 项奖励
回复
9 回复数
2,724 次查看
asd0460231
Contributor II

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

0 项奖励
回复
2,821 次查看
asd0460231
Contributor II

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。

0 项奖励
回复
2,811 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
2,762 次查看
asd0460231
Contributor II

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?

 

Capture.PNG

0 项奖励
回复
2,742 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
2,730 次查看
asd0460231
Contributor II

Do you have documentation on unlocking the MCU with Multilink?

标记 (1)
0 项奖励
回复
2,825 次查看
asd0460231
Contributor II

I have solved this problem with reference to this url(https://community.nxp.com/t5/S32K/Unbricking-S32K146/m-p/937227) solution.

0 项奖励
回复
2,825 次查看
asd0460231
Contributor II

when connected to USB, just two LED(D3,D2) is yellow, when I use PE microcontroller, LED(D3,D2) does not light up.

0 项奖励
回复
2,842 次查看
asd0460231
Contributor II

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.

0 项奖励
回复