I recently started a small project in order to discover all this AVR world that is really new to me.
I have to say that I am an extreme noobie in this field, so please bare with me, I try to understand stuff, but it is sometime hard.
The small project is the following:
I have a led matrix badge just like this one. It works via a software. I write my text, send it and it get displayed on the led badge.
I would like to use in a different way, i.e. being able to send the message in command line, for that I need to hack it.
The badge has a ATMega88PA and it looks like that from the inside:
Thanks to the help of hugo, the person who wrote this post, I understood a part of what I need to do:
I first started by wiring the programmation part to flash the AVR.
So I soldered these 6 pins (MOSI, MISO, SCK, RESET, GROUND, VCC+5v) to this USBASP AVR programmer adapter.
The datasheet, can be found here. pins are page 4 (of the document, or page8 of the pdf).
Then I plugged it to my computer, launched avrdude, typed ""avrdude -c usbasp -p m88p" (followed these steps) and got the following errors:
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
I have no idea what it does mean, so I looked on different websites and some say to update the firmware (no idea which one..), other say to "set the programming clock NO FASTER than 1/4 of FCPU of the target AVR.", so would this be 2Mhz here ? (the avr is 8Mhz), but I don't know how to do it, or is it something else?
Someone solved the issue by putting a "10 Pin to Standard 6 Pin Adapter Board For ATMEL AVRISP USBASP STK500".
I am waiting to receive mine to see if that helps.
Would there be any other ways to solve this so that I could flash the avr with the .hex file I have ?
The next step would be to wire the UART interface.
Thanks a lot for your help !