Micro USB port draws too much power

Post Reply
paulcrawford
Posts: 176
Joined: Tue May 10, 2016 11:51 am
languages_spoken: english
ODROIDs: c2 and n2
Has thanked: 26 times
Been thanked: 4 times
Contact:

Micro USB port draws too much power

Post by paulcrawford » Fri Feb 28, 2020 6:34 am

I have been successfully using the @ytrikoz firmware on my SmartPower 2 for several months viewtopic.php?f=86&t=35445.

I use the microUSB port connected to a linux PC running PlatformIO to update the firmware which has also always worked fine. But today when I wanted to update the firmware, plugging the USB cable into the linux PC (actually a Mac running linux under Parallels) resulted in the a "USB Accessories Disabled" error noting that the power drawn by the USB cable was more than could be supplied. This meant it was not possible to update the firmware via the microUSB port.

In previous testing of the SP2 I connected the SP2 microUSB port to my N2 while the SP2 was supplying power to the N2 (I have modified the SP2 to run at 12.7V by changing R30). With that connection I could see the data coming from the SP2 on the N2 so I know that was working.What I also noticed though was that the current supplied by the SP2 increased significantly when the SP2 microUSB was connected to the N2 USB. I thought I could determine the specific current by using a USB CHARGER Doctor in the connection. I connected the USB CHARGER Doctor via a male/female USB-A cable to the N2 and the input to the USB CHARGER Doctor. The USB CHARGER Doctor showed about 5.09V and 0.01A when connected only to the N2. When I connected the USB-A connector from the SP2 microUSB port the USB CHARGER Doctor screen went blank but came back on when the SP2 was disconnected.

I am fairly confident that making that connection is what appears to have damaged the SP2 microUSB port causing it to draw too much power.

I have tried a different (known working on another device) microUSB to USB-A cable but still get the same error. I have also reset the PRAM and SMC on the Mac with no effect on SP2 microUSB connection.As well, I have connected a USB logic analyzer to the Mac and it works fine with no errors.

Is there anything I can do to repair the SP2? It still works as a monitor with the present firmware but I cannot update.

I am also concerned about connecting the SP2 directly to the N2 in case there is a problem because of the increased power draw.

User avatar
odroid
Site Admin
Posts: 34127
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 670 times
Been thanked: 614 times
Contact:

Re: Micro USB port draws too much power

Post by odroid » Fri Feb 28, 2020 5:30 pm

Do you mean the SP2 works fine except for the micro-USB port?
We will install the custom firmware early next week and keep running it to reproduce the issue. It is already Friday evening here.

Meanwhile, look into the USB-UART IC on the board to check whether it was burned or not.
These users thanked the author odroid for the post:
paulcrawford (Fri Feb 28, 2020 8:11 pm)

paulcrawford
Posts: 176
Joined: Tue May 10, 2016 11:51 am
languages_spoken: english
ODROIDs: c2 and n2
Has thanked: 26 times
Been thanked: 4 times
Contact:

Re: Micro USB port draws too much power

Post by paulcrawford » Fri Feb 28, 2020 10:48 pm

Yes, the SP2 works perfectly except for the micro-USB port.

This is a photo of U1. No damage that I can see.
USB-UART IC U1.png
USB-UART IC U1.png (735.61 KiB) Viewed 2882 times

lsc1117
Posts: 178
Joined: Thu Aug 22, 2013 12:46 am
languages_spoken: english
Location: South Korea
Has thanked: 0
Been thanked: 14 times
Contact:

Re: Micro USB port draws too much power

Post by lsc1117 » Mon Mar 02, 2020 10:31 am

If you don't mind, try to clean the part of the red circle in the picture below to clean the leads with a toothbrush to remove any extra particles.
USB-UART IC U1.png
USB-UART IC U1.png (754.02 KiB) Viewed 2728 times

paulcrawford
Posts: 176
Joined: Tue May 10, 2016 11:51 am
languages_spoken: english
ODROIDs: c2 and n2
Has thanked: 26 times
Been thanked: 4 times
Contact:

Re: Micro USB port draws too much power

Post by paulcrawford » Mon Mar 02, 2020 11:15 pm

I cleaned the red circled area with 99.9% isopropyl alcohol and a hog hair cleaning brush. Then tested the port again. No change; still drawing too much power.
IMG_0837.png
IMG_0837.png (1.87 MiB) Viewed 2668 times

paulcrawford
Posts: 176
Joined: Tue May 10, 2016 11:51 am
languages_spoken: english
ODROIDs: c2 and n2
Has thanked: 26 times
Been thanked: 4 times
Contact:

Re: Micro USB port draws too much power

Post by paulcrawford » Wed Mar 18, 2020 11:04 am

@lsc1117,

Any further thoughts?

lsc1117
Posts: 178
Joined: Thu Aug 22, 2013 12:46 am
languages_spoken: english
Location: South Korea
Has thanked: 0
Been thanked: 14 times
Contact:

Re: Micro USB port draws too much power

Post by lsc1117 » Wed Mar 18, 2020 11:56 am

@paulcrawford

I couldn't reproduce that the USB port broke in the same environment as you.
I assume that the USB port was damaged by static electricity.

paulcrawford
Posts: 176
Joined: Tue May 10, 2016 11:51 am
languages_spoken: english
ODROIDs: c2 and n2
Has thanked: 26 times
Been thanked: 4 times
Contact:

Re: Micro USB port draws too much power

Post by paulcrawford » Thu Mar 19, 2020 10:40 am

Is there anything I can replace on the SP2 board? Is it likely that the CP2104 user chip is damaged? Or am I forever stuck with the present firmware? Or do I have to buy a new SP2 and replace R30 with a 91KR again?

User avatar
odroid
Site Admin
Posts: 34127
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 670 times
Been thanked: 614 times
Contact:

Re: Micro USB port draws too much power

Post by odroid » Thu Mar 19, 2020 10:54 am

It is really hard to know which portion is really damaged at this moment.

Can you measure the voltage on the C1 P3V3 power rail with a DMM? It is worth to check if micro-USB cable connection causes any voltage drop or not.
https://github.com/hardkernel/smartpowe ... power2.pdf

Meanwhile, I will check whether we can sell the SP2 board separately or not.
These users thanked the author odroid for the post:
paulcrawford (Thu Mar 19, 2020 11:18 am)

paulcrawford
Posts: 176
Joined: Tue May 10, 2016 11:51 am
languages_spoken: english
ODROIDs: c2 and n2
Has thanked: 26 times
Been thanked: 4 times
Contact:

Re: Micro USB port draws too much power

Post by paulcrawford » Thu Mar 19, 2020 11:19 am

I will check the voltage on C1.

paulcrawford
Posts: 176
Joined: Tue May 10, 2016 11:51 am
languages_spoken: english
ODROIDs: c2 and n2
Has thanked: 26 times
Been thanked: 4 times
Contact:

Re: Micro USB port draws too much power

Post by paulcrawford » Thu Mar 19, 2020 9:53 pm

C1 is 3.289V

User avatar
odroid
Site Admin
Posts: 34127
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 670 times
Been thanked: 614 times
Contact:

Re: Micro USB port draws too much power

Post by odroid » Fri Mar 20, 2020 10:31 am

Is it always 3.289Volt regardless of the micro-USB connection?

BTW, I heard we might be able to sell the SP2 board separately at $15. But the shipping cost is still very high and you probably don't like this option.
Just remove the CP2104 from the board and connect a cheap 3.3Volt USB-UART cable and try uploading firmware.
You need to wire five signals RXD, TXD, DTR, RTS and GND.

paulcrawford
Posts: 176
Joined: Tue May 10, 2016 11:51 am
languages_spoken: english
ODROIDs: c2 and n2
Has thanked: 26 times
Been thanked: 4 times
Contact:

Re: Micro USB port draws too much power

Post by paulcrawford » Sat Mar 21, 2020 3:13 am

@odroid

Just to confirm your suggested modifications, can you please verify the solder points for wires to my USB-UART TTL adapter.

For the CP2104 removal, can I cut it carefully at the pins with an Olfa knife, or do I have to unsolder it?


USB-UART modifications.png
USB-UART modifications.png (1.12 MiB) Viewed 1789 times
Thanks.

lsc1117
Posts: 178
Joined: Thu Aug 22, 2013 12:46 am
languages_spoken: english
Location: South Korea
Has thanked: 0
Been thanked: 14 times
Contact:

Re: Micro USB port draws too much power

Post by lsc1117 » Mon Mar 23, 2020 10:36 am

All pins are okay include DTR and RTS on the TR(Q1, Q2). You mean DTR instead of DTS, right?

I recommend unsoldering the CP2104 with a heat gun.
If you don't have a heat gun, take care to remove with your Olfa knife.
It has been soldered with GND under the CP2104. So it's a little hard to remove with the knife.
Image

paulcrawford
Posts: 176
Joined: Tue May 10, 2016 11:51 am
languages_spoken: english
ODROIDs: c2 and n2
Has thanked: 26 times
Been thanked: 4 times
Contact:

Re: Micro USB port draws too much power

Post by paulcrawford » Mon Mar 23, 2020 12:14 pm

Yes, DTR. Sorry.

If I cut the pins flush with edge of the chip does the whole chip need to be removed since it will only be connected to ground from the bottom?

lsc1117
Posts: 178
Joined: Thu Aug 22, 2013 12:46 am
languages_spoken: english
Location: South Korea
Has thanked: 0
Been thanked: 14 times
Contact:

Re: Micro USB port draws too much power

Post by lsc1117 » Mon Mar 23, 2020 1:41 pm

Because the chip is QFN type, it might remain connected I think.

Refer to page 37 of the datasheet.
https://www.silabs.com/documents/public ... asheet.pdf

You should also cut the bottom of the pins of the chip if it's possible.

paulcrawford
Posts: 176
Joined: Tue May 10, 2016 11:51 am
languages_spoken: english
ODROIDs: c2 and n2
Has thanked: 26 times
Been thanked: 4 times
Contact:

Re: Micro USB port draws too much power

Post by paulcrawford » Mon Mar 23, 2020 10:46 pm

I have been reviewing hot air guns for desoldering. Can you recommend a device? I have seen both 450 and 650 W tools. 3mm nozzle seems to be the smallest available. Will that size allow me to remove the chip without disturbing other nearby components? What about controls in the handle vs separate box?

Post Reply

Return to “Smart Power”

Who is online

Users browsing this forum: No registered users and 1 guest