←back to thread

305 points AlexeyBrin | 2 comments | | HN request time: 0.439s | source
Show context
Tepix ◴[] No.44404824[source]
Very impressive! Low end work is often tedious and time consuming, especially if you lack the essentials like a debugger.
replies(1): >>44405375 #
73kl4453dz ◴[] No.44405375[source]
Until you've used an oscilloscopes to debug your buggy kprintf, you haven't lived.
replies(2): >>44405782 #>>44408370 #
1. tonyarkles ◴[] No.44405782[source]
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...

replies(1): >>44410751 #
2. ForOldHack ◴[] No.44410751[source]
"couldn't figure out the chain of events that led to hard faults..."

Tales from the terminal/dark side/h4x0r pro in da house!