S32DS download code block at 99%

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32DS download code block at 99%

ソリューションへジャンプ
2,991件の閲覧回数
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,865件の閲覧回数
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,866件の閲覧回数
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,963件の閲覧回数
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,953件の閲覧回数
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,904件の閲覧回数
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,884件の閲覧回数
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,872件の閲覧回数
asd0460231
Contributor II

Do you have documentation on unlocking the MCU with Multilink?

タグ(1)
0 件の賞賛
返信
2,967件の閲覧回数
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,967件の閲覧回数
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,984件の閲覧回数
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 件の賞賛
返信