Uploading Hex files to external EEPROM using an Arduino
Posted: Wed Apr 22, 2015 3:50 pm
Ice-nine and I are working on an FV-1 project at the moment in which we hope to have two external EEPROMs which have their address pins set so that they can be selected by an Arduino Uno. Hopefully this will allow to expand the FV-1 programs to 16.
We have designed a 3.3V <-> 5V bidirectional logic level shifter for the SCL and SDA lines so hopefully this will allow the 3.3V logic FV-1 and the 5V Nano to access the EEPROMs on the I2C bus (not at the same time of course).
We would like to allow users to be able to upload their own FV-1 programs to either or both of the EEPROMs and although we have designed in a programming g interface, we wish to avoid them having to buy a PICkit2 or similar programmer. The idea is to use the USB interface on the Nano to transfer the HEX files from the user's computer to the EEPROM via the Nano.
Does this sound feasible and is it simply a question of writing the HEX file byte by byte to the EEPROM or is there some special protocol needed?
How is the checksum calculated so users could verify their upload is correct?(the PICkit2 does it for example)
Thanks for taking the time to read this long epistle
Phil.
We have designed a 3.3V <-> 5V bidirectional logic level shifter for the SCL and SDA lines so hopefully this will allow the 3.3V logic FV-1 and the 5V Nano to access the EEPROMs on the I2C bus (not at the same time of course).
We would like to allow users to be able to upload their own FV-1 programs to either or both of the EEPROMs and although we have designed in a programming g interface, we wish to avoid them having to buy a PICkit2 or similar programmer. The idea is to use the USB interface on the Nano to transfer the HEX files from the user's computer to the EEPROM via the Nano.
Does this sound feasible and is it simply a question of writing the HEX file byte by byte to the EEPROM or is there some special protocol needed?
How is the checksum calculated so users could verify their upload is correct?(the PICkit2 does it for example)
Thanks for taking the time to read this long epistle
Phil.