Runtime error 216 at...

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

Runtime error 216 at...

5,019 Views
Bela
Contributor II

Hello,

Hello, I am encountering trouble with a demo board TWR-KV58220M.

I use this board to develop an electronic evaluation board for a customer but when I try to debug it, it does not work.

I already used the µC (KV58) for an other application with the same evaluation board and it worked well.

I recently upgrade my MCUXpresso to the last version (11.5.0) and I use the PE micro multilink FX Rev A debugger with (I hope the last version of software, which I have apply an upgrade).

The trouble is as follow :

I created a project with a basic configuration (juste to verify if it works)

I generated the code to init the pins and clocks...

I created a debug configuration with my PE micro tool and when I try to debug, the process runs until 100% but before it finished, the following message appear :

Bela_0-1645017901382.png

I checked the debugger console and here are the errors I got :

Bela_1-1645018011836.png

I have already searched solutions on the forum but nothing I found works for me.

has anyone encountered this issue to help me to fix it, please ?

Thanks in advance.

Labels (1)
Tags (1)
0 Kudos
Reply
4 Replies

5,000 Views
Bela
Contributor II

Thanks Robin,

I tried doing this upgrade but no changes...

I think that is my demo board which is dead because I try on another demo board (frdm-K64F) and it works.

I am going to try to debug with another computer to verify if it is not my computer that is the problem.

Best regards

0 Kudos
Reply

4,991 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Bela,

Have you tried to recover the on-board debugger of TWR-KV58F220M? Please refer the answer in: TWR-KV58F220M

https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KV58F220M/m-p/930769

Best Regards,
Robin

0 Kudos
Reply

5,010 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Bela,

Have you tried to update the GNU ARM PEMicro Interface Debugging Support?(Help->Check for Updates )

GNU ARM PEMicro Interface Debugging Support.png

If still not able to debug, maybe you can submit a question to PEMicro. This error has been discussed in PEMicro forum once: MCUXpresso error 216 problem

By the way, the onboard debugger is able to debug it. You can refer: TWR-KV58F220M

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

3,460 Views
JennyC
Contributor I

Hi Robin,

I run into the same problem:
I have a Multilink Universal FX rev C connected to MIMXRT1064-EVK and
MCUXpresso IDE v11.8.1_1197 on Windows 10 64-bit.
When I try to debug, I received "connection closed by the GDB server" from
MCUXpresso. And a pop up window "Runtime error 216 at 796CAB1E".
The strange thing is when MCUXpresso was first installed on this computer, it
was working ok. Then I did "http://www.pemicro.com/eclipse/updates";. Then came the Runtime error 216.
So I uninstalled the MCUXpresso with the update, and installed the a fresh
MCUXpresso, but the Runtime error 216 wouldn't go away.
Could you please help me?
Thanks.

0 Kudos
Reply