@ TK and other awesome people
Ok, most of what you’re saying might be over my head, don’t even know what that foo.h is. I really don’t understand much of programming and flashing, and I wouldn’t be able to flash my drivers if there wasn’t some good tutorials here at BLF. My workflow is: compiling the code with Atmel Studio and than flashing the .hex-file with avrdude via command line, just like in hoop’s tutorial.
Now with your new headers, it’s not that hard to do it, in fact it’s easy once you know how it works. I just right-clicked the project in the solution explorer at Atmel Studio~~add~~>existing file, search for the directory, chose the file, click add. That’s what I did with all the headers that need to be included.
Another change from the way it is in hoop’s tutorial, quite important for someone inexperienced like me, is, because we’re using Attiny25 now, I had to adjust the command lines. t25 instead of t13 and other fuses.
test:
avrdude -p t25 -c usbasp -n
erase:
avrdude -p t25 -c usbasp -u -e
flash bistro:
avrdude -p t25 -c usbasp -u -Uflash:w:bistro.hex:a -Ulfuse:w:0xd2:m -Uhfuse:w:0xde:m -Uefuse:w:0xff:m
I know it’s really basic stuff for people like you or Tom…
When I found out how to do the above, compiling and flashing went just fine.
But it’s not my day today, hand-soldered the A17-HybridS, flashed it (wanted to check if firmware and driver are running as they should and do calibration afterwards), however, ruined a Convoy C8 then, because I destroyed the driver retaining threads. By the way the Convoy C8 has one of the worst driver retaining rings I’ve come across, really crappy. As if that wan’t enough my 60W soldering iron flew of the bench and in a really stupid reflex I caught it, ouch, that hurt, still does. Should’ve stopped there. But wanted to test out this awesome firmware. With the C8 ruined, I went ahead and grabbed a EE X6, thought something like “yeah, feels more like quality” and installed the driver. Works, but first mode doesn’t. Maybe too low of a value for the LED to light up?
I haven’t even read how the UI works and all, but one thing I noticed in an instant: it has soft transitions between modes and I LOVE THAT! This is something I’ve dreamed about for quite a while now. That is just awesome, you, TK, are just awesome!
No more typing for me, my hand really hurts…