Some HELP with programming an Atmega32U4 with ISP

Arduino-related hardware discussion (including Teensy and other Arduino clones)
peoplesbeer
Posts: 53
Joined: Wed Jun 08, 2016 5:43 am
Location: Sweden
Has thanked: 1 time
Been thanked: 2 times

Re: Some HELP with programming an Atmega32U4 with ISP

Post by peoplesbeer » Tue Dec 06, 2016 3:04 pm

I'm borrowing the thread a bit, hope it's ok.

So I have this board and flashed it once. Everything seemed fine but controllers didn't work once I added it to the build.
Now I want to try to re-flash it just to narrow down possible issues but I can't get it recognized in the port section.
I'm on Mac and using Arduino 1.6.5.
Setting it as Arduino Leonardo and in Ports/Coms, nothing.

What am I doing wrong? When I try to flash it without setting a port I get this:
Board at /dev/cu.usbmodem1411 is not available

marcushg
Posts: 37
Joined: Thu May 19, 2016 4:11 pm
Has thanked: 5 times
Been thanked: 4 times

Re: Some HELP with programming an Atmega32U4 with ISP

Post by marcushg » Wed Jan 25, 2017 6:00 am

Poppy McDoh! wrote:now i loaded the sparkfun pro micro settings in arduino ide and flashed my code to the chip. it works. but somehow the button allocation is not what i want to send. for example receiving "11" and "12" in windows/gamecontrollersettings when pressing BTN_TURBO or BTN_SLOW does not work at all!

any idea for this? here are the windows gamecontroller values i want to receive when pressing the different buttons. up, down, left, right works fine at the right pins! the other pins are mixed or do not work :shock:

##########

update:
solved by changing whole pin layout and mapping.

Hi there, i've got one of those blue arduino pro micro clones bought from aliexpress, i think it's supposed to be the same as the sparkfun. what is the code you finally flashed and with what program version etc?
thanks a lot!!!

32teeth

Re: Some HELP with programming an Atmega32U4 with ISP

Post by 32teeth » Wed Sep 06, 2017 11:03 am

If it can be of any assistance.
I typically use avrdude to flash my chips, and make to compile the hex
Public GitHub

The README.md has been updated.

TL;DR

Code: Select all

$ make && make clean && make program

32teeth

Re: Some HELP with programming an Atmega32U4 with ISP

Post by 32teeth » Wed Sep 06, 2017 11:26 am

Helder wrote:
Wed Jun 29, 2016 5:22 pm
Fantastic! I got it going, I think my problem was the crystals and it's connect capacitors. I tried a blank board and used a higher pf value and it all worked.

Thank you my good man.
Here are the parts i use

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Some HELP with programming an Atmega32U4 with ISP

Post by Helder » Wed Sep 06, 2017 11:58 am

I got away from those crystals and use a resonator with built in filter caps.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest