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>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 16. Mar 2020, at 22:01, bmelo <bmelo@protonmail.com> wrote: >=20 >> Are you sure its permission problem? Doesn=E2=80=99t 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? >=20 > Yes, usbconfig see the device: ugen0.6: <STMicroelectronics STM32 = STLink> at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON = (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 =3D=3D 0x0483 and PID =3D=3D 0x3748 or 0x374b. Usbconfig = dump_device_desc will show you the details of your device. If they do match I=E2=80=99m 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. Andrew=20=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?637C7B9A-31E1-4481-9675-61D771B7E0B5>