Tried to debug SPI_FLASH_CONTROL using UART_DEBUG, but I'll need chipscope for that