I'm encountering errors in debugging. Here are the screenshots.
I'm using mk66fn2m0vlq18 and it seems like it doesn't show the port Id in debugger even the board is already connected. And when I started debugging, then the first screenshot prompts.
Does anyone know this issue?
The problem is indeed that it does not show the port. Are you sure your board has the P&E OpenSDA firmware loaded? Try the 'Refresh' button in the launch configuration dialog. Can you check if the board properly enumerates (if it has the P&E firmware loaded, then it should show up in your system with a virtual COM/tty port too).
Last but not least: have you connected the board on the OpenSDA USB port?
I hope this helps,
Erich
Hi,
Please check if there is another GDB already running? Please refer article from Erich
https://mcuoneclipse.com/2015/05/18/gdb-client-and-server-unlocking-gdb/
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
GDB is not running on this case.
Hi,
- What's your IDE? Do you use KDS? This is how KDS debug setting with P&E OpenSDA interface from my side
- Besides, I suggest you check the basic connection: create a NEW project under a NEW workspace. See how it works.
- To verify it the problem is related with firmware, test the board connection with another computer.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------