1

I am going to create a game console. The games will be in an SD card and an Arduino (or an Atmega chip) will read a hex file's contents to RAM and will flash it to another one. Something like this but here, the guy says that this only works for atmega328, and I am planning to use a ATSAM3X8E chip and also I am worried about the power levels (5v - 3v3).

Is there any way for me to use an Atmega chip like Atmega16u2 and use that to flash something like an ATSAM3X8E? If so, what protocol should I use and how may I implement it in my code?

12
  • That video isn't really relevant. Unless you want to waste two arduinos for this project, which is a bit wasteful. What you want to do is have the Arduino program itself. This is normally done via a bootloader (at least on the ATMegas). I found a bootloader that updates it main program via a SD card Commented Jul 1, 2020 at 14:20
  • As for the ATSAM, have a look at stackoverflow.com/questions/14960075/… Commented Jul 1, 2020 at 14:23
  • @Gerben I want to waste two arduino's, actually I will use an Atmega16u2 for flashing the ATSAM3X8E from the sd card. Commented Jul 1, 2020 at 14:23
  • 1
    @Juraj I need to display a GUI to ask the user about which program to flash. Commented Jul 1, 2020 at 14:26
  • 1
    @Juraj how may I flash then? Commented Jul 1, 2020 at 14:36

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.