S32DS download code block at 99%

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32DS download code block at 99%

Jump to solution
1,716 Views
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 Kudos
Reply
1 Solution
1,590 Views
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

View solution in original post

0 Kudos
Reply
9 Replies
1,591 Views
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 Kudos
Reply
1,688 Views
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 Kudos
Reply
1,678 Views
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 Kudos
Reply
1,629 Views
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 Kudos
Reply
1,609 Views
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 Kudos
Reply
1,597 Views
asd0460231
Contributor II

Do you have documentation on unlocking the MCU with Multilink?

Tags (1)
0 Kudos
Reply
1,692 Views
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 Kudos
Reply
1,692 Views
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 Kudos
Reply
1,709 Views
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 Kudos
Reply