Generating random content with size:
Never trust autodetect, specify the flash name explicitly with -c. (My SST25LF040A was not detectable with autodetect)
Assert CS at the begining of spi_master::command and deassert befor leaving it.
head -c 524288 </dev/urandom > random.bin
Never trust autodetect, specify the flash name explicitly with -c. (My SST25LF040A was not detectable with autodetect)
Assert CS at the begining of spi_master::command and deassert befor leaving it.