Carl-Daniel Hailfinger
2018-09-27 20:52:24 UTC
yeah, also is there a programmer you recommend for 32MiB parts?
Any programmer that can handle arbitrary SPI commands, e.g. single-board computers with native SPI interface (RPi, BeagleBone Black etc.),
CH341A is popular but slow, FTDI based programmers are faster (FT232H/
FT2232H/FT4232H), serprog programmers (some may not be too slow), Bus-
Pirate rather slow too.
Raspberry Pi or Beaglebone Black.
The Beaglebone Black has an abysmal internal power supply and for any
in-circuit flashing you'll need an additional 3.3V supply for the flash
chip. For standalone chips it usually is sufficient, though.
The Raspberry Pi has SPI disabled by default, you need to add
dtparam=spi=on to the file /boot/config.txt .
Regards,
Carl-Daniel
Nico
thanks
ron
ron
Ah, dediprog... you happen to have the one programmer that is hard to
support.
are not implemented yet for dediprog. It should fall back to another
instruction though. Unless the dediprog resets the chip between in-
structions, it should actually work. Though, David seemed to have
trouble with that too, I didn't test it myself yet.
Nico
support.
hmm, is this useful?
Found Spansion flash chip "S25FL256S......0" (32768 kB, SPI) on dediprog.
Erasing and writing flash chip... 4-byte address requested but master
can'tFound Spansion flash chip "S25FL256S......0" (32768 kB, SPI) on dediprog.
Erasing and writing flash chip... 4-byte address requested but master
handle 4-byte addresses.
That is expected, native 4-byte instructions are tried first but theyare not implemented yet for dediprog. It should fall back to another
instruction though. Unless the dediprog resets the chip between in-
structions, it should actually work. Though, David seemed to have
trouble with that too, I didn't test it myself yet.
Looking for another erase function.
Can you please just post the whole log (best taken with -o logfile).Nico