Page 2 of 6

Re: STM32L476 USB HAL errors

Posted: Sat Jan 21, 2017 1:08 pm
by lilvinz
Bumping this thread as it has been marked as resolved.

Re: STM32L476 USB HAL errors

Posted: Sat Jan 21, 2017 2:32 pm
by Giovanni
Hi,

Removed the mark. Isn't that option available to you too?

Giovanni

Re: STM32L476 USB HAL errors

Posted: Sat Jan 21, 2017 3:08 pm
by lilvinz
I don't see, how. Maybe the thread-starter can do it though.

Cheers

Vinz

Re: STM32L476 USB HAL errors

Posted: Fri Feb 17, 2017 11:29 am
by rawsock
I got exactly the same results, i.e. USB_EP0_SENDING_STS upon USB/CDC enumeration on custom STM32L476 board. Disabling assertions 'fixes' the problem.

Re: STM32L476 USB HAL errors

Posted: Tue Feb 28, 2017 10:30 am
by Giovanni
Hi,

It is odd, on my home desktop running Linux Mint I get the problem, on a Win7 laptop it works... I need to swap boards and see if it is the same.

Are you guys using Linux while experiencing this?

Giovanni

Re: STM32L476 USB HAL errors

Posted: Tue Feb 28, 2017 11:13 am
by lilvinz
Hi Giovanni,

using Linux Mint only.

Cheers

Vinz

Re: STM32L476 USB HAL errors

Posted: Tue Feb 28, 2017 3:21 pm
by rawsock
I'm using Win10 64bit, USB3.0, default Windows USB/CDC driver. Maybe it has something to do with USB controller and/or driver timing.

Re: STM32L476 USB HAL errors

Posted: Mon Mar 06, 2017 2:47 pm
by Giovanni
Hi,

It is a time-dependent issue, on my Mint Laptop the problem was also triggered but in a different assertion. I noticed that the problem always occurred while serving an OUT endpoint, it is like IN interrupts are delayed somehow.

I commit a tentative fix: Reversed the order of EP IRQ servicing, OUT first then IN. It appears to fix the issue on both my desktop and my laptop, could you confirm if it is fixed on your side? if so I will proceed with a release ASAP.

Giovanni

Re: STM32L476 USB HAL errors

Posted: Tue Mar 07, 2017 8:10 pm
by lilvinz
Hi Giovanni,

i tested reversing the order with no difference. The problem still persists.

Cheers

Vinz

Re: STM32L476 USB HAL errors

Posted: Tue Mar 07, 2017 9:17 pm
by Giovanni
Does it stop in the same assertion for you?

Giovanni