2024-05-28 02:06 AM - edited 2024-05-28 02:07 AM
Hello,
TLRD: I cannot connect to a STM32H747I-DISCO board using my Mac/M3.
my setup is a MBP with M3 (Apple Silincon) and MacOS Sonoma 14.4. Installed latest release of STM32CubeProgrammer and bought a STM32H747I-DISCO dev board. Connecting through a USB-C to Micro USB cable on default port CN2 (labeled STLINK-V3E USB connector) and verified that the Jp6 Jumper is set correctly to STlk.
Checked on system preferences that there is a STLink under the USB tree of MacOS.
The board lights up and the connect led flashes then stays green. The powe led below stays green. Nothing shows up on the touch screen.
Upon launching STM32Connector I cannot connect to the board with buttons. I've tried upgrading the firmware with the corresponding button/modal dialog.
Sometimes (after plugging and unplugging the USB cable) the system detects the firmware SN (it's a long string of numbers) and gives the option to update, but then fails.
In the meantime the ST_Link configuration panel shows a Serial number in the Drop down (after a refresh). Port is set to SWD.
After trying to connect explicitly or updating the firmware, every trace of serial number diasppears.
What's more, my Mac complains that the disc STM-I747X (or something like this string) was unplugged before being unmounted.
When I can see the "disk" mounted, if I click on it in the Finder window, the system hangs for a little while then the disk goes away with the same above message.
The least I can say is that everything is very unstable.
Is it because I am using a MacBookPro and what's worse, an Apple Silicon chip?
Any idea on how to debug this issue?
Thanks
That's the most I have achieved. When I get back to my lab I can share a screenshot of the Firmware update panel if I can get it "working" again.
Solved! Go to Solution.
2024-05-28 10:20 AM
Hi @walterg
To mitigate USB communications failures with your STLink-V3 device, we suggest the following proposed solutions:
Our teams are continually investigating the root cause of the issue and are actively working on a solution.
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.
2024-05-28 10:20 AM
Hi @walterg
To mitigate USB communications failures with your STLink-V3 device, we suggest the following proposed solutions:
Our teams are continually investigating the root cause of the issue and are actively working on a solution.
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.
2024-05-30 12:52 AM
Hello @FBL ,
thanks.
I've tried some:
Anyway, thanks for the answer!
Will keep updated once I have bought an external probe
Best regards
WG
2024-06-02 08:43 AM - edited 2024-06-02 08:46 AM
HI, Just received a STLink-V2.
But looking at the dev board doc I don't exactly see where to connect the pins.
I've looked for SWDIO/SWCLK ping but
* either are on an unsoldered header (CN4) and right now I'm on leave and don't have my soldering kit
* are on a smallish header CN13 which is too big for my dupont connector wires (usual 0.1")
* on the JTAG pad, which I cannot connect with the external probe I've bought
I suspect I bought it too quickly before checking the specs, but maybe I am wrong? If you hve any inputs it's welcome
But..I've tried via a external HUB and a USB-A - to mini cable, and it seems connected! I've tried STM32CubeConnect and I can see this! @FBL , thanks for the suggestion!
Thanks
W
2024-06-02 09:17 AM
I've succeeded in programming the demo hen formatted a card as ExFAT (and also normal FAT) and copied the Media/ dir content onto the card.
Plugged the card but.. nothing. The main led stays red.
I've tried the Reset or Wakeup buttons, nothing.
Is there a step that I am missing?
Thx
2024-06-05 05:50 AM
Hi @walterg
Did you insert a hub and see if the issue persists?
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.
2024-06-11 12:54 AM - edited 2024-06-11 12:59 AM
Yes, @FBL ,
it's only by using a usb-c HUB that I could plug a standard USB-A to micro-USB cable, and thus program the board.
The issue I have is that, after having successfully programmed the demo onto the board (at least that's what STM32CubeProgrammer wrote), nothing happened on the board. Screen was blank and remained blank.
What Can I do to check that the demo is installed and how can I make it "run"? Shouldn't it run when the board wakes up?
Maybe the SD card was formatted wrongly?
Regards
W
2024-06-11 04:49 AM
Hi @walterg
It is possible that SD Card is not formatted to FAT32. Make sure to use latest version of DEMO from STM32CubeH7/Projects/STM32H747I-DISCO/Demonstrations at master · STMicroelectronics/STM32CubeH7 (github.com)
Ensure your HW configuration is by default. Follow step by step demo readme to make it work.
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.
2024-06-13 12:41 AM
Hi @FBL ,
I've tried everything from scratch:
Everything is OK but nothing shows on the display. The main led blinks
Any idea on what I am missing?
There is something basic I think.. why the led blinks?
Thanks
W
2024-06-14 08:25 AM
Hi again @walterg
Unfortunately Demo binary is built for an old revision of the board and it is no longer maintained. Could you try the updates to support Dynamic ID? You need to update patch of CubeH7.
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.