Secondary Microcontroller program primary microcontroller, with hex from eeprom

So I want to make a console with removable cartridges, but the cartridges not having a microcontroller, rather an eeprom or flash. I want to use like an attiny 85 which reads the cartridge to get an hex file and then use that hex file and upload to the primary microcontroller like atmega 328p, I tried looking at the arduino as isp sketch but that is beyond my compehension, then I tried looking at using like command prompt and avrdude, but as far as I know there is no way to put avrdude on an attiny 85. Could you please help me figure this out, please and thank you.

The Atmel AVR family is not designed to support an external memory buss other than I2C / SPI - for additional peripherals and data storage.
Programs can’t be executed from external memory.
You need to search around for a processor that supports this capability.

That is not what I am trying to preform, what I am trying to preform in using another microcontroller program it with a hex file, I know you can't expand program memory, but what I want to do is upload a sketch with another micro controller.

You might begin with something like this. While it programs from a code image contained in the program itself, it could be modified to read that image from an external I2C EEPROM.

Hi @buffalobingo ,

this might be the closest project you can find

It uses SD Card but that's just the medium that holds the data.

Good luck!

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