I have the Freedom K66 dev board, windows 10, and MCUXpresso. Do I need additional hardware in order to download and debug the sample applications on this board? I can not get the IDE to download just the hello_world example (it compiles but when I try to debug there is a momentary blinking of a red led next to the micro USB connector and then "no connection could be made because the target machine actively refused it."
Any help would be appreciated!
I have checked for any apparent issues under the device manager but it seems that the J-link drivers are installed and accepted by the system. Beneath Ports I see a "JLink CDC UART Port (COM5)" which I am able to connect to using TeraTerm to see the serial output of the default app which came on the FRDM board (the accelerometer demo output). Beneath Universal Serial Bus controllers I see an item "J-Link driver" which says it is working properly. I really have no idea what to do from here.
Here's a little more information. I'm following the step by step guide from
under "3.2 Build, Run and Debug MCUXpresso SDK Examples".
When I get to step 2 (...click on Debug in the Quickstart Panel.) I get an error and these are the messages that appear in the server console:
Hi @mrice :
I would suggest you update J-LINK OpenSDA firmware and try it again.
Please refer to below link
"It has been reported that OpenSDA v2/2.1 bootloader could be corrupted when the board is plugged into a Windows 10 machine. For details and more information on resolving this issue, please refer to this community post. Arm Mbed DAPLink bootloaders and applications have been developed to address this compatibility issue."
-- I am guessing this is what's happened and now the board is unusable. If I have a J-Link would the adapter linked below be appropriate to connect it to the board via the J10 header and manually recover the openSDA firmware?
Hi @mrice :
Please follow below flow chart to update your boards
Please check below link for details
If the bootloader is broken, you can use J-link to update the bootloader
If you don't have the J-Link debug probes, I would suggest you recover the bootloader with anther boards.
check below link for more details
I attempted to do this but it seems to have made the situation worse. I downloaded the OpenSDA firmware (.bin) and then plugged in the FRDM-K66 while holding the reset button to put it in MSD mode. A file explorer window appeared as expected. I dragged the .bin onto it but then got an error message from windows. Now the board does not respond at all when I plug in the micro usb, with the reset button pressed or not. No leds, no notification from windows, and from MCUXpresso the probe search does not find the board at all ("JLink621000000 not found.")
MCUXpresso IDE v11.3.1 [Build 5262] [2021-04-02]
SDK Version: 2.9.0 (Epluginsite 415 2021-01-15)
Thank you for your help; I will try updating the OpenSDA firmware as suggested next.