WestfW/OptiLoader — Issue #3: Page commit speed improvement
Author: Extent421
Created: 2012-02-20 03:04:26+00:00
State: open

if you replace the
```delay(100```
in the commit function with:
```while(spi_transaction(0xF0, 0, 0, 0) == 0xFF){};```
to poll the RDY/BSY flag of the micro, you can increase your write speed by about 6x, shaving off 1.5 seconds on a bootloader sized write. The same thing works on the chip erase delay, shaving off about another 90ms