Debugging attempt: Error in services launch sequence

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

Debugging attempt: Error in services launch sequence

8,959 Views

Hi guys.

 

I am trying to debug a KSDK example application on  FRDM-KL02Z, but after building the project,the problem occured,just like this window:

  92348_92348.pngQQ图片20151027171529.png

 

please someone  help me to figure this problem,Im a new man.

Thanks.

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

7,798 Views
matijavarga
Contributor I

Dear all,

I have the exactly same problem, exactly the same board and have tried exactly the same example..

It is extremely frustrating that there is so few error details and still no solution!

Operating System:

Win 8.1 Pro

Kinetis SDK 1.3.0

KDS 3.0.0.

Tried reinstalling PE driver, can see it in Device Manager, cannot see it in the Debug Configuration (see pictures). Tried to run dummy sample that was suggested above.. No results, same error.

Debug Configurations:dadsa.PNG.

PE HW infoOpenSDA.PNG

Please help..

Matija.

0 Kudos
Reply

7,798 Views
BlackNight
NXP Employee
NXP Employee

Hello,

if there is nothing listed in the 'Port' settings, that means no debug drivers are found or present.

About drivers: see here: Fixing the USB Drivers | MCU on Eclipse

From your PE hardware information, it seem that you have not loaded the debug OpenSDA firmware on the board?

Are you sure you have loaded the correct debug firmware? Note that if you have received a board from the factory, then you need a Windows 7 machine to update the bootloader and to load the debug firmware (you cannot do this with a Windows 8 machine).

See here for instructions (again, you need a Windows 7 machine):

Illustrated Step-by-Step Instructions: Updating the Freescale Freedom Board Firmware | MCU on Eclips...

I hope this helps,

Erich

0 Kudos
Reply

7,798 Views
ivadorazinova
NXP Employee
NXP Employee

Hi,

Please, follow these steps mentioned hereGDB Debugging with Kinetis Design Studio

Let us know, if it helps you.

Best Regards,

Iva

0 Kudos
Reply

7,798 Views

hey Iva,

thanks for your help,but it didn't work.

I remember that I met another situation when I was installing KSDK 1.3.0 Eclipse Update.

error install.png

I choosed OK button and continue to install it. Then debugging attempt failed, it may caused by this warning (I guess!)

In fact ,I still can't figure it out. I mean,I did every single step according to

FRDM-KL02Z: Freescale Freedom Development Platform for the Kinetis KL02 Family/Get Started

on freescale website.

god ,just help me!

Thanks,

leon.

0 Kudos
Reply

7,798 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi 莱昂纳多 迪卡普里奥,

Have you tried reinstalling the P&E drivers?

Go to the folder C:\Freescale\KDS_3.0.0\pemicro and there you will find the P&E drivers installer:

pastedImage_0.png

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos
Reply

7,798 Views

Hi Carlos,

I reinstalled the P&E drivers and it did helpful,

then another problem occurred at 95% launching the debug session,here is screenchop:

kkkkk.png

sorry to trouble you again,

I just dont know how to deal with it.

Thanks,

Leon

0 Kudos
Reply

7,798 Views
trytohelp
NXP Employee
NXP Employee

Hi,

Some questions:

    What is the OS used ?

    What is the KDS and KSDK version used ?

To check your hardware configuration I recommend you to create an example with the Project Wizard without KSDK and PEx.

Can you try this sample example ?

Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

7,798 Views

hey Pascal,

my PC‘s OS is windows8 and KSDK version is 1.3.0 and KDS version is 3.0.0

Im sure there is no problem with version,cause I did every step from

FRDM-KL02Z: Freescale Freedom Development Platform for the Kinetis KL02 Family/Get Started

on freescale website.

thanks for your help,but it didn't work.

I remember that I met another situation when I was installing KSDK 1.3.0 Eclipse Update.

error install.png

I choosed OK button and continue to install it. Then debugging attempt failed, it may caused by this warning (I guess!)

In fact ,I still can't figure it out.

god ,just help me!

Thanks,

Pascal

0 Kudos
Reply

7,798 Views
trytohelp
NXP Employee
NXP Employee

Hi,

This morning I've installed KDSV3.0.0 on Win 8.1 64 bit OS.

Only KDS was installed for this test.

My config is:

    Win 7 64 bit

    VirtualBox + Win 8.1 64 bit

    KDS v3.0.0

    FRDM-K64F

Based on this configuration, after to have connected the Device to Win 8.1 64bit, I've created an example using KDS V3.0.0 only for this board.

After to build the project I launch the debug session selecting the  Debug_PNE.

Now the application is loaded fine on my board.

Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

7,798 Views
trytohelp
NXP Employee
NXP Employee

Hi,

don't know if this can help but ...

Can you just check if a very sample project created with the wizard ?

Just an example without KSDK or PEx to check if there is a problem with KDS and the board.

What is the connection type you're using ?

Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

7,798 Views

Hi Pascal,

Im a newbie,and I dont know how to check if a very sample project created with the wizard.

Could you give me some specific steps?

Thank you very much!

Leon

0 Kudos
Reply

7,795 Views
trytohelp
NXP Employee
NXP Employee

Leon,

Sorry for the delay.

Attached a video showing you how to create a sample example.


Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply