FRDM-KW38 Linkserver program issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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..."
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ricardo,
Is "Delete launch configurations" mean "clean up debug"?
I have tried, but still not work.
The last SDK example is "frdmkw38_adv_ext_peripheral_bm".
Thanks,
BR,
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Adam,
Please delete these files:
Are you able to flash any other SDK example?
Please let me know your findings.
Regards,
Ricardo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ricardo,
1. I have deleted these file and "Debug using LinkServer probes".
2. The same error occured.
Do you have any other idea?
Thanks,
BR,
Adam.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ricardo,
I use MCUXpresso to do mass erase.
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?
Thanks for support.
BR,
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Adam,
Could you please try using Jlink?
If not, I would recommend checking with an external debugger.
Regards,
Ricardo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ricardo,
I try program with J-Link.
But it still not work.
I leave the program error log as below.
Do you have any idea?
Thanks.
Best Regards,
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
Have you solved the problem and can you share it? I had the same problem
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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