Firmware Programming for Integrated Testing