-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32F411E-Discovery: st-util cant find any st-link/V2 devices #672
Comments
I must say I have not tested on latest macOS 10.13 myself. It did work before. Maybe there is some permission problem you could try to run it as root with: |
Works for me with STM32 L1 discovery board (installed from homebrew latest stlink v1.5.0). I have no STM32F411E-DISCO, so unable to test the board.
|
For me the homebrew install works just fine with macOS Mojave on a late 2017 MBP and a NUCLEO-F401RE board (also a F4/V2). $st-util
st-util 1.5.1
2018-11-04T16:46:33 INFO common.c: Loading device parameters....
2018-11-04T16:46:33 INFO common.c: Device connected is: F4 device (Dynamic Efficency), id 0x10016433
2018-11-04T16:46:33 INFO common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x80000 bytes (512 KiB) in pages of 16384 bytes
2018-11-04T16:46:33 INFO gdb-server.c: Chip ID is 00000433, Core ID is 2ba01477.
2018-11-04T16:46:33 INFO gdb-server.c: Listening at *:4242... |
When I connect the ST-Link V2 on Mojave, I don't see the serial port. Must I do something for the serial port to show up? Without a serial port, the st-info/st-util don't work... |
There is no such thing as a "normal serial port" on the programmers except for the v2-1 on some nucleo boards which have USB-serial. |
Thx, I do see my St-Link V2 debugger using command: st-info --probe However, I don't see the information on the connected bluepill device: Found 1 stlink programmers Any clue why that would be? |
@Reinual I think your problem is different than OP. probe has found your programmer but can't get info (flash: 0, sram: 0, chipid: 0). I am having the same problem with some faulty program that uses DMA and I2C (haven't found which one is the culprit yet). In order to unlock it I use #705 (comment):
|
As shown by xor-gate and maxmunzel the original problem does obviously not appear to be related to the |
Hi,
I am very new to a lot of what I have been working on so I will try to describe my problem as carefully as possible. I am using an STM32F411E-DISCO on a Mid 2012 Macbook pro with version 10.13.3 I just used homebrew with the command "brew install stlink" to get stlink.
When entering "st-util" into terminal, I get the error:
"WARN usb.c: Couldn't find any ST-Link/V2 devices"
Any ideas whats wrong?
Thanks
The text was updated successfully, but these errors were encountered: