STM32 not identified

Andrew Stevenson andrew at ugh.net.au
Mon Mar 16 20:43:54 UTC 2020



> On 16. Mar 2020, at 13:23, bmelo via freebsd-embedded <freebsd-embedded at freebsd.org> wrote:
> 
> Hi, I have a STM32 Nucleo board and installed stlink from ports here. But all the time I run st-util command I get the message:
> WARN usb.c: Couldn't find any ST-Link/V2 devices
> The Nucleo creates cuaU0 and ttyU0 in /dev. It seems like a permission problem, but I have no idea how to fix that. I already tried to edit /etc/devfs.rules and the problem persists. /dev/cuaU0 is uucp:dialer and ttyU0 is root:wheel.
> Any idea?

Are you sure its permission problem? Doesn’t st-util search via the USB VID/PID? Maybe running in verbose mode might give some idea of where it's failing. Do you see your device when you rub usbconfig? Do the VID/PID match whatever st-util is expecting?

HTH,

Andrew




More information about the freebsd-embedded mailing list