Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 2 months ago.
How to revert interface MCU firmware back to the J-Link image?
As nRF51-DK User Guide said: "If you have swapped to the mbed image and want to revert back to the J-Link image, download the latest SEGGER J-Link software from www.segger.com and open a debug session to update to the latest J-Link OB firmware version."
I press Reset button and plug in the USB cable, then the LED5 is blinking. But how to download the J-Link image?
Question relating to:
5 years, 2 months ago.
Hi aaron xu,
If I have understood it correctly, you want to switch back to the J-Link interface firmware on your nRF51-DK board?
One approach you can follow is to download the J-Link OB image from the nordicsemi.com website: http://www.nordicsemi.com/eng/Products/nRF51-DK/(language)/eng-GB
You need to be logged in and also have the product key added for your nRF51-DK board so that the interface firmwares are available to you for downloading (nRF51-DK-J-Link-IF, and nRF51-DK-mbed-IF).
After you have acquired the interface firmware (nRF51-DK-J-Link-IF.bin), you can follow the approach you used earlier to swap back to the J-Link firmware.
- Follow the approach in section 4.1 "IF Boot/Reset button" on page 8 to enter the bootloader (ie. to enter bootloader mode, press the boot/reset button (SW5) while the board is powered until the LED (LD5) starts to blink).
- To swap the Interface MCU FW, drag and drop the Interface image (ie. the nRF51-DK-J-Link-IF.bin file) into the mounted bootloader drive on the connected computer.
- Wait until the transfer is complete, and then power cycle the board (turn off and on again without holding the reset button). The new firmware should now be present.
I hope that this works for you.
EDIT: If the device (having the JLink firmware installed) is not showing up in Keil, ie. when you choose Options for Target: Debug tab: Use: J-LINK / J-TRACE Cortex: Settings: Port SW (the device should show up as J-Link / J-Trace Adapter SN: SERIALNUM. and the SW Device should have a device listed), then perhaps you need to download a newer segger software.
The Segger software can be found at https://segger.com/jlink-software.html
After installing this, try again and see if the device appears.
- If the nRFgo Studio does not work for your DK board, you might have to update it. The newest version is 1.17.1. Just open the nRFgo Studio and press help: Check for updates and download the lastest version and run the install. That should make the DK board show up in the studio and you should be able to erase and program it.