Fix some fpga protocol issues