FRDM-KW38 Linkserver program issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FRDM-KW38 Linkserver program issue

2,582件の閲覧回数
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,559件の閲覧回数
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,542件の閲覧回数
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,518件の閲覧回数
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,486件の閲覧回数
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,468件の閲覧回数
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,312件の閲覧回数
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,148件の閲覧回数
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 件の賞賛
返信

1,666件の閲覧回数
LISI1
Contributor I

hi

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

 

thanks

0 件の賞賛
返信

1,657件の閲覧回数
Adam_Ho
Contributor II

Hi @LISI1 , 

Sorry, This issue isn't solved.

Thanks.

0 件の賞賛
返信

1,653件の閲覧回数
LISI1
Contributor I

Well, thank you

0 件の賞賛
返信

2,568件の閲覧回数
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,547件の閲覧回数
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 件の賞賛
返信