Date: Mon, 16 Mar 2020 22:41:34 +0000 From: bmelo <bmelo@protonmail.com> To: Andrew Stevenson <andrew@ugh.net.au> Cc: "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org> Subject: Re: STM32 not identified Message-ID: <QwJZLRGmm-vtlHgrmPGcFwE22tEh0UTXAotqoy5zrTnf6dIa-eis7RG4zXklfnop082ZU3yt2pmXz0Rcg6J-cRXoTWOSa2z6KaJkseagWps=@protonmail.com> In-Reply-To: <637C7B9A-31E1-4481-9675-61D771B7E0B5@ugh.net.au> References: <bCyCGMfT-ROSVe2TXJJdJeOI3UkecbyDDrz8CTIcXPAoZwyKvYS4ZkgaQxMiXgvT7VNOTARJ0PLmbcvLU_WNxPPd578NDl0ZyZ7h_m8xSb0=@protonmail.com> <4A28D043-960F-465F-AC1A-9B6AD839783E@ugh.net.au> <BfjqeQjiK9TyzWlepviEZYd2hxQJJpMkaxgnFyedZrJvSNnCNc27CCXWeUiv6SpnZMXgHd5OpAIIuMYaj9YEJmosVhhbK4091vD9H6ELZsw=@protonmail.com> <637C7B9A-31E1-4481-9675-61D771B7E0B5@ugh.net.au>
index | next in thread | previous in thread | raw e-mail
idVendor = 0x0483 idProduct = 0x3752 You mean debug stlink code? Sent from ProtonMail, Swiss-based encrypted email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, 16 de March de 2020 às 19:18, Andrew Stevenson <andrew@ugh.net.au> wrote: > > > > 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?QwJZLRGmm-vtlHgrmPGcFwE22tEh0UTXAotqoy5zrTnf6dIa-eis7RG4zXklfnop082ZU3yt2pmXz0Rcg6J-cRXoTWOSa2z6KaJkseagWps=>
