2025-03-22 11:12 AM
Hello
As I am trying to connect the STM32N6570-DK board on the STM32CubeProgrammer, initially the STM32CubeProgrammer recognises my device as in the following picture:
When I press Connect on the STM32CubeProgrammer I get a
warning: Connection to device 0x486 is lost
as in the following picture:
and then an error that says Data read fail
as in the following picture:
I am using a MacBook Air M3, 2024, but even on windows (running on a virtual machine) I get the same error on the STM32CubeProgrammer windows version.
Is there a way to overcome this issue? What could be the cause?
Thank you
2025-03-22 11:49 AM
Hello @Avgerinos
I think this FAQ may help you.
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-03-23 2:05 AM
Hello @Avgerinos
I managed to get all STM32Cube tools working on Mac OS M1 and M2 without any issues. I don't have M3 hardware.
Good luck.
Romain,
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-03-29 2:32 AM
Hello @RomainR.
I have not been able to make it work.
1. I have connect it using a usb-c to usb-c cable to my computer and it seems that it recognises it as in the following picture. (I think you mean STLINK-V3EC USB Type-C CN6 connector. is this right?)
2. I am using STM32CubeProgrammer v2.19.0
3. Rosetta is installed on my computer as in the following picture
4. The firmware version is the V3J16M6 but it seems that it can not be updated. I have tried the following
Using a usb-c to usb-c cable:
I get the following error in the next picture:
Using a usb-c to usb-a cable with an adaptor for my Mac (usb-a to usb-c):
It seems that it recognises my device as in the following picture:
But when I press update I get the following:
Although it says Upgrade successful, when I refresh it shows again the first picture, meaning that the firmware has not been updated and it is still in the V3J16M6 version.
5. I confirm that the DEV_BOOT (BOOT1=H) and the Red LED2 is on after a RESET.
6. I tried the Mode=Hot plug and Reset Mode=Software reset but again I get an error as in the following picture:
(I get the same error using both cables as described above (usb-c to usb-c cable and usb-c to usb-a cable with an adaptor for my Mac (usb-a to usb-c))
7. I changed the usb cable as described above. I bought a usb-c to usb-c cable which I did not have before.
8. Well, I have not tried on another computer yet, because this is the one I have and I am able to work on. I would like to make it work on my computer since I would not be able to work on another computer.
Please let me know in case you have any other suggestions in mind.
Thank you for your help
2025-03-29 4:37 AM
Hi @Avgerinos
The actual STLink-V3 version (the one on your N6-DK) is V3J15M6, this can be checked with the STM32CubeProgrammer capture you shared in the previous post.
I confirm that the USB-C must be connected on CN6 which correspond to STLink-V3 on the DK board.
Now, concerning the STLink firmware update, Do you have clicked "Open in update mode " before starting update?
These steps are needed to configure the STLink-V3 mcu (the STM32F7 on board) in DFU mode, and then program the new firmware version in the flash.
In the Update to firmware, the version should be V3J16M7, and not the V3J15M7.
Otherwise, it seems that your computer detects well STLink. I suggest you to:
- Apply the firmware upgrade as I explained. First clic on "Open in update mode" then "Update"
- Try to uninstall, the install again STM32CubeProgrammer.
Did the board was already used in the past with STM32CubeProgrammer ou STM32CubeIDE ? If yes, it worked?
Do you change anything on the hardward?
Sorry, I don't have other solution to suggest.
Best regards
Romain
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-03-29 8:53 AM
Hello @RomainR.
About the STLink firmware update, yes I have clicked "Open in update mode " before starting update. Sorry, maybe before I did not explain all the steps.
The steps are the following:
When I press "Refresh device list" I get the following:
Then I press "Open in update mode" and I get the following:
Then I press "Upgrade" and I get the following:
But then when I press "Refresh device list" again, I get the same as the first. With the V3J15M6 version. As in the following picture. It seems that the upgrade has not been applied.
In the Update to firmware, the version that shows (as you can see in the pictures) is the V3J15M7 and not the V3J16M7.
I also tried to uninstall stm32cubeprogrammer and install it again, but with the same results.
Using the stm32cubeide I get the following:
It seems that it recognises my device:
When I press "Run" I get the following:
If I press "Yes", on the above it opens the stlinkupgrade, but if I press "No" I get the following:
The board is new and have not used in the past, and never plugged in to another computer.
I don't know what else I could try. I will give it a try on another computer at some point.
Your help it very appreciated. Thank you
2025-04-12 5:24 AM
Hello @RomainR.
I tried it on another computer (windows) and it works without any problem.
Do you know if ST is going to release an update for this fix on a Mac computer?
Thank you for your help