f32c / tools

ULX2S / ULX3S FPGA JTAG programmer & tools (Lattice XP2 / ECP5)
22 stars 16 forks source link

ujprog 4K flash erase block #11

Open emard opened 5 years ago

emard commented 5 years ago

Use shorter flash erase block.

Instead of erasing flash in chunks of 64 KB blocks with SPI opcode 0xd8 erase in chunks of 4 KB block with legacy SPI opcode 0x20.

Should also improve compatibility among various flash chips.