xfxf_ has quit [Quit: Connection closed for inactivity]
<cr1901_modern>
_florent_: The fix in 01a2fc11e only partially fixes the problem. I can still duplicate the USB lockup under the following conditions:
<cr1901_modern>
1. Upload a binary via serial SFL
<cr1901_modern>
2. Before you reset via a pushbutton, type any key
<cr1901_modern>
3. When you reset via pushbutton, BIOS will eventually
<cr1901_modern>
Actually, the hang can still happen if you're holding down, say, the enter key and you press the pushbutton to reset
<cr1901_modern>
Not as urgent of a fix, but thought you should know. I'm almost certain it's the same problem that I'm triggering in creative ways :P
tpb has quit [Disconnected by services]
tpb has joined #litex
<_florent_>
cr1901_modern: thanks, I was in fact also aware of this one :) but I'm not sure it's CDC related here and only happens when sending characters while doing the reset. I have an OrangeCrab design with LiteScope in place that I could use to have a closer look at this, will do that tomorrow.
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
Bertl_zZ is now known as Bertl
<cr1901_modern>
_florent_: My guess is during reset the UART RX FIFO signal to indicate non-empty goes low before interrupts are enabled. But we clear the interrupt without draining the FIFO. So RX interrupts never arrive.
<cr1901_modern>
I might have some of the fine details wrong, but start there :P
andrewb1999 has joined #litex
<zyp>
is level triggered interrupts not an option?
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
futarisIRCcloud has joined #litex
<futarisIRCcloud>
_florent_: Congrats on running Enjoy Digital for 10 years!