Problem using USART Console and USB-CDC together on STM32F4 Discovery

2021-03-20 Thread Flavio Castro Alves Filho
Hello, I am trying to enable USB CDC support with base NSH Serial in a STM32F4 Discovery board. When I build using usbnsh configuration, it works. When I build using nsh configuration (in my case, replacing USART2 to USART1), it works. Now, when I try to add USB CDC support in nsh configuration,

Re: Tasks software watchdog timer

2021-03-20 Thread Fotis Panagiotopoulos
Hi Sara, thank you very much for this detailed explanation! I am still thinking of what is the best approach for our application, that is simple and reliable enough. Nevertheless, I see that there is a general interest in this feature. May I propose again to add this in the kernel itself? So the

Re: Problem using USART Console and USB-CDC together on STM32F4 Discovery

2021-03-20 Thread Flavio Castro Alves Filho
Updating: * with the great help from Allan, I could verify that that using usart2 it works fine - stm32f4discovery uses usart2 as console - my board, similar to stm32f4discovery, uses usart1 as console * there is a conflict between the usart1 pins and usb device for stm32f4discovery configura

Re: Problem using USART Console and USB-CDC together on STM32F4 Discovery

2021-03-20 Thread Alan Carvalho de Assis
On 3/20/21, Flavio Castro Alves Filho wrote: > Updating: > > * with the great help from Allan, I could verify that that using usart2 it > works fine > - stm32f4discovery uses usart2 as console > - my board, similar to stm32f4discovery, uses usart1 as console > > * there is a conflict between t

Re: Problem using USART Console and USB-CDC together on STM32F4 Discovery

2021-03-20 Thread Flavio Castro Alves Filho
Hello Allan, I believe that rx pin from usart1 (PA10) is not yet operational. I could not find in code why. Best regards, Flavio Em sáb, 20 de mar de 2021 14:18, Alan Carvalho de Assis escreveu: > On 3/20/21, Flavio Castro Alves Filho wrote: > > Updating: > > > > * with the great help fro