PEmicro GDB Launch Failure :

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

PEmicro GDB Launch Failure :

4,320 Views
maratheapurv
Contributor III

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.

5 Replies

3,937 Views
nxf54943
NXP Employee
NXP Employee

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.

0 Kudos

3,937 Views
maratheapurv
Contributor III

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.

3,937 Views
nxf54943
NXP Employee
NXP Employee

Greetings Apurv,


Here are a few things you can check that might help you solve the error:

  1. It is advisable updating your MCUXpresso plugins. To perform this you can follow the next steps:
    1. Open your "MCUXpresso"
    2. Access the "Help" tab
    3. Select "Add New Software"
    4. Select "P&E Micro"
    5. Select any driver that it's not up to date
    6. Click "Next"
    7. Click "Finish"
  2. You should update your OpenSDA as well
    1. Enter the following link: https://www.nxp.com/support/developer-resources/microcontrollers-developer-resources/ides-for-kineti...
    2. Download the ""Default Firmware Application by clicking "Download Binary"

In order to install it:

  1. Connect your board to the computer while pressing the reset button
  2. Add the downloaded file to your board folder
  3. Disconnect your board

   C. Finally, make sure you are not currently running a different debugging session.

Kind regards, Andrea.

0 Kudos

3,937 Views
maratheapurv
Contributor III

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.

0 Kudos

3,937 Views
maratheapurv
Contributor III

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.

0 Kudos