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?
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
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.
Try changing the J-Link cabel/ USB Port ?
Does the J-Link works fine with other boards ?
By the way,I can debug and load program with used St-Link. But I want to use J-Link.
J-Link version is 9.2 (13-44; YY-WW)
I think J-link properly installed because the person who working before me used it. I entered the J-Link prompt and introduced the device by typing "device stm32l011k4; S; 4000". Then I wrote "connect" , J-link connected.
Sounds unlikely to me but, again, the Segger utilities would confirm either way.
You'd need to contact Segger to check any limitations on specific J-Link hardware/firmware/software versions ...
I thing any old hw version of J-Link not support Cortex M0 MCU. what version hw verison you have?
Have you used the Segger utilities to confirm that the JLink is properly installed, actually connected, & working?
View all questions in Keil forum