FRDM-KW38 Linkserver program issue

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

FRDM-KW38 Linkserver program issue

3,026 Views
Adam_Ho
Contributor II

Hi, 

I am using FRDM-KW38,

MCUXpresso IDE v11.8.0.

Press reset button before connected USB port to PC.

After connected to PC, KW38 is in "DAPLINKBOOT",

Paste download file.bin from "https://www.nxp.com/design/design-center/software/sensor-toolbox/opensda-serial-and-debug-adapter:OP..."

Adam_Ho_0-1704709115505.png

 

Now, I Debug with LinkServer probes,

The window always show "SWD Configuration" 0 available SWD Devices detected.
Connect a device and try again.

Please help me to debug kw38.

Thanks.

Adam_Ho_1-1704709409181.png

 

Labels (1)
0 Kudos
Reply
12 Replies

3,003 Views
Adam_Ho
Contributor II

Hi Ricardo, 

Is "Delete launch configurations"  mean "clean up debug"?

Adam_Ho_0-1704765332084.png

I have tried, but still not work.

The last SDK example is "frdmkw38_adv_ext_peripheral_bm".

Thanks, 

 

BR, 

Adam

0 Kudos
Reply

2,986 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi Adam,

 

Please delete these files:

Ricardo_Zamora_0-1704992241036.png

 

Are you able to flash any other SDK example?

Please let me know your findings.

 

Regards,

Ricardo

0 Kudos
Reply

2,962 Views
Adam_Ho
Contributor II

Hi Ricardo,

1. I have deleted these file and "Debug using LinkServer probes".

Adam_Ho_2-1705025276393.png

2. The same error occured.

Adam_Ho_1-1705025231873.png

Do you have any other idea?

Thanks,

BR, 

Adam.

0 Kudos
Reply

2,930 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello Adam,

 

Your FRDM might be in Low Power mode. Could you try to do a mass-erase? By using an "unlock kinetis" command in J-Link Commander, or a mass erase command through MCUXpresso, which works as well.

And the Low-Power mode can be disabled by setting the following macro (in the app_preinclude.h header file) to a 0, like so:

 

/* Enable/Disable PowerDown functionality in PwrLib */
#define cPWR_UsePowerDownMode           0‍‍‍‍

 

If this is not working, I would try with an external debugger.  

Hope this helps.

 

Regards,

Ricardo

0 Kudos
Reply

2,912 Views
Adam_Ho
Contributor II

Hi Ricardo, 

I use MCUXpresso to do mass erase.

Adam_Ho_1-1705371961620.png

but there is "Target Connection Fail" show in console log. 

 I attach the erase log on below.

Could you find any clue on development board?

WeChat 圖片_20240116103037.jpg

Thanks for support. 

BR,

Adam

 

 

0 Kudos
Reply

2,756 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi Adam,

 

Could you please try using Jlink?

If not, I would recommend checking with an external debugger.

 

Regards,

Ricardo

0 Kudos
Reply

2,592 Views
Adam_Ho
Contributor II

Hi Ricardo,

I try program with J-Link.

But it still not work.

I leave the  program error log as below.

Adam_Ho_0-1707966717767.png

Do you have any idea?

Thanks.

Best Regards, 

Adam

 

0 Kudos
Reply

2,110 Views
LISI1
Contributor I

hi

Have you solved the problem and can you share it? I had the same problem

 

thanks

0 Kudos
Reply

2,101 Views
Adam_Ho
Contributor II

Hi @LISI1 , 

Sorry, This issue isn't solved.

Thanks.

0 Kudos
Reply

2,097 Views
LISI1
Contributor I

Well, thank you

0 Kudos
Reply

3,012 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello,

 

Hope you are doing well. Could you please try deleting the launch configurations of the project?

Which was the last SDK example that was running on the board?

 

Regards,

Ricardo

0 Kudos
Reply

2,991 Views
Adam_Ho
Contributor II
Hi Ricardo,

Is "Delete launch configurations" mean "clean up debug"?

Adam_Ho_0-1704765332084.png

I have tried, but still not work.

The last SDK example is "frdmkw38_adv_ext_peripheral_bm".

Thanks,



BR,

Adam
0 Kudos
Reply