Error in Services Launch Sequence SDK v2

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

Error in Services Launch Sequence SDK v2

4,006 Views
henninjw
Contributor II

Ever since updating to SDK v2 I have not been able to debug using the GDB PEMicro Interface Debugger. Before updating to SDK v2 I had no issues, now when I try to debug an error occurs stating "Exception occurred during launch. Reason: Error in services launch sequence."  I have ensured that all my software is up to date.

 

139310_139310.pngpastedImage_0.png

Labels (1)
7 Replies

2,766 Views
thibaudpicard
Contributor I

I had the same problem while I relaunched the debugger, and I had to restart my computer so it can work again.

But by simply reselecting the code while we are in the debug window, it refresh it and then it's good to go !

bug.png

0 Kudos
Reply

2,767 Views
davidmesser
Contributor I

I have this same issue.  I'm using a TWR-K60N512 with Kinetis Design Studio 3.2.0 on Windows 10.  All my software is up-to-date.

It would be helpful if you could let me know what this cryptic error message means.  It basically says "There's been an error because an error occurred."  Not very useful.

BTW, your website apparently was designed by the same programmer - it is almost impossible to get any useful information from it.

0 Kudos
Reply

2,767 Views
BlackNight
NXP Employee
NXP Employee

Hi David,

that cryptic error message comes back from GDB, and I agree, it is not every helpful. I think this is one of the biggest complains about GDB, but changing GDB unfortunately is not the topic here. Understanding how GDB works can help:

What is causing such an error message is usually some bad arguments or failure of launching the GDB server from the client in Eclipse (see https://mcuoneclipse.com/2015/05/18/gdb-client-and-server-unlocking-gdb/ about that concept). The same article describes one reason and solution for the "error in services launch sequence", so you might check that one. The same message you get if the GDB server cannot be found (I have seen cases where firewall software has removed it because it communicates through TCP/IP), so you should check if the server is still present on your machine.

If that does not help, it would be helpful for me if you could post here your launch configuration files (or screenshots of it), as I think some settings might be wrong. What should work is if you create a new project with File > New > Processor Expert project (you don't need to turn on Processor Expert), as this creates a simple project with working launch configuration settings). If that fails too, then it is not a problem of your project files, it is very likely a problem with the GDB server on your disk, or a problem with your OpenSDA firmware or drivers.

I hope this helps,

Erich

PS: Not sure which designer you mean? I'm using internet search engines (google for example) to help me out. There is as well a compendium (https://mcuoneclipse.com/compendium/ ) in an attempt to structure the information. If you have any suggestion how to improve it, please let me know.

2,767 Views
davidmesser
Contributor I

Thank you very much for your reply.  It is very useful to know that the error came from GDB and not somewhere else.

With that, I think I will probably be able to figure out the problem.

My other comment was from a frustration with using the NXP website in general (and the Freescale one before that.). For instance if you do a Google search on "TWR-K60N512" you get a variety of documents on NXP, including one for a K20 board.  Also, every time I log in, it asks me to enter my job title.  Apparently it doesn't remember it.

The frustration of the website spilled over when I got that error message which I thought was also your guys fault.  Sorry for dumping that on you - as you said, it really is a separate issue.

Thanks again for your help.  I'll dig into it and figure it out now.

0 Kudos
Reply

2,767 Views
DavidS
NXP Employee
NXP Employee

Hi Jake,

Did you update the KDS?  I just did the Help->Install new software... and updated the following:

ScreenHunter_224 Feb. 11 08.55.gif

ScreenHunter_225 Feb. 11 08.55.gif

ScreenHunter_226 Feb. 11 08.56.gif

Above pictures of the updates I did.

I just did a test with FRDM-K64F and KSDK_v2 for it using the P&E Micro OpenSDA debugger interface.

Regards,

David

2,767 Views
mohammadhossein
Contributor I

Hi,

I also have the same issue. I am using Xubuntu 14.04 (64bit) and I am using all the latest files for SDK2.0, KDS and the firmware (I am using P&E's DEBUG-FRDM-K64F_Pemicro_v108a_for_OpenSDA_v2.0.bin firmware).

Since I couldn't figure out a solution, I am now back to run a sample project (freertos_event_frdmk64f) in SDK2.0 (I followed the steps mentioned on Q&A | MCU on Eclipse blog). I am able to generate the binary file, but when I want to run the debugger, although the board is recognized by KDS, it shows me the exact same error message the Jake Henningsen is getting.  Any suggestion is highly appreciated.

0 Kudos
Reply

2,767 Views
henninjw
Contributor II

I have updated and installed all the software to the versions that you show.  I still experience the issue however not every time I try to run a program.  It seems when I start KDS I am able to run a few programs before the error occurs.  Once it occurs I have to reinstall the bootloader onto the board for OpenSDA embedded port to recognize the device.

0 Kudos
Reply