top | item 44405375

(no title)

73kl4453dz | 8 months ago

Until you've used an oscilloscopes to debug your buggy kprintf, you haven't lived.

discuss

order

tonyarkles|8 months ago

LOL 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|8 months 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|8 months ago

First thing to do is get a working UART.

_sbrk|8 months ago

First thing to do is get a GPIO pin or two to toggle. Plenty of debug patterns that one can blink out.