sensille / litehm2

LinuxCNC FPGA board port to LiteX
26 stars 9 forks source link

Programming SPI Flash #6

Open ozzyrob opened 1 year ago

ozzyrob commented 1 year ago

Had a bit of trouble writing to SPI flash to begin with, found this command worked with a generic chinese usb-blaster. Haven't seen this in the readme or anywhere else, forgive me if I'm wrong.

openFPGALoader -c usb-blaster --fpga-part xc6slx16ftg256 -f rv901t_4out__3stepgen_2enc_1pwm.bin

Below is fine for writing to SRAM openFPGALoader -c usb-blaster rv901t_4out__3stepgen_2enc_1pwm.bin

sensille commented 1 year ago

I never tried that. My idea was to use openFPGALoader to load to SRAM and then use mesaflash. I can add your version to the readme, thanks.