0
\$\begingroup\$

I have an ATMEGA328p-pu from an Arduino that was going to be used in a company product. We switched to a PCB that uses ATMELs 90USB162. I would like to make a circuit board that uses the ATMEGA to store the bootloader and eeprom data for the 90usb162 so that on button press, the bootloader and eeprom is read from the atmega and written to the 90usb162.

This is desired as we currently have approx 100 90usb162 needing to be flashed with the correct bootloader and eeprom data. Am I going about this the correct way, or is there a better way to mass flash ICs?

Project edit:

to make this project easier, i'm going to switch to the omega onion to flash the 90USB162. The omega is a full Linux box with it's own file system where i can use C++, node js and other programming languages I'm familiar with, making this whole project easier. If this works out, I'll post as an answer.

\$\endgroup\$
0
\$\begingroup\$

Adafruit has a project for a standalone AVR programmer. Theirs is Arduino-based, but since the Uno uses a '328P it should be easy enough to adapt to your needs.

\$\endgroup\$
  • \$\begingroup\$ i'm trying to flash ~100 Adafruit LCD backpacks standalone which use the Atmels 90USB162 and isn't removable, otherwise this would be ideal. thanks for the info. Doesn't solve my specific issue but does answer it in general. \$\endgroup\$ – xtreampb Feb 8 '18 at 20:38
  • \$\begingroup\$ They have a standard AVR ISP connector at one end. Just have your board use a connector or pogo pins to match. \$\endgroup\$ – Ignacio Vazquez-Abrams Feb 8 '18 at 20:51
  • \$\begingroup\$ I completely forgot about that. I even found wire diagrams and everything telling me how to do it. For future reference: [wire guide] (quora.com/What-is-the-function-of-ICSP-pins-on-the-Arduino-Uno) in combination with the Adafruit source this shouldn't be difficult. Thx for the guidance. \$\endgroup\$ – xtreampb Feb 8 '18 at 22:21
  • \$\begingroup\$ It's also described in AVR042. \$\endgroup\$ – Ignacio Vazquez-Abrams Feb 8 '18 at 22:36
  • \$\begingroup\$ the link i ment to use above is [arduino guide] (arduino.cc/en/Tutorial/ArduinoISP) \$\endgroup\$ – xtreampb Feb 8 '18 at 22:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.