Added some debug messages when programming the FPGA