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.
7 years, 4 months ago.
Exporting MBED OS 5 blink example to Keil uVision 5 on NRF52 DK
Hi,
I am trying to export a simple blink code from mbed os 5 and run it on keil IDE. I have used JLink as my debugging option in SW mode for nrf52. The compilation shows no errors but on loading the code, the nrf52 shows no response i.e. no led blink.
I have tried creating a hex file from keil and copy-paste in JLink device but of no use. The hex file downloaded from mbed complier runs perfectly.
I couldn't identify the mistake in the process. Any help would be much appreciable.
Regards,
Ram
1 Answer
7 years, 3 months ago.
The default board firmware uses CMSIS-DAP. Unless you have updated your board to use J-Link firmware, this will not work. Use the CMSIS-DAP setting in uvision. See here for more info - https://developer.mbed.org/platforms/Nordic-nRF52-DK