This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

J-Link Device Selection Error in Keil

I am trying to download my project in a STM32L011K4 microprocessor by using a J-Link and the uVision-5 environment. But It comes up with an error message "No JLink device found". I can not find STM32L011K4 in "Options for Target>Debug>J-link / J-Trace Adapter". I selected unspecified Cortex -M0 device but this time I got Connection Timeout Error. Do you have any suggestion?

Parents
  • I checked cable and there is no problem. I'm suspicious of the keil option target settings. Because error about device settings. How can I add the stm32l011k4 processor into j-link which stay in "keil>options for target>Debug Settings> SW Device". But I want to do this without defining it as "unspecified Cortex M0 +".

    Briefly , I think, the reason of mistake is that I defined stm32l011k4 as "unspecified Cortex M0+". But I have nothing else to do.

Reply
  • I checked cable and there is no problem. I'm suspicious of the keil option target settings. Because error about device settings. How can I add the stm32l011k4 processor into j-link which stay in "keil>options for target>Debug Settings> SW Device". But I want to do this without defining it as "unspecified Cortex M0 +".

    Briefly , I think, the reason of mistake is that I defined stm32l011k4 as "unspecified Cortex M0+". But I have nothing else to do.

Children
  • Try to change the mode of JLink device. In CMSIS-DAP mode, it will not connect as J-Link adapter.

    Use some configuration tool to change the configuration to JLink.

    For NXP JLink adapter I have installed LPCSCript drivers and used LPC configuration tool (DFUsec).

    For Segger JLink, search for JLink software to configure it.

    Everyone reading this..please correct me if I have written anything wrong