2026-03-17 9:42 PM
Hello,
the board type is STM32N647A0H3Q, and before creating the project it's already turn on the dev mode as shown below.
To validate ST link work with my PC, the STM32 Cube Programmer successfully connected to the board.
However, my Cube AI Studio unable to detect the board.
Thanks and Regards.
An5
2026-03-17 9:49 PM
Following figure shows the ST link info.
2026-03-18 12:57 AM
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
2026-03-18 2:58 AM
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.
2026-03-18 6:18 AM
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
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