Can I program SPI flash memory using Arduino

Hi, I have a bricked AVR receiver after unsuccessful update. It has two flash memory chips, both are the same: MX25L6406EM2I-12G (FLASH - NOR Memory IC 64Mbit SPI 86 MHz 8-SOP). One guy has sent me .BIN files from his working receiver and I would like to try to program those to see if that will fix the AVR.

But I don't have any programmator nor knowledge. I have one Arduino Uno and few Nanos at home and I'm wondering if I can use them for programming those flash memories.

It can be done but it will be a tedious exercise. First study the data sheet to determine how the chip operates.

Then it is a simple matter of writing a lot of code to take the .bin image and copy it to the new memory chip.

I know already that this is possible, as both support SPI :slight_smile: but I'm trying to avoid doing this manually "bit by bit" as I have no knowledge or time for that. In that case, it's easier for me to buy a programmer.

My question was more about existing solutions for this: maybe someome made an app which I can simply start, select on which ports memory is connected, load BIN file and click "Flash" or at least if there are some libraries for this with code examples which I can re-use.

I saw somewhere that there are libraries for Arduino for communicating with flash memories. But how do I "load" .bin file to Arduino? I have an SD card shield somewhere but I guess it should be possible via USB?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.