TC4 shield bring-up diagnostic sketch