flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=20000 -w $1
flashrom on Linux 6.1.54_1 (aarch64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.
flash should be on /dev/spidev0.0
I found that once if some different configuration is flashed on hx8k board, it's flash is not detected. Yesterday, I flashed verilog bitstream to test it's ram and then, the flash is not detected again.
Has anyone faced this issue? Possibly, solved it?
Have you connected the #RESET pin to the FPGA, and are you holding it low while trying to access the SPI flash?