Digistump Forums

The Digispark => Digispark (Original) Support => Topic started by: mron on February 15, 2013, 09:20:17 am

Title: How does avrdude know about digispark?
Post by: mron on February 15, 2013, 09:20:17 am
I'm looking at the avrdude.conf. THere is no entry for the digispark. avrdude -cdigispark starts up the upload process, without specifying a .conf file. How does avrdude know about the digispark?


I'm still trying to use an old g4 mac to upload to the spark. I have to go back to a 2010 version of crosspack to get a version of avrdude that will run. I'm hoping I can find a digispark config description that will get this old version to work.
Title: Re: How does avrdude know about digispark?
Post by: mron on February 15, 2013, 12:09:01 pm
Looks like avrdude is a binary wrapper around avrdude_original. the original has the ppc binary, avrdude sadly does not.


so, like dude.. wheres my binary?


what does the wrapper do?
Title: Re: How does avrdude know about digispark?
Post by: digistump on February 15, 2013, 04:18:23 pm
avrdude - the modified one we provide - is just a basic C++ program (sources: https://github.com/digistump/avr-dummy) the look for the -cdigispark setting and sends the file info to the micronucleus executable
if it doesn't see -cdigispark then it sends all the parameters to avrdude_original - the regular avrdude executable