Describe a challenging bug you encountered during hardware-software integration and how you debugged it.