This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Keil IDE issue with nRF51-DK

I have the nRF51-DK working on two separate computers with Keil v5.13 and the latest SDK. However, on my main computer I am having trouble with Keil and nRF51-DK. When I try to flash/debug the nRF51-DK through Keil, it does not allow me to do so; Keil is not recognizing the JLink device. When I go to "Options for Target"->"Debug"->"Use J-Link /J-TRACE Cortex"->"Settings"->"Debug" I see a large portion grayed out (as seen in image below). Under "JTAG Device Chain" I have the following error: "Cannot read JLink version number". I am only having this problem on this computer; I have tried reinstalling everything and using different JLINK versions. Currently, I am using JLINK v4.96A (latest) on all the computers. The setup was identical to the other computers on which everything is working. Please help me!

image description

Parents
  • This does not solve problem for me. Tried latest Segger driver and nRF Tools, no result. I have reinstalled everything (Keil, tools, drivers...) and that also didn't help. Drivers are there and are working, J-Link software and nRF studio can recognize J-Link programmer on dev kit, it doesn't work only in Keil. But if I connect older dev kit (PCA10001) or standalone J-Link programmer they work with Keil without any problems.

  • Thaks a lot for your precise description of my problem ;-).

    This exactly matches my experiences with nrf51-dk during last couple of days. JLink is detected by Segger and nrf tools, but not with Keil. I also went through full installation and deinstallation cycles of all tools.

    Even though segger installation asks to overwrite Keil drivers, my feeling is that Keil is using its own drivers here... Can anyone confirm that download and debugging with Keil on nrf51-dk and win8.1 machine works fine?

Reply
  • Thaks a lot for your precise description of my problem ;-).

    This exactly matches my experiences with nrf51-dk during last couple of days. JLink is detected by Segger and nrf tools, but not with Keil. I also went through full installation and deinstallation cycles of all tools.

    Even though segger installation asks to overwrite Keil drivers, my feeling is that Keil is using its own drivers here... Can anyone confirm that download and debugging with Keil on nrf51-dk and win8.1 machine works fine?

Children
No Data
Related