2025-02-12 11:01 AM
Hi,
I had to install STM32 tools on a MacBook Pro 2023 M2. I have a STM32H7474I-Disco board which works fine under Windows 11. When I connect the evaluation board to MacBook it pops-up a window to enable ST-Link driver. I enabled the driver but the usual new STL-Link USB drive with demo links does not appear in Finder...
STM32CubeIDE (Programmer) reports no ST-Link is connected to MacBook. I am using the same USB cable as in Windows with an USB Type-A to Type-C adapter which works with all the external USB sticks, HDs.
I installed, STM32IDE, MX and Programmer and they seem to work right but the ST-Link V3 is not found.
When I connect the STM32H7474I-Disco board to MacBook Pro M2 then the LCD of the discovery board blinks 3-4 times (not enough power?) then stay on and runs my demo app just fine. Interesting...
Do you have any idea wha I did wrong?
Thanks,
Louis
2025-02-12 11:17 AM
2025-02-12 11:34 AM
Thanks, but it happens on MacBook Pro M2 (with latest MAC OS) not Windows. The Type-A to Type-C adapter is tested with many USB sticks/drives on that Mac including an 512GB Samsung M2 external SSD. I do not think this is a Type A to C adapter issue.
Louis
2025-02-12 11:44 AM - edited 2025-02-12 11:44 AM
The article is not tooking about a adapter issue or a problem on only windows PCs. Please read the article carefully and try all proposed work arounds. I think they should be helpful.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-02-12 12:05 PM - edited 2025-02-12 12:05 PM
The mitigation suggestions in the referred post:
I do not know what else I could try. It is hard to believe that STM32H7474I-Disco board was not tested with a MacBook.
Louis
2025-02-12 3:30 PM
Hi STTwo-32,
Just two short facts:
Thanks,
Louis
2025-02-13 6:41 AM - edited 2025-02-13 6:56 AM
Hi STTwo-32,
I borrowed an STM32H723ZG Nucleo board and I connected it with the same USB C to A converter and the same USB cable to the MacBook and I found the same: ST-Link still was not recognized...
Because we did not have other USB-C Hub we used our 8 (++) years old "no name" (i-Tech or something like that) USB 3.0 Type-A Hub (with 10-100 LAN port). The original Samsung USB C to A adapter (came probably with Samsung Galaxy S10 phone) was STILL connected one the USB C port of the MackBook Pro. The USB 3.0 Type-A Hub was connected to the adapter and the STM32H7 discovery/nucleo board was connected to the HUB.
And voila, with this complicated connection the MacBook recognized the ST-Link and STM32CubeIDE/Programmer recognized the ST_Link device. Everything worked just fine.
Who understands this? (I attached a picture about the complicated test setup).
So, my advice to everybody who runs into the same problem with Mac OS computers is: try to use a minimum USB 3.0 (or higher) USB HUB to connect STM development boards to USB C port of MacBook or MacOS computers.
Thanks for all help.
Louis
Ui.: Sorry, I forgot the picture...