Date: Mon, 16 Mar 2020 23:18:58 +0100 From: Andrew Stevenson <andrew@ugh.net.au> To: bmelo <bmelo@protonmail.com> Cc: "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org> Subject: Re: STM32 not identified Message-ID: <637C7B9A-31E1-4481-9675-61D771B7E0B5@ugh.net.au> In-Reply-To: <BfjqeQjiK9TyzWlepviEZYd2hxQJJpMkaxgnFyedZrJvSNnCNc27CCXWeUiv6SpnZMXgHd5OpAIIuMYaj9YEJmosVhhbK4091vD9H6ELZsw=@protonmail.com> References: <bCyCGMfT-ROSVe2TXJJdJeOI3UkecbyDDrz8CTIcXPAoZwyKvYS4ZkgaQxMiXgvT7VNOTARJ0PLmbcvLU_WNxPPd578NDl0ZyZ7h_m8xSb0=@protonmail.com> <4A28D043-960F-465F-AC1A-9B6AD839783E@ugh.net.au> <BfjqeQjiK9TyzWlepviEZYd2hxQJJpMkaxgnFyedZrJvSNnCNc27CCXWeUiv6SpnZMXgHd5OpAIIuMYaj9YEJmosVhhbK4091vD9H6ELZsw=@protonmail.com>
index | next in thread | previous in thread | raw e-mail
> On 16. Mar 2020, at 22:01, bmelo <bmelo@protonmail.com> wrote: > >> 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? > > Yes, usbconfig see the device: ugen0.6: <STMicroelectronics STM32 STLink> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (300mA) > st-util's verbose mode is useless, never returns verbosed output :P Looking at the source it is using libusb and searching for devices with VID == 0x0483 and PID == 0x3748 or 0x374b. Usbconfig dump_device_desc will show you the details of your device. If they do match I’m not sure where you would go from there without debugging the code but I think the permissions of your serial devices is a red herring. Andrewhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?637C7B9A-31E1-4481-9675-61D771B7E0B5>
