Siana N6Cam (STM32N657): USB CDC enumerates only after replugging USB data cable
Hello!
I am using a Siana N6Cam board with an STM32N657, an ST-LINK-V3MINIE, and STM32CubeProgrammer v2.23.0. The board has a separate USB data connection for the application’s USB CDC interface.
I flash an AI application and model to external flash, then use a RAM FSBL to start the application while the board is in DEV_BOOT mode.
Issue: With the USB data cable already connected, the application’s USB CDC COM port does not enumerate after the FSBL starts the application. If I unplug and replug only the USB data cable, the COM port appears. No reflashing is needed.
I need the COM port to appear automatically when the application starts, without a physical cable replug.
Could you advise:
- Does STM32N6 require an explicit USB device disconnect/reconnect or PHY reset when handing off from a RAM FSBL to the application?
- What should I check in the USB PHY clock, VBUS sensing, and USB initialization sequence on the Siana N6Cam?
- I observe even in Booting the signed FSBL from external flash - it needs the USB Replug to enumerate the Port
Is there any approach I could follow to avoid doing replug
