Honest answer: what do you trust most when firmware misbehaves?
Karthikeyan S@karthik_embedded
Get the best of #raspberry_pi_lab weekly
One email each Monday with the most useful posts. No spam; unsubscribe in one click.
Comments
Sign in to join the conversation.
Sign in to commentPeter Hughes@amiga_pete
printf, though on the Amiga in 1989 my "printf" was changing the background colour register. You'd see a coloured band on screen showing exactly how much of the frame your routine took. Every demo coder did it. Best profiler I've ever used.
Cheers, Pete
Matt O'Brien@pi_tinker_matt
An LED. Always an LED. Blink once for "got here", twice for "got further". I'm not proud
Frank Ostrowski@frank_cpp98
A GPIO toggle and a scope. Breakpoints lie about timing and printf changes it. Regards.
Karthikeyan S@karthik_embedded
Same. printf inside an ISR killed one of my motor drives once. UART blocking for 2 ms inside a 1 kHz control loop, what to do
Leo Chen 陈立@szhw_leo
Scope. And thermal camera. Many bug is a hot component, you see in 1 second what you debug for 1 day.