How to Program Helder's All in One GBZ PCB with USBasp Programmer
Posted: Thu Aug 11, 2016 4:56 pm
As promised here is the guide for USBasp users, now you can use the Arduino IDE to do this as well but you need to compile the files and all that and in this guide I use AVRDudess a GUI to the awesome AVRDude. If you have a MAC OSX and a USBasp then you will need the sketches from the other thread and upload it through the IDE, simply Choose USBasp from the programmer Drop Down menu.
The files (Windows Users Only):
https://cdn.discordapp.com/attachments/ ... DUDESS.zip
or
http://www.mediafire.com/download/db7mq ... DUDESS.zip
Use these new Hex files for more stability and no multi button presses
http://www.mediafire.com/download/9gtqe ... _Files.zip
Extract the File and there should be 2 folders
We only need the AVRDudess folder but I included the USBasp drivers in case it was needed.
Now we need to setup our programmer ISP pin header, if you have an adapter like this below or a cable with 6 pin holes get a 6pin double header
Put the header in the cable/adapter with the long part in so only the little stubs show:
Now be sure you line up the pins of the cable/adapter properly with the board ISP pins and they go in the same named holes or you could damage the board.
Programming:
Open up the AVRDudess program and set up everything as you see in the image below, I have numbered steps that I will explain.
1. Choose USBasp and also set the bit clock.
2. Set the Fuses exactly as shown and check off the box
3. Set it to Erase the Flash
4. Choose one of the 3 hex files I provided in the AVRDudess folder
5. Connect the ISP header and push on it so it makes contact with the ISP hole walls like in the previous image above. Hit Detect and it should show the Atmega32U4 in the message window.
6. Hit Program! and let it do it's thing all the while you're holding the ISP header in place
Once it's programmed you will get the Verified Message and you're done!
The files (Windows Users Only):
https://cdn.discordapp.com/attachments/ ... DUDESS.zip
or
http://www.mediafire.com/download/db7mq ... DUDESS.zip
Use these new Hex files for more stability and no multi button presses
http://www.mediafire.com/download/9gtqe ... _Files.zip
Extract the File and there should be 2 folders
We only need the AVRDudess folder but I included the USBasp drivers in case it was needed.
Now we need to setup our programmer ISP pin header, if you have an adapter like this below or a cable with 6 pin holes get a 6pin double header
Put the header in the cable/adapter with the long part in so only the little stubs show:
Now be sure you line up the pins of the cable/adapter properly with the board ISP pins and they go in the same named holes or you could damage the board.
Programming:
Open up the AVRDudess program and set up everything as you see in the image below, I have numbered steps that I will explain.
1. Choose USBasp and also set the bit clock.
2. Set the Fuses exactly as shown and check off the box
3. Set it to Erase the Flash
4. Choose one of the 3 hex files I provided in the AVRDudess folder
5. Connect the ISP header and push on it so it makes contact with the ISP hole walls like in the previous image above. Hit Detect and it should show the Atmega32U4 in the message window.
6. Hit Program! and let it do it's thing all the while you're holding the ISP header in place
Once it's programmed you will get the Verified Message and you're done!