cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Cube AI can not connect to MCU STM32N647A0H3Q

An5
Associate II

Hello,

the board type is STM32N647A0H3Q, and before creating the project it's already turn on the dev mode as shown below.

WhatsApp Image 2026-03-18 at 12.33.22 PM.jpeg

To validate ST link work with my PC, the STM32 Cube Programmer successfully connected to the board.

Screenshot 2026-03-18 123850.png

However, my Cube AI Studio unable to detect the board.

Screenshot 2026-03-18 124045.png

 

Thanks and Regards.

An5

4 REPLIES 4
An5
Associate II

Following figure shows the ST link info.

Screenshot 2026-03-18 124834.png

Hello @An5 

Could you please share the logs available in:

C:\Users\<username>\.stm32cubeaistudio\logs

 

I will look at events corresponding to board plug/unplug to see if it correctly catches it.

 

Best regards,

Yanis

 


In order 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 Yanis,

the logs is as attachments.

in error.log shows:
2026-03-17 16:26 [ERROR]: Error retrieving serial number for device: Error: LIBUSB_ERROR_NOT_FOUND
2026-03-17 16:44 [ERROR]: Error retrieving serial number for device: Error: LIBUSB_ERROR_NOT_FOUND
2026-03-18 13:49 [ERROR]: Error retrieving manufacturer: LIBUSB_TRANSFER_STALL
2026-03-18 13:49 [ERROR]: Error retrieving serial number for device: Error: LIBUSB_TRANSFER_STALL
2026-03-18 17:47 [ERROR]: Error retrieving manufacturer: LIBUSB_TRANSFER_STALL
2026-03-18 17:47 [ERROR]: Error retrieving serial number for device: Error: LIBUSB_TRANSFER_STALL

 

Thanks for your help.

hamitiya
ST Employee

Thanks for your reply. 

I also see events: 

2026-03-17 15:38 [INFO]: USB device unplugged
2026-03-17 15:38 [INFO]: Vendor ID: 1155, Product ID: 14152
2026-03-17 15:38 [INFO]: Detached Device Serial Number: IÿqPgRU9 ‡
2026-03-17 15:38 [INFO]: USB event:{"event":"unplug","serialNumber":"Iÿq\u0006PgRU9\u0007\u0019‡"}
2026-03-17 15:38 [INFO]: Found 0 serial ports: []
2026-03-17 15:38 [INFO]: Listing STM32CubeProgrammer boards... []

 

Strangely enough, it seems Studio is not able to retrieve the correct S/N from the ST-Link. Value looks like garbage and not correct, the expected value is the one you have seen in STM32CubeProgrammer, in the top right.

Could you please look at

- Open Device Manager

- Find your STLink VCP COM Port

- Open Properties > Properties > Details > Last Known Parent

 

image.png

and see if you can find the ST-Link S/N in the value ?

 

I will note this issue, if finding ST-Link S/N is not reliable, we should be able to fallback in another way, like performed in STM32CubeProgrammer.

 

Best regards,

Yanis


In order 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.