Main > Main Forum

$9 'Super Easy' USB Controller hack for MAME

Pages: << < (24/24)

degenatrons:


--- Quote from: johnnygal2 on September 29, 2013, 07:11:26 pm ---
--- Quote from: PL1 on September 26, 2013, 09:45:19 pm ---
Either use a Minimus AVR and the KADE firmware or Degenatrons mentioned that if you recompile the KADE source code for ATMega32u4, you can use this chinese board (looks like an inexpensive knockoff of the Sparkfun Pro Micro) since,

--- Quote ---atmega32u4 IC is entirely compatible with the previous KADE firmwares whilst providing more pins + analog.
--- End quote ---


Scott

--- End quote ---
Hi there,
Can you point me towards any instructions for compiling for ATMega32u4?
I can see instructions for getting the source and dev environment setup for compiling for the Minimus AVR but what needs to changed for a ATMega32u4 target?

Thanks,
John

--- End quote ---

You will need to update the makefile to set MCU and remove the board specific setting for minimus
i.e.
MCU = atmega32u4
#BOARD = MINIMUS

That should be enough to compile the firmware but you may need to adapt the pin assignments to suit your avr of choice.

johnnygal2:


--- Quote from: degenatrons on September 30, 2013, 05:13:48 am ---
--- Quote from: johnnygal2 on September 29, 2013, 07:11:26 pm ---
--- Quote from: PL1 on September 26, 2013, 09:45:19 pm ---
Either use a Minimus AVR and the KADE firmware or Degenatrons mentioned that if you recompile the KADE source code for ATMega32u4, you can use this chinese board (looks like an inexpensive knockoff of the Sparkfun Pro Micro) since,

--- Quote ---atmega32u4 IC is entirely compatible with the previous KADE firmwares whilst providing more pins + analog.
--- End quote ---


Scott

--- End quote ---
Hi there,
Can you point me towards any instructions for compiling for ATMega32u4?
I can see instructions for getting the source and dev environment setup for compiling for the Minimus AVR but what needs to changed for a ATMega32u4 target?

Thanks,
John

--- End quote ---

You will need to update the makefile to set MCU and remove the board specific setting for minimus
i.e.
MCU = atmega32u4
#BOARD = MINIMUS

That should be enough to compile the firmware but you may need to adapt the pin assignments to suit your avr of choice.

--- End quote ---
Thanks, I'll give that a go.

PL1:


--- Quote from: wild_eyed on September 29, 2013, 08:07:47 pm ---is this good?

http://dx.com/p/arduino-duemilanove-mega-avr-atmega1280-16au-usb-board-118042

or this

http://dx.com/p/diy-funduino-uno-r3-development-board-microcontroller-w-usb-cable-240588

--- End quote ---

With those two, you would need to recompile the source and possibly adjust the pin addresses/numbers.  :dunno

KADE Loader currently supports AT90USB162 (16k and 32k versions both work fine) and ATMega32U2 boards without recompiling.

AT90USB162 boards are available at various vendors such as:
- Foundmy 16k and 32k
- Modchip Central 16k and 32k (currently out-of-stock)

ATMega32U2 boards are available at various vendors such as:
- CK3.co.uk

If you need up to 20 dedicated inputs + 20 shifted inputs, these will work great with all current KADE firmwares.

Jon is also working on a customisable "impossible keypresses" firmware with up to 26 inputs + 26 shifted inputs for KADE -- that I still need to install and beta test. (Sorry, Jon.  Got a little side-tracked.  :embarassed:)


Scott

Pages: << < (24/24)

Go to full version