debug configurations

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

debug configurations

Jump to solution
1,969 Views
vijenad
Contributor III

I updated KDS to version 3.2.0

Evaluation board - TRK-KEA 128

Initially I was able to debug, but I hadn't noticed configuration.

Unknowingly I made some changes and now I am unable to neither debug nor flash file on evaluation board

Evaluation board is connected directly to PC through USB port.

Need to Know

How to configure the following window "Debug Configurations"

 

 

 

145570_145570.pngpastedImage_0.png

Labels (1)
0 Kudos
1 Solution
1,275 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Vijeendra,

The connection you need to choose will depend on which firmware was loaded to the OpenSDA, you can check this by going to the Device Manager:

pastedImage_0.png

In this case my TRK-KEA128 board has the P&E OpenSDA firmware, so I need to choose the Pemicro Interface Debugging connection and make sure my board is recognized by the debugger:

pastedImage_1.png

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

View solution in original post

0 Kudos
11 Replies
1,275 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Vijeendra,

Does the error 2 happens every time you launch the debug session? Does it happen with any project?

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos
1,275 Views
linestream-adam
Senior Contributor I

Carlos,

I'm also seeing this issue.   On Windows 7 x64 working with P&E Micro on a TWR-KV30 board. 

2016-04-12 11_42_19-C_C++ - twrkv31f120m_snlessvel_KDS_src_main.c - Kinetis Design Studio - C__Users.png

I'm on the latest KDS 3.2 updated today. 

I've tried cycling the USB cable, closing and reopening KDS, removing the Debug configuration. 

I'm able to program this part successfully using IAR 7.4

Any thoughts?

0 Kudos
1,275 Views
vigneshbalaji
Senior Contributor I

Hi Adam,

                I am also getting the same problem.How did you fix it?

0 Kudos
1,275 Views
linestream-adam
Senior Contributor I

Vignesh,

What I discovered was happening was that the gdbserver wasn't closing correctly.  So I went into task manager and manually killed the gdbserver.

0 Kudos
1,275 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Adam,

Could you post a screenshot of your Debug Configurations showing the Main and Debugger tabs?

Thanks in advance.

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos
1,275 Views
vijenad
Contributor III

Hi Carlos,

Is it causing any issues, I am clicking YES on it

pastedImage_0.png

0 Kudos
1,275 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Vijeendra,

That should not cause any problem, that message only asks if you want to change to the Debug perspective when you launch a debug session. You can just click on "Remember my decision" and then Yes.

You can always switch back to the C/C++ perspective by clicking on this button:

pastedImage_0.png

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos
1,276 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Vijeendra,

The connection you need to choose will depend on which firmware was loaded to the OpenSDA, you can check this by going to the Device Manager:

pastedImage_0.png

In this case my TRK-KEA128 board has the P&E OpenSDA firmware, so I need to choose the Pemicro Interface Debugging connection and make sure my board is recognized by the debugger:

pastedImage_1.png

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos
1,275 Views
vijenad
Contributor III

Thanks Carlos, I thought "It helped"

But still having error.

Error 1:

pastedImage_0.png

Port : will be showing blank.

I need to remove and plug-in the USB cable, then I get following window

pastedImage_1.png

Is it required - to remove and plug-in USB cable everytime? I think some other issue in settings.

Error 2:

pastedImage_2.png

"Device Manager" settings :

pastedImage_5.png

0 Kudos
1,275 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Vijeendra,

Please make sure to terminate the first debug session before launching a new one, if you try to launch a new debug session when there is one already running the board will not be recognized, please take a look at this thread:

KDS Debug_PNE OpenSDA disappearing port setting

Let me know if it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos
1,275 Views
vijenad
Contributor III

Hi Carlos,

I tried by restarting KDS and Error 1 got resolved.

But Error 2 is still there for me.

Thanks.

0 Kudos