3 ms·
Small nit: $3 != $100+ That said, using native SPI bus on a closest laying around (embedded) Linux board is an awesome idea hardware-wise. What about software
by aexaey 10y ago
Small nit: $3 != $100+
That said, using native SPI bus on a closest laying around (embedded) Linux board is an awesome idea hardware-wise. What about software though? Will dd if=file.bin of=/dev/spidev0.0 fail to write to an SPI NOR chip?
- nickysielicki 10y agoFlashrom [1] is the go-to tool for everything SPI on *nix. It knows how to identify chips and will prevent you from doing anything stupid, if it can. [1]: https://www.flashrom.org/Flashrom https://www.flashrom.org/Flashrom (As of January, it looks to have support for your $3 programmer! https://github.com/flashrom/flashrom/blob/86bb6c55dd3bb1a167dec4548976d1d10748ded7/ch341a_spi.c https://github.com/flashrom/flashrom/blob/86bb6c55dd3bb1a167... )
- aexaey 10y agoNever heard before about the "flashrom" tool. Looks nice, especially the long list of supported HW. Thanks!