-
Hi, First, thanks for an awesome project! Second - is there any way to debug the firmware? trace? printf? anything alone these lines to help figure out what's going on on the device in real time? The only reference I could find of "debug" is in the readme concerning debugging baud rate, but i have not idea what to make of it. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
There's not, really. @Ralim reverse engineered the buds for flashing, but I think debugging is a long way off. The typical way you'd do it is via UART, which only works whilst the buds are in the case. However, it could be worth exposing a BLE service - once licensing is done, and CMake is merged, plus refactoring - to print log messages. We'd need to abstract a logger over that. |
Beta Was this translation helpful? Give feedback.
-
Hello 👋🏼 So the buds spew debugging info out the uart all the time. However if you connect them to the charger they go into sleep mode. This way printf can be used in debugging. There is no out-of-box debug at the moment. When I'm adjusting audio related stuff, i put one in and then have the other on the uart to get logs (since they stay sync'ed) |
Beta Was this translation helpful? Give feedback.
Hello 👋🏼
So the buds spew debugging info out the uart all the time. However if you connect them to the charger they go into sleep mode.
So what I do is put a small piece of tape over the 5V pogo pin so they dont see the charger, then I can use the charger as a uart connection to debug output.
This way printf can be used in debugging.
There is no out-of-box debug at the moment.
When I'm adjusting audio related stuff, i put one in and then have the other on the uart to get logs (since they stay sync'ed)