im-tomu / foboot

Bootloader for Fomu
Apache License 2.0
100 stars 32 forks source link

Maximum writable file size through dfu #332

Closed sylefeb closed 2 years ago

sylefeb commented 2 years ago

Hi - I am trying to upload a relatively large file (3MB) into a Fomu PVT (concatenating design and data). I am aware of issue #330 and the fix, however I am unsure about the maximum size limit:

This overall seems to indicate 2MB flash. However, the PVT bom says 128Mbits ( https://github.com/im-tomu/fomu-hardware/tree/master/archive/pvt ) and the release message mentions 4MB? What would be the expected flash size on the PVT? (of course hoping the limit is conservative and there are a few more bytes after it ;) )

Thanks!

xobs commented 2 years ago

The BOM description is incorrect. The "EVT" board had a 128 Mbit SOIC-8 flash part, but production boards used either GD25Q16CEIGR or MX25R1635FZUIH0 (depending on availability), both of which are 16 Mbit.

I've updated the BOM to have the correct description of "IC FLASH 16MBIT SPI/QUAD 8USON".

sylefeb commented 2 years ago

Thanks, that clarifies the 2MB limit. (I'll find a way to squeeze the data within the limits)