Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[AVR] how to interface ATXMEGA64B1 with USB for programming using bootloader?

Status
Not open for further replies.

Mandar Joshi

Member level 2
Joined
Mar 4, 2015
Messages
50
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
445
I want to use USB for ATXMEGA64B1 programming using bootloader but at controller side I want to use micro USB B type connector for it. Is it possible to do so?
Has anyone tried this before, because I searched it on internet but couldn't get that much help. It would be helpful if anyone could give me example of it.
 

Mandar Joshi

Member level 2
Joined
Mar 4, 2015
Messages
50
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
445
I have read that document, it doesn't give any idea about h/w connections. I am not getting how to make hardware connections between micro USB B type connector and ATXMEGA64B1.
 

very question

Advanced Member level 4
Joined
Nov 11, 2012
Messages
104
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,298
Location
Iran
Activity points
1,920
Hi
this maybe help you
1318568959_circuit-zoomed.gif
 

FenTrac

Full Member level 4
Joined
Jul 6, 2014
Messages
200
Helped
37
Reputation
74
Reaction score
39
Trophy points
28
Location
West Coast
Activity points
1,700
Pins 12 and 13 of the ATxmega64 are D- and D+ respectively, according to the datasheet.
I think that one could use the schematics for an arduino with the ATmega16U2 chip USB interface, as an example of connections of D- and D+ between the microcontroller and the connector. I have followed those schematics to build a usb to ttl converter using the 16u2.
Wikipedia, I notice, shows the pin assignments for the micro USB B connector in their USB article.

- - - Updated - - -

Pins 12 and 13 of the ATxmega64 are D- and D+ respectively, according to the datasheet.
I think that one could use the schematics for an arduino with the ATmega16U2 chip USB interface, as an example of connections of D- and D+ between the microcontroller and the connector. I have followed those schematics to build a usb to ttl converter using the 16u2.
Wikipedia, I notice, shows the pin assignments for the micro USB B connector in their USB article.
 

Mandar Joshi

Member level 2
Joined
Mar 4, 2015
Messages
50
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
445
Thank you FenTrac and very question. So very question in case of your controller doesn't have USB but ATXMEGA64B1 has USB so its just connection between micro USB connector D+ and D- and controller D+ and D-.
One more question, micro USB has one more pin ID(i.e. Mode Select). What to do with that pin?
 

FenTrac

Full Member level 4
Joined
Jul 6, 2014
Messages
200
Helped
37
Reputation
74
Reaction score
39
Trophy points
28
Location
West Coast
Activity points
1,700
That pin is left unconnected. It is the ID pin. It is connected to ground on the A connector (host) and left unconnected on the B connector (device), according to the Wikipedia USB article.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top