From owner-freebsd-embedded@freebsd.org Mon Mar 16 20:43:54 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 567EA26F1F4 for ; Mon, 16 Mar 2020 20:43:54 +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 48h7Z00sBhz3K0V for ; Mon, 16 Mar 2020 20:43:51 +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 DCC40BE29; Mon, 16 Mar 2020 20:43:30 +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 21:43:29 +0100 Cc: "freebsd-embedded@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <4A28D043-960F-465F-AC1A-9B6AD839783E@ugh.net.au> References: To: bmelo X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48h7Z00sBhz3K0V 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.12 / 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.79)[0.789,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 20:43:54 -0000 > On 16. Mar 2020, at 13:23, bmelo via freebsd-embedded = wrote: >=20 > Hi, I have a STM32 Nucleo board and installed stlink from ports here. = But all the time I run st-util command I get the message: > WARN usb.c: Couldn't find any ST-Link/V2 devices > The Nucleo creates cuaU0 and ttyU0 in /dev. It seems like a permission = problem, but I have no idea how to fix that. I already tried to edit = /etc/devfs.rules and the problem persists. /dev/cuaU0 is uucp:dialer and = ttyU0 is root:wheel. > Any idea? 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? HTH, Andrew