Page 1 of 1
STM32G474 shell over USB demo
Posted: Fri May 13, 2022 5:50 pm
by Roberto Geografo
Hi,
I am trying the USB_CDC demo code from ChibiOS v21.11.1 (and also on v21.6.0) on an STM32G474RE Nucleo board.
However, the USB appears as devttyACM0 but it's "not active", I can see that from the blinker thread on line 100.
Is there anything that I should be doing from the receiver PC that I am currently missing?
Best,
Rob
Re: STM32G474 shell over USB demo
Posted: Fri May 13, 2022 7:05 pm
by Giovanni
Hi,
If it is a Linux PC nothing is required, it should just work. Is the USB connector attached correctly to the board? It is also possible that your terminal emulation program is sending some unsupported Ep0 command causing the driver to stall.
If it is an USB3 try an USB2 port, just in case.
Giovanni
Re: STM32G474 shell over USB demo
Posted: Sun May 15, 2022 10:17 pm
by Roberto Geografo
Hi Giovanni,
I am using a Linux PC and GTKTerm. Also, I am connecting the Nucleo board to a USB2 port. Unfortunately, I don't see the shell initialisation statement appearing in the terminal, nor I am able to write anything to it.
I may be able to try with an STM32F303RE Nucleo board tomorrow and see if I get anything different.
Best,
Rob
Re: STM32G474 shell over USB demo
Posted: Mon May 16, 2022 1:45 pm
by Roberto Geografo
Hi,
It's not working on the STM32F303 either. Should the device be recognized as devttyACM0?
Re: STM32G474 shell over USB demo
Posted: Mon May 16, 2022 2:02 pm
by Giovanni
It is working here, probably ACM0 is the ST-Link in your case, try ACM1.
Giovanni