cancel
Showing results for 
Search instead for 
Did you mean: 

USB MSD problem OS send error or not fully written

MichaelQuant
Associate

I try to write my Bootloader using stm32l1 MCU and project from link but my mcu not powerful 32MHz max and have slow flash write memory

https://github.com/sfyip/STM32F103_MSD_BOOTLOADER/blob/master/Src/

Principle: emulate Fat32 file system and directly write new firmware to flash memory with decoding it from STORAGE_Write_FS() function. Everything works, but when file size >100KB, sometimes errors occur. 50% of write tests fail. Bootloader check CRC firmware, Windows sent error, or end copies but not full firmware write. Maybe you have ideas how to solve this problem?

0 REPLIES 0