3 ms·
Until you've used an oscilloscopes to debug your buggy kprintf, you haven't lived.
by 73kl4453dz 1y ago
Until you've used an oscilloscopes to debug your buggy kprintf, you haven't lived.
- tonyarkles 1y agoLOL in my 4th year Advanced Operating Systems Concepts course we wrote a toy x86 OS from scratch. We obviously didn't have to make our own hardware, but uhhhh I definitely added a bunch of printfs inside QEMU to dump out CPU states when we couldn't figure out the chain of events that led to hard faults. On the other side... have also definitely used a pair of LEDs to try to debug an RTOS on a microcontroller with no JTAG access...
- ForOldHack 1y ago"couldn't figure out the chain of events that led to hard faults..." Tales from the terminal/dark side/h4x0r pro in da house!
- userbinator 1y agoFirst thing to do is get a working UART.
- _sbrk 1y agoFirst thing to do is get a GPIO pin or two to toggle. Plenty of debug patterns that one can blink out.