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
STM32G474 shell over USB demo
- Roberto Geografo
- Posts: 7
- Joined: Mon Aug 09, 2021 2:09 pm
- Location: Bristol
- Has thanked: 1 time
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: STM32G474 shell over USB demo
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
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
- Roberto Geografo
- Posts: 7
- Joined: Mon Aug 09, 2021 2:09 pm
- Location: Bristol
- Has thanked: 1 time
Re: STM32G474 shell over USB demo
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
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
Best,
Rob
Rob
- Roberto Geografo
- Posts: 7
- Joined: Mon Aug 09, 2021 2:09 pm
- Location: Bristol
- Has thanked: 1 time
Re: STM32G474 shell over USB demo
Hi,
It's not working on the STM32F303 either. Should the device be recognized as devttyACM0?
It's not working on the STM32F303 either. Should the device be recognized as devttyACM0?
Best,
Rob
Rob
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: STM32G474 shell over USB demo
It is working here, probably ACM0 is the ST-Link in your case, try ACM1.
Giovanni
Giovanni
Who is online
Users browsing this forum: No registered users and 33 guests