cancel
Showing results for 
Search instead for 
Did you mean: 

ST-LINK on STM32N6570-DK board warning 0x486 when connecting on STM32CubeProgrammer

Avgerinos
Associate III

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:

Avgerinos_2-1742666733824.png

 

When I press Connect on the STM32CubeProgrammer I get a
warning: Connection to device 0x486 is lost
as in the following picture:

Avgerinos_0-1742666416276.png

 

and then an error that says Data read fail
as in the following picture:

Avgerinos_1-1742666602148.png

 

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

 

6 REPLIES 6
STTwo-32
ST Employee

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.

RomainR.
ST Employee

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.

  1. Start with connecting the STM32N6570-DK STLinkV3 (CN8) to your Mac, and check if and how it recognizes the USB device (see the link below) https://www.youtube.com/watch?v=aXd7FsjcIpI
  2. Confirm that you are using the latest version STM32CubeProgrammer v2.19.0?
  3. On Mac computer, Update Rosetta: $> softwareupdate --install-rosetta
  4. Update the STLink Firmware to V3J16M7 of your STM32N6570-DK.
  5. Ensure that your board is in DEV_BOOT (BOOT1=H) and that the Red LED2 is on after a RESET.
  6. Try changing the ST-LINK configuration to Mode=Hot plug and Reset Mode=Software reset.
  7. Change the USB cable.
  8. Try on another computer.

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.

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?)

Avgerinos_0-1743239624456.png

2. I am using STM32CubeProgrammer v2.19.0

3. Rosetta is installed on my computer as in the following picture

Avgerinos_1-1743239939258.png

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:

Avgerinos_2-1743240057424.png

 

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:

Avgerinos_3-1743240161390.png

 

But when I press update I get the following:

Avgerinos_4-1743240194018.png

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))

Avgerinos_5-1743240501540.png

 

 

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

 

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.

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:

Avgerinos_0-1743262843560.png

Then I press "Open in update mode" and I get the following:

Avgerinos_1-1743262884835.png

Then I press "Upgrade" and I get the following:

Avgerinos_2-1743262924900.png

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.

Avgerinos_3-1743263014551.png

 

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:

Avgerinos_4-1743263261419.png

When I press "Run" I get the following:

Avgerinos_5-1743263383129.png

 

If I press "Yes", on the above it opens the stlinkupgrade, but if I press "No" I get the following:

Avgerinos_6-1743263412484.png

 

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

 

 

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