Looking for feedback on how to listen in in the bus?

Looking at the anduril code. It seems to be driven by int variables which appear to be based on bits. How can I listen in on the driver to see what it’s doing so I can start modifying the firmware blindsided ?

External:

  • Oscilloscope
  • Logic analyzer

Internal:

  • debugWIRE (slow!)

Realistic:

  • Just read and understand the code. Test the behavior of the flashlight. As a last resort use software emulation, e.g. simavr and gdb.