USB couldn't be found in ATmega32u4

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

I have uploaded Caterina.hex into ATmega32U4 by USBasp, but couldn't found the USB port in Arduino IDE, so I couldn't upload sketch into it, what maybe the reason?

 

The tutorial I used:https://electronut.in/bootloader...

The bootloader I downloaded from:https://github.com/sparkfun/SF32...

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

If using Linux try lsusb to see details of USB devices that are connected/active - does the 32U4 DFU even appear there?

 

If in Windows get usbdview.exe https://www.nirsoft.net/utils/us... which will give you lots of details about whether the device is even being enumerated.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Please show a photo of your pcb and schematic.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I uploaded a photo, while it prompted I hasn't been authorized.

 

I found the reason - I have not connected UVcc and VBus.

 

 

Last Edited: Thu. May 13, 2021 - 11:55 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

MianQi wrote:
I found the reason - I have not connected UVcc and VBus.

Good to hear. Now please mark the solution - see Tip #5 in my signature, below:

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...