FRDM-KW38 Linkserver program issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FRDM-KW38 Linkserver program issue

3,016 次查看
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

 

标签 (1)
0 项奖励
回复
12 回复数

2,993 次查看
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 项奖励
回复

2,976 次查看
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 项奖励
回复

2,952 次查看
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 项奖励
回复

2,920 次查看
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 项奖励
回复

2,902 次查看
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 项奖励
回复

2,746 次查看
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 项奖励
回复

2,582 次查看
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 项奖励
回复

2,100 次查看
LISI1
Contributor I

hi

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

 

thanks

0 项奖励
回复

2,091 次查看
Adam_Ho
Contributor II

Hi @LISI1 , 

Sorry, This issue isn't solved.

Thanks.

0 项奖励
回复

2,087 次查看
LISI1
Contributor I

Well, thank you

0 项奖励
回复

3,002 次查看
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 项奖励
回复

2,981 次查看
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 项奖励
回复