Fix minor bugs + windbond FLASH chip basic testing