PVT application: target error from status-poll

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

PVT application: target error from status-poll

Jump to solution
311 Views
sukhwan
Contributor III

I have a popup window saying error using evk-mimxrt595 on Ubuntu  "target error from status-poll". I was following Application Software Pack: DVS Using PVT on i.MX RT500 in evkmimxrt595_dvs_pvt_sensor_lab_guide.pdf
in step 10 of 5.2 Building, Flashing, and Running, when starting the application by pressing 'Enter' key, following window popped up while application keeps running showing output on terminal. Is there a way to resolve the error so that debugger can be used?

16: Target error from status-poll
Bad ACK returned from status - wire error.
Debugging context: evkmimxrt595_appswpacks_dvs_pvt_sensor LinkServer Debug

Thanks.

Labels (1)
0 Kudos
Reply
1 Solution
204 Views
sukhwan
Contributor III

Finally it has been resolved by doing the steps that you described. I just want to share what I did because the steps didn't have detailed information for a novice in nxp tools.

1. download and install MCUXPRESSO-SECURE-PROVISIONING tool.

On ubuntu, I had some dependency error for installation. I've got helped with "sudo apt update" and "sudo apt upgrade"

https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools...

2. Connect the board evkmimxrt595 in serial download mode

   2-1) Set the SW7 to Serial Downloader. All three switches of 1, 2, 3 get pushed on. (Default was 1 and 2 off , 3 on)
   2-2) Power on the board,

3. Launch the SPT tools above.

     - selected board and interface as MIMXRT595S via UART

     - Build image : sample_data/targets/MIMXRT595S/source_images/evkmimxrt595_led_blinky_int_ram.s19

     - Write image : I checked a checkbox for Use built image so that built image was chosen automatically.   (Anything else I left as it was.)


4. Once the Write image step completed by pressing Write image button,  power off and recover the SW7 to the previous set, then power on again.
5. Give a debug again. I am able to debug step by step such as step into, step over, etc.

View solution in original post

5 Replies
275 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @sukhwan ,

Thanks for your interest in NXP MIMXRT series!

Can you try the following solution for me first? Please note that you have to use the serial download mode corresponding to RT595-EVK:https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/16-Target-error-from-status-poll/td-p/1374505

If you still have problems after that, you'll need to try erasing all the flash with MCUXpressoIDE GUI Flash Tool or using the MCUBootUtility/SPT utility to erase the flash while in serial download mode.

Best regards,
Gavin

0 Kudos
Reply
249 Views
sukhwan
Contributor III

I can't follow the solution that you gave at  https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/16-Target-error-from-status-poll/td-p/1374505 because the description is too simple. I have  some questions from the solution that you gave at

The solution shows following steps. This seems for evkbimxrt1050.
Q1. Does this solution also work for evkmimxrt595 board? 

Q2. what is the demo project? can you elaborate step 2) what the demo project is? what is the demo project for in this solution?

1) Set the SW7 to Serial Downloader.
2) Power on the board, debug the demo project.
3) After that, power off and recover the SW7 to the previous set, then power on again.
4) Give a debug again.

 

Thanks.

Sean,

0 Kudos
Reply
236 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi Sean,

Although the RT1050EVK is used in this guide, it is similar for the RT595EVK.

First, put the RT595EVK into serial download mode via a switch on the board, then, using any of the simple example projects in the SDK (hello_world or led), reprogram the board in serial download mode using the MCUBootUtility or SPT tool.

MCUBootUtility and SPT both have tools to erase flash, even without programming image in serial download mode, it should be possible to try to erase flash completely.

After that, go back to the normal internal boot mode and the board will be able to work fine.

Best regards,
Gavin

 

0 Kudos
Reply
205 Views
sukhwan
Contributor III

Finally it has been resolved by doing the steps that you described. I just want to share what I did because the steps didn't have detailed information for a novice in nxp tools.

1. download and install MCUXPRESSO-SECURE-PROVISIONING tool.

On ubuntu, I had some dependency error for installation. I've got helped with "sudo apt update" and "sudo apt upgrade"

https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools...

2. Connect the board evkmimxrt595 in serial download mode

   2-1) Set the SW7 to Serial Downloader. All three switches of 1, 2, 3 get pushed on. (Default was 1 and 2 off , 3 on)
   2-2) Power on the board,

3. Launch the SPT tools above.

     - selected board and interface as MIMXRT595S via UART

     - Build image : sample_data/targets/MIMXRT595S/source_images/evkmimxrt595_led_blinky_int_ram.s19

     - Write image : I checked a checkbox for Use built image so that built image was chosen automatically.   (Anything else I left as it was.)


4. Once the Write image step completed by pressing Write image button,  power off and recover the SW7 to the previous set, then power on again.
5. Give a debug again. I am able to debug step by step such as step into, step over, etc.

197 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @sukhwan ,

That is great to hear that your issue has been solved!

Thanks a lot for your sharing! It is helpful!

Best regards,
Gavin

0 Kudos
Reply