Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
idVendor =3D 0x0483
idProduct =3D 0x3752

You mean debug stlink code?


Sent from ProtonMail, Swiss-based encrypted email.

=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me=
ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90
On Monday, 16 de March de 2020 =C3=A0s 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=E2=80=99t st-util search v=
ia the USB VID/PID? Maybe running in verbose mode might give some idea of w=
here it's failing. Do you see your device when you rub usbconfig? Do the VI=
D/PID match whatever st-util is expecting?
> >
> > Yes, usbconfig see the device: ugen0.6: <STMicroelectronics STM32 STLin=
k> 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 V=
ID =3D=3D 0x0483 and PID =3D=3D 0x3748 or 0x374b. Usbconfig dump_device_des=
c will show you the details of your device.
>
> If they do match I=E2=80=99m not sure where you would go from there witho=
ut debugging the code but I think the permissions of your serial devices is=
 a red herring.
>
> Andrew





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?QwJZLRGmm-vtlHgrmPGcFwE22tEh0UTXAotqoy5zrTnf6dIa-eis7RG4zXklfnop082ZU3yt2pmXz0Rcg6J-cRXoTWOSa2z6KaJkseagWps=>