Hello, I started working on the frdm-kv31f board with a MKV31F512VLL12 uC on it. I recently started getting the "PEmicro GDB Launch Failure" error while debugging. The debugging stops at 61% and throws in this error. Please help with the same. I have attached all debugging information and the errors thrown in a document.
Thank You,
Apurv.
Dear Apurv,
There is the possibility that your board might be bricked, this happens when an old OpenSDA it’s not supported by your current OS version.
There are a couple of things you could try to unbrick your board:
You could try updating the OpenSDA Bootloader of your board using a windows 7 device, if you do not have access to one you may also try using an external debugger or as a last resource you may try another board to solve the problem.
Please do check the following links, they will share some light in any doubts you may have about either process.
https://mcuoneclipse.com/2016/06/26/how-to-recover-the-opensda-v2-x-bootloader/
https://mcuoneclipse.com/2016/08/01/bricking_and_recovering_opensda_boards_in_windows_8_and_10/
We can also provide you with a post created by fellow coworkers documenting this particular error and some solutions they were able to find.
https://community.nxp.com/docs/DOC-330935
Kind regards, Andrea.
Hey Andrea,
I am thankful for all the solutions you provided. Apparently the problem kept arising as the swd pin wasn't soldered properly on the manufactured board. I soldered it back properly and the board works just fine. thank you for all your time.
Regards,
Apurv.
Greetings Apurv,
Here are a few things you can check that might help you solve the error:
In order to install it:
C. Finally, make sure you are not currently running a different debugging session.
Kind regards, Andrea.
Hey Andrea,
I tried out updating the plugins as well as the OpenSDA firmware but unfortunately it throws in the same error while debugging.
Do you know of some other reason that might be causing this error. Thank you for your time.
Regards, Apurv.
Hey Andrea,
I tried out the solution you suggested but unfortunately it still throws in
the same error.
Is there some other reason you think that might be causing this? Thank you.
Regards,
Apurv.