2014-07-16 07:03 AM
Hi,
I recently buy a STM32L152 Nucleo, I begin with mbed.org but I prefer to develop offline. So I was wondering if there are any plug-ins to debug my programs. I follow this tutorial : http://erika.tuxfamily.org/wiki/index.php?title=Tutorial:_STM32_-_Integrated_Debugging_in_Eclipse_using_GNU_toolchain&oldid=5474 but it is not working I get this error : 2014-07-16T14:35:28 WARN src/stlink-usb.c: Couldn't find any ST-Link/V2 devices Whereas my bord is connected. Best Regards, Alain #eclipse #eclipse-debug2014-07-16 07:43 AM
Assuming you are under Linux, does the
lsusb
command list your ST-Link ? If so, try as root. If this works, you need to add anudev
rule to grant your user access to this USB device. There are plenty of sites describing in detail how to do this, depending on your distribution.2014-07-16 10:12 AM
2014-07-17 12:45 AM
Hi,
@fm : I'm under Windows but when I use STM32 ST-LINK Utility application there are no problems the device is connecting.@Brutte : I already install all you mention exceptEmbSysRegView plug-in, what is its usefulness ?
I don't know if I'm clear but all I want it's just a debugger to put breakpoints, for the display I can use a USART pin with serial port.2014-07-17 02:33 AM
@fm : I'm under Windows but when I use STM32 ST-LINK Utility application there are no problems the device is connecting.
That would be my next question. If the ST-Link Utility works, there seems to be a problem with the ST-Link driver integration in your eclipse environment. A secondary reason why I don't like Eclipse ... Alternatively, you can try , another free IDE (a CodeBlocks spin-off), which supports ST-Link out of the box.
2014-07-17 06:02 AM
It seems to work with EmBlocks
Thank you very much