joepasquariello / FlasherX

Over-the-air firmware updates for Teensy LC/3.x/4.x/MicroMod
52 stars 14 forks source link

Only works if buffer is used #1

Closed tyzjames closed 1 year ago

tyzjames commented 1 year ago

I'm reading a hex file from a SD card. The code never reaches the flash_write_block function because it is always aborted at the first if-else statement.

https://github.com/joepasquariello/FlasherX/blob/9d5067bf168cd8937201b1fc4b120836464a77fa/FXUtil.cpp#L71-L77

tyzjames commented 1 year ago

Read more in the forum thread and found that I had to increase the flash reserve size as I was using the eeprom library. Resolved.