chnWriteTimeout and debug
Posted: Mon Jun 02, 2014 4:29 pm
hi again,
i'm using chnWriteTimeout with all debug enabled, and problem is when it time-out it goes into kernel-panic as debug error.
I want to ignore this, as i'm using to write over USB-cdc only when it is connected, and someone can connect-disconnect the USB when it like (basically, i'm sending a stream of data as debug, and user can connet and look at that).
Obviusly if user disconnect at the right time, when theprint is going on, that timeout occurs, and subsequential kernel panic. Is tehrea way to tell chibios to consider that timeout as "normal flow" and not debug error?
i'm using chnWriteTimeout with all debug enabled, and problem is when it time-out it goes into kernel-panic as debug error.
I want to ignore this, as i'm using to write over USB-cdc only when it is connected, and someone can connect-disconnect the USB when it like (basically, i'm sending a stream of data as debug, and user can connet and look at that).
Obviusly if user disconnect at the right time, when theprint is going on, that timeout occurs, and subsequential kernel panic. Is tehrea way to tell chibios to consider that timeout as "normal flow" and not debug error?