Unable to debug ISF2P2_K22F_MQX_SF_PROJ

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

Unable to debug ISF2P2_K22F_MQX_SF_PROJ

3,397 Views
marks
Contributor IV

Hello, Using KDS 3.2.0 and SDK 1.2.0. I think I followed all the steps to update KDS and update Processor Expert with ISF2P2_PEx.PEupd. But I am unable to launch the debugger and down load code to the FRDM-K22F board with FRDM-STBC-AGM01. I know the hardware is ok because when I download FSFK-K22F-AGM01-GL-NED.bin and use the Sensor Fusion GUI to flash the board it works great. Here is a screen shot of the error when launching the P&E debugger:

145706_145706.pngpastedImage_0.png

Compiler warnings:

145707_145707.pngpastedImage_1.png

Console output:

145708_145708.pngpastedImage_2.png

I thought the installation might be corrupted so I uninstalled KDS and re-installed. Also un-installed the example program and re-installed.

 

Q1. Any thought on what I'm doing wrong?

 

Q2. The .bin I mentioned above (FSFK-K22F-AGM01-GL-NED.bin). Is the project that generated that file available?

 

Q3. Is there a SF example that uses Bare Metal?

 

Thank you,

Mark

Labels (1)
0 Kudos
4 Replies

2,908 Views
marks
Contributor IV

Hi  Alice, That was exactly my problem. I had configured my FRDM-K22F board as "mbed" to accept "drag and drop" .bin files. (Which are available in the SF Toolbox GUI). When I went to use KDS that caused the "Error in services launch sequence". I reprogrammed the board with MSD-DEBUG-FRDM-K22F_Pemicro_v114.SDA and I was able to download and debug using KDS. Rookie mistake! I should have known better!

I still have questions about the SF application. I will create a new post.

Thank you for your help!

Mark

0 Kudos

2,908 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Mark,

Which debug method do you use ?

How about the configuration when you debug , please take a screenshot about it .

BR

ALice

0 Kudos

2,908 Views
marks
Contributor IV

Hi Alice,

Screen shots of debug config:

pastedImage_0.png

pastedImage_1.png

pastedImage_2.png

pastedImage_3.png

Thank you for the help!

Mark

0 Kudos

2,908 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Mark,

From this picture we can see it have not connect the debugger of board:

pastedImage_0.png

Do you use the OpenSDA (J5) for PE to debug, if yes , please configure the Interface like this :

pastedImage_1.png

- If you do not use which interface  to debug,  please check the "Device Manager" of your PC :

pastedImage_2.png

(on the screenshot , it is the JLink interface.)

-Pay attention that , the three debug method all can used , while corresponding firmware.

you can find the three firmware at here :

OpenSDA Serial and Debug Adapter|NXP

pastedImage_3.png

- Also about the debug of FRDM-K22 you can refer to this thread :

Summary of FRDM-K22F debug interface


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos