In file sflash_write.c need comment out at end of file, because only first time working, at second time spi deinited (don't tuch in 3.7.0)
............
back_to_idle:
//deinit_sflash( &sflash_handle); darius her problem in 3.5.2
data_transfer.command = MFG_SPI_FLASH_COMMAND_NONE;