Hello
I have a bunch of usbasp's I want to reprogram. They have an atmega8 mcu. I would like to make a shield so that when I plug the target board (usbasp) in, hit a button on the arduino then the arduino automatically reprograms it. Dont need to have the usb hooked up to computer running avrdude or similar
Thinking I can get one of these programs and the hex to fit on the arduino. The hex for usbasp is 13kB. Mega Isp is about 12 kB . Think this is the same as Arduino Isp Then there is also Nick Gammon's Atmega_Board_Programmer. that sketch is about 22kB
Looking for advice on how to proceed or if there is already an example. other considerations
- If the hex wont fit could I store it on external eeprom. I already have one with an AT24C512
- Once I get this working I would like to multiplex the whole operation to do 4-12 units at once. Something along the lines of the mux Shield. But I need to walk before I can fly
The ultimate goal is to be able to replace the closed source chinese firmware that comes on these units with official usbasp open source software on about 50 usbasp's as fast as I can plug em in and take em out, with led indicators to report pass/fail/inprogress
Thanks for your help