Atmega16U2 as USB controller not working - DIY Arduino Mega 2560


hello everyone,

i trying self-built arduino mega 2560 pcb work , having trouble usb interface. in end, ethernet shield directly on same board i'm trying cloned arduino mega 2560 work (schematic attached).

i took original eagle schematic arduino website, routed , had board manufactured. after assembly, atmega2560 microcontroller works expected. can upload programs using arduino isp , correctly executed.


however, atmega16u2 should act serial-usb interface not seem work. can address chip avrdude, set fuses , upload firmware without problem not recognized usb device computer.

using avrdude, set fuses of atmega16u2 following values:
extended: 0xf4
high: 0xd9
low: 0xde

then uploaded firmware "arduino-usbserial-atmega16u2-mega2560-rev3.hex" arduino ide's "\firmwares\arduino-usbserial" folder. setting fuses , upload firmware seems work - successful verifications avrdude. have set fuses of atmega2560 (e:0xfd, h:0xd8, l:0xff) , uploaded bootloader "stk500boot_v2_mega2560.hex".

but when attach pcb pc through usb not recognised @ all. pc not react in way when plug in usb cable.

i have followed tutorial @ http://www.jhproj.com/1/post/2013/06/setting-up-an-atmega2560-and-atmega16u2.html fuse values , firmwares.

is there thing forgetting in setting atmega16u2 serial-usb interface controller? or there can verify proper operation? pretty stuck here since don't see problem , have no idea how check else… tips or appreciated! if has managed work, please let me know!

thanks!
flo



Arduino Forum > Using Arduino > Microcontrollers > Atmega16U2 as USB controller not working - DIY Arduino Mega 2560


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code