你好!
我不小心把MKE18F512VLL16的RESET与SWD复用为GPIO功能,然后下载不了程序。
请问有什么解决办法么?这个开发板好像只能通过USB来下载程序,SWD线与USB相连的。
现在Debug检测不到SWDIO设备了。
望热心人走过的时候帮忙看一下,让我的开发板不要成为砖头,多谢了。
祝你生活愉快!
Hi everyone,
Thanks for your attentions. Now my board can work again under a warm - hearted man's great answer, as the following websit.
Your kindly attention is enough to warm a world. Have a good day and wish you good luck.
qzy
Hi zy q,
When you try to debug, the program takes control of the reset pin and halt it when it's need, muxing this pin doesn't let the debugger reset the MCU. So you need to erase the program that you downloaded in the MCU.
You can try this:
In the command window of the J-link, you can try erasing the flash with the following command:
Other option.
In the MCUXpresso, select one proyect and click the following option:
This will open a window where you can do some probes in you're board, select the option Resurrect locked Kinetis device and click Run.
This options will erase the flash of the MCU.
Hope it helps.
Alexis Andalon
Hi Alexis Andalon,
Today, I retry to input the "unlock kinetis" command with the J-LINK commander tool. It seems to be working and it writes that "Found SWD-DP with ID 0x2BA01477 Unlocking device...O.K."
But when I turn buck to bootloader mode, it is also cannot dowload program.
After the command--"unlock kinetis" works out , what should I do.
Looking for your help.Have a good day.
qzy
Hi Alexis Andalon,
I try it, but it doesn't work.It reminders that the command is a "Unknown command".
Looking for your further reply.
Have a good day.
qzy