How do you debug a hardware-software integration issue when you do not know whether the fault is in hardware or software?