Turku
Offline
Full Member
Karma: 0
Posts: 161
Arduino rocks
|
 |
« on: March 20, 2013, 07:30:40 am » |
That is, do ATmega16U2 chips break?
I have had one, a Mega clone, running in a system for a month now and suddenly the USB part stopped working. I am not going to see it until tomorrow, so I do not know what the problem is, but I am worried. 100% or all of the boards have now broken, but of course that 100% means 1/one board.
Leif
|
|
|
|
|
Logged
|
|
|
|
|
Miramar Beach, Florida
Offline
Faraday Member
Karma: 50
Posts: 3448
|
 |
« Reply #1 on: March 20, 2013, 07:35:34 am » |
Have you been powering the Mega with either the +5v bus or Vin while using the usb port? If Vin, what voltage power supply are you using?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #2 on: March 20, 2013, 07:06:11 pm » |
How can you be certain it is broken if you haven't seen it? Perhaps it has gone into a loop, and will respond to a reset.
|
|
|
|
|
Logged
|
|
|
|
|
Turku
Offline
Full Member
Karma: 0
Posts: 161
Arduino rocks
|
 |
« Reply #3 on: March 21, 2013, 07:32:38 am » |
The power supply is a common low drop regulator dropping from 8 volts. The whole thing is home made after the Mega R3.
I can tell it is broken because my customer has tested the system. Program is running as it should because output is correct but he/we cannot change the program. When I have time I'll try with the Atmel programmer.
I have now tested the card and it looks like the USB cpu is gone. It is a bit difficult to say of an smd device, but still. There is no change on the usb pins. Connectors and soldering is allright, allthough the shield of the usb cable could have oxidised. I cannot check the clock oscillator.
I think it is not quite proper to ask here about custom products, but the processor section is from Arduino Mega. So it is good to know if someone has had problems with Arduino Mega R3.
Leif
|
|
|
|
|
Logged
|
|
|
|
|
Miramar Beach, Florida
Offline
Faraday Member
Karma: 50
Posts: 3448
|
 |
« Reply #4 on: March 21, 2013, 07:56:18 am » |
There has been a problem bricking the usb chip if you supply power to the +5v bus without disconnecting the +5v bus from the usb power bus. I do not know if that was your problem since you have a custom board. This is the schematic for the Mega 2560 R3. http://arduino.cc/en/uploads/Main/arduino-mega2560_R3-schematic.pdfAt the bottom of the schematic there is a T1 and IC7B. That is the isolation circuit. If Vin is higher than 6.6v, then T1 is disabled, and isolates the power buses. Does your board have the same circuit? If Vin is less than 6.6v, it does not isolate the buses, and has been known to damage the usb. http://arduino.cc/forum/index.php/topic,82046.0.html
|
|
|
|
|
Logged
|
|
|
|
|
Turku
Offline
Full Member
Karma: 0
Posts: 161
Arduino rocks
|
 |
« Reply #5 on: March 21, 2013, 12:21:52 pm » |
There has been a problem bricking the usb chip if you supply power to the +5v bus without disconnecting the +5v bus from the usb power bus. I do not know if that was your problem since you have a custom board. http://arduino.cc/forum/index.php/topic,82046.0.htmlI have noticed that our Mega board is a little picky about the order I connect the power and the usb cable. (But I thought all Arduinos are picky about this?) Is this a somekind of latch up problem. I think I'll cut the usb + power trace. Edit: tried to make the meaning a little clearer in (But I thought all Arduinos are picky about this?).
|
|
|
|
« Last Edit: March 21, 2013, 12:27:27 pm by LMI »
|
Logged
|
|
|
|
|
Miramar Beach, Florida
Offline
Faraday Member
Karma: 50
Posts: 3448
|
 |
« Reply #6 on: March 21, 2013, 12:25:16 pm » |
I think the OP in the other thread removed T1 from the circuit board to permanently isolate the power buses.
|
|
|
|
|
Logged
|
|
|
|
|
Turku
Offline
Full Member
Karma: 0
Posts: 161
Arduino rocks
|
 |
« Reply #7 on: March 21, 2013, 12:30:21 pm » |
I must check this. Either I just cut the positive USB power trace or connect it to the main +5V.
You helped. Thank you.
|
|
|
|
|
Logged
|
|
|
|
|
Turku
Offline
Full Member
Karma: 0
Posts: 161
Arduino rocks
|
 |
« Reply #8 on: March 21, 2013, 01:20:43 pm » |
I just looked through the ATmega16U2 datasheet. I could not find anything about the order which power supplies should be connected. Have to study some more.
|
|
|
|
|
Logged
|
|
|
|
|
Turku
Offline
Full Member
Karma: 0
Posts: 161
Arduino rocks
|
 |
« Reply #9 on: March 21, 2013, 03:10:56 pm » |
Answer: Perhaps, if their power supplies are connected slightly wrong. I thought that power from the usb should be connected to UVCC. But it looks like that not now, UVCC should go to 5V.
|
|
|
|
|
Logged
|
|
|
|
|
|