timvideos / qemu-litex

Other
2 stars 2 forks source link

Get SPI flash bit banging working #4

Closed mithro closed 7 years ago

mithro commented 7 years ago

The SPI flash operates in two modes;

Reading is done via the memory mapped interface. The bit banging is needed for writing.

There is an existing model for emulation of SPI flash we use.

mithro commented 7 years ago

https://github.com/timvideos/qemu-litex/tree/master/hw/ssi https://github.com/timvideos/qemu-litex/blob/master/hw/block/m25p80.c

mithro commented 7 years ago

It's working!

mithro commented 7 years ago

Branch started for rebase onto master and merging upstream - https://github.com/mithro/qemu/tree/litex-spi