I am having a problem. When trying to initiate Debug, the probe is detected:But when I pressed OK button, it cannot access to SWD link:
I tried with reset button, restart my computer, but none of them work. How can I fix this?Best regard,
Do you have an external debugger so you could check if you can program the MCU someway?
Could try using the erase feature from MCUXpresso to see if the firmware did lock the MCU?
I tried with the GUI Flash tool, but when I chose Mass erase, it still cannot find SWD linkBest regard,
Do you have both this headers placed? This are the SWD lines connected from the debugger to the MCU.
Also you could try updating the firmware debugger, press the reset button while powering up the board. A mass storage device will be enumerated, download the firmware from the following link and drag and drop to this device.
Let me know if this helps you.
Hi, Thanks for the replies. My board still had all the headers. I also tried firmware update by following step by step but it didn't work for me either.
Can you let me know which MCUXpresso version are you using and could you try updating the firmware to the one from segger and do the following test?
-Open the J-Link Commander and check that the power is around 3.3 V
-Type the following commands:
-? (Found your MCU)
And check if it can be connected, if this doesn't happen try the command: "unlock kinetis"
My MCUXpresso IDE version is 11.0.1_2563
When I tried to connect, It cannot recognize my chip and show up a table like this.
Could you try using the latest MCUXpresso version (11.1.0)?
Also, this is a new brand freedom? or did this happen after you flash a program for the first time.
I have tried with the lastest MCUXpresso version but it still did not work. In addition, this freedom board is not the new one. Before that, It worked well. I just have met this issue for a couple days.
Could you try again to change the debugger firmware to the DAPLink one?
After this opening the J-Link Commander the following log should appear, if this no happens something is wrong with the K20 debugging chip.
Hi, I tried to change the debugger firmware to the one you mentioned but It still did not work for me. Best regards.
Hi,I have a J-link debugger, which headers should I remove to test the MCU work or not? Best regards.
This are the headers you need to remove:
The MCU still worked normally, I can program it by using my J-link debugger.Best regards.
Could you try to follow the following post to recover the OpenSDA?
How to Recover the OpenSDA V2.x Bootloader | MCU on Eclipse
Hi,After a few times I used the J-link debugger to program my board, I tried again with the OpenSDA interface and it worked normally. I don't understand the reason behind this but my board now works well. Best regards,Thanks.
Retrieving data ...