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!!!

User avatar
32teeth
Posts: 80
Joined: Thu Mar 16, 2017 9:49 am
Has thanked: 21 times
Been thanked: 81 times
Contact:

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
Don't forget to check out my other project
---------------------------------------------------------------------------------------

Game Boy Zero - Gaboze Pocaio:
[Discussion]

[GitHub]

Gameboy Zero - Handheld Edition:
[BUY ONE HERE]
[GitHub]

---------------------------------------------------------------------------------------

User avatar
32teeth
Posts: 80
Joined: Thu Mar 16, 2017 9:49 am
Has thanked: 21 times
Been thanked: 81 times
Contact:

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
Don't forget to check out my other project
---------------------------------------------------------------------------------------

Game Boy Zero - Gaboze Pocaio:
[Discussion]

[GitHub]

Gameboy Zero - Handheld Edition:
[BUY ONE HERE]
[GitHub]

---------------------------------------------------------------------------------------

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2055
Joined: Thu May 05, 2016 8:33 am
Location: Fall River, MA
Has thanked: 1071 times
Been thanked: 2711 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.
My Sale Threads:
Blank and Audio Controller PCBs
All in One Pre-Orders
mintyPi PCB Kits


Chat with me and other members

All in One Support Thread


Don't contact me about obtaining my board files (as you will not get them). Don't contact me about any of my boards if they are sold out, they will be restocked as soon as I can get them.


Don't support thieves like ckliang who copied my AIO to resell and is now cloning the mintyPi, support the original creators and not the thieves!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest