Hello all,
I've written an interrupt-driven USB stack for CDC/Serial connections.
Everything is predicated on USB buffer completion interrupts on IRQ5.
It's working well for printf and getchar_timeout_us functions.
However, any attempt to use scanf or getc appears to result in a deadlock with no IRQ5 activity to trigger them.
There's a reference in the new SDK which I thought would help, but no luck with that.
Anyone have any ideas where I can look next please as I simply can't determine where or how my IRQ5s are being blocked.
regards,
SC.
I've written an interrupt-driven USB stack for CDC/Serial connections.
Everything is predicated on USB buffer completion interrupts on IRQ5.
It's working well for printf and getchar_timeout_us functions.
However, any attempt to use scanf or getc appears to result in a deadlock with no IRQ5 activity to trigger them.
There's a reference in the new SDK which I thought would help, but no luck with that.
Code:
PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS
Anyone have any ideas where I can look next please as I simply can't determine where or how my IRQ5s are being blocked.
regards,
SC.
Statistics: Posted by serialcomms — Mon Aug 19, 2024 7:10 pm — Replies 0 — Views 17