using the at90usb162 vs atmega32u2 usb not working

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I was able to get lufa flashed to an atmega32u2 on one of the old retired 16u2 dev boards. Like this one
https://www.mattairtech.com/inde...

 

Since apparently the 16u2 is going extinct or at least the breakout boards are, I'm moving to the at90usb162

 

I grabbed one of these.

https://www.digikey.com/catalog/...
I changed my make to at90usb162 but after flashing the lufa via the factory bootlaoder I get "unknown device" installed. My guess is the fuses for the at90usb162  do not match the atmega32u2  but I'm reluctant to try that and would have to solder on an isp.  I'd prefer other suggestions.

 

both breakout boards came with an 8MHz that I replaced for 16 and updated the MAKEFILE.

 

Any thoughts?

 

Last Edited: Sat. May 30, 2020 - 10:32 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Attached an ISP and the fuses match.

 

was wondering about this

MCU          = at90usb162 # atmega32u2
ARCH         = AVR8
BOARD        = MINIMUS
F_CPU        = 16000000
F_USB        = $(F_CPU)

Not sure why a board type would matter too much here but the one I'm using startusb by sparkfun is not there. all see is " Sparkfun U2 Breakout Board ". Changing it to SPARKFUN8U2 didn't seem to change anything.

 

Compiled the latest LUFA no change. I flashed the code to my atmega32u2 board and it works (as I figured, these chips are identical for the most part). So I wonder why the startusb avr will not work?

Last Edited: Sun. May 31, 2020 - 05:45 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Turned out to be shotty board wiring.

Last Edited: Tue. Jun 2, 2020 - 10:01 PM