From owner-freebsd-embedded@freebsd.org Mon Mar 16 22:19:02 2020 Return-Path: Delivered-To: freebsd-embedded@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 556D92717DA for ; Mon, 16 Mar 2020 22:19:02 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from kaija.ugh.net.au (kaija.ugh.net.au [5.79.7.178]) by mx1.freebsd.org (Postfix) with ESMTP id 48h9gn3M8Yz4FsR for ; Mon, 16 Mar 2020 22:19:01 +0000 (UTC) (envelope-from andrew@ugh.net.au) Received: from [10.0.0.33] (unknown [5.28.84.195]) by kaija.ugh.net.au (Postfix) with ESMTPSA id 37F28BE85; Mon, 16 Mar 2020 22:18:59 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: STM32 not identified From: Andrew Stevenson In-Reply-To: Date: Mon, 16 Mar 2020 23:18:58 +0100 Cc: "freebsd-embedded@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <637C7B9A-31E1-4481-9675-61D771B7E0B5@ugh.net.au> References: <4A28D043-960F-465F-AC1A-9B6AD839783E@ugh.net.au> To: bmelo X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48h9gn3M8Yz4FsR X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of andrew@ugh.net.au has no SPF policy when checking 5.79.7.178) smtp.mailfrom=andrew@ugh.net.au X-Spamd-Result: default: False [3.15 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ugh.net.au]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.994,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[178.7.79.5.list.dnswl.org : 127.0.6.2]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.82)[0.823,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[protonmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15395, ipnet:5.79.0.0/18, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.03)[asn: 15395(0.24), country: GB(-0.07)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2020 22:19:02 -0000 > On 16. Mar 2020, at 22:01, bmelo 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: 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=