Fix a bug in ch341SpiRead and cleanup
chip erase done