Burned USB port by cross linked cable - DONE

Post Reply
User avatar
KAL
Posts: 551
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Burned USB port by cross linked cable - DONE

Post by KAL » Wed Jan 18, 2017 8:29 pm

Hello guys,

these days I had to learn that it's not a good idea to tinker with electronics too late at night ... :(

Unfortunately I cross linked the USB to my PC.
Now the 9Xtreme works as it should except USB connection.
When plugged to a PC there's no reaction at all (as well PC as 9XT).

No visible damages to parts on the PCB.

Any chance that only some of the 'chicken food' around the processor is damaged
or is it more likely that the processor itself (I/O ports) is damaged?

Klaus
Last edited by KAL on Wed Jan 25, 2017 6:53 pm, edited 1 time in total.
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )

User avatar
MikeB
9x Developer
Posts: 15622
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Burned USB port by cross linked cable

Post by MikeB » Wed Jan 18, 2017 11:06 pm

What connections did you cross?

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
KAL
Posts: 551
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: Burned USB port by cross linked cable

Post by KAL » Thu Jan 19, 2017 5:10 pm

Hi Mike,

I crossed the whole cable.

i.e:

PC <-> 9XT
-------------
5V <-> GND
D+ <-> D-
D- <-> D+
GND <-> 5V
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )

User avatar
MikeB
9x Developer
Posts: 15622
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Burned USB port by cross linked cable

Post by MikeB » Thu Jan 19, 2017 5:18 pm

In that case you will have applied -5V to the processor pin 42 (PA9). That will almost certainly have burnt that pin, which is used to detect the USB cable is plugged in.
It is possible the data signal pins are also damaged. They are connected through 33 ohm resistors (R45 and R46).

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 17816
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Burned USB port by cross linked cable

Post by jhsa » Thu Jan 19, 2017 5:22 pm

I would have expected they would have put protection diodes on the USB supply :o

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW


User avatar
KAL
Posts: 551
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: Burned USB port by cross linked cable

Post by KAL » Thu Jan 19, 2017 5:29 pm

OK then,

next steps:
  1. read STMs contents
  2. desolder STM
  3. solder new STM
  4. flash new STM
right?

Can the STM be flashed with USBASP or do I need s.th. different?

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )

User avatar
jhsa
Posts: 17816
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Burned USB port by cross linked cable

Post by jhsa » Thu Jan 19, 2017 5:57 pm

jhsa wrote:I would have expected they would have put protection diodes on the USB supply :o

João
Oh, I thought it was a taranis. Now I saw it is a 9XT :). Still there should be at least a Schottky diode on the USB power line. I believe damage would not have occurred if there was one??

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
MikeB
9x Developer
Posts: 15622
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Burned USB port by cross linked cable

Post by MikeB » Thu Jan 19, 2017 9:04 pm

Taranis and 9XT are the same, there is a diode for the power to the radio, but the 5V goes directly to the processor to detect the USB is plugged in.

The STM processor only has the firmware in it, that does not need to be read out as it is available anyway. The EEPROM is a separate device.
The STM also includes the STM bootloader in ROM that uses the USB so all the hardware you need is the USB cable to be able to flash it. To get the firmware on it, it is probably easiest to install "DFUSE" from STM. I have a suitable .dfu file to use with that to get you back running.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 17816
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Burned USB port by cross linked cable

Post by jhsa » Thu Jan 19, 2017 10:21 pm

MikeB wrote:Taranis and 9XT are the same, there is a diode for the power to the radio, but the 5V goes directly to the processor to detect the USB is plugged in.
Ah, I understand, the problem occurred on the detection pin then. Still, wouldn't a diode on this line protect against this situation? This of course if a new version of this board would be produced.. :)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
KAL
Posts: 551
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: Burned USB port by cross linked cable

Post by KAL » Fri Jan 20, 2017 12:34 pm

MikeB wrote:... so all the hardware you need is the USB cable to be able to flash it. To get the firmware on it, it is probably easiest to install "DFUSE" from STM. I have a suitable .dfu file to use with that to get you back running ...
That sounds great.
Now the only problem is to find a dealer who feels fine with selling only one or two of the STM32F205 ... :)

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )

User avatar
jhsa
Posts: 17816
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Burned USB port by cross linked cable

Post by jhsa » Fri Jan 20, 2017 12:44 pm

Did you try Reichelt?
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
kalle123
Posts: 702
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: Burned USB port by cross linked cable

Post by kalle123 » Fri Jan 20, 2017 1:17 pm

Don't think Reichelt hast it.

Try this http://www.rs-online-privat.de/Products ... +STM32F205

User avatar
KAL
Posts: 551
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: Burned USB port by cross linked cable

Post by KAL » Fri Jan 20, 2017 1:23 pm

I tried the usual suspects without luck.
But Farnell Germany directed me to their sales partner hbe-shop.de
where I could place an order.

Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )

User avatar
KAL
Posts: 551
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: Burned USB port by cross linked cable

Post by KAL » Wed Jan 25, 2017 5:55 pm

Hi Mike,

I can see light at the end of the tunnel (or is it a train coming? ;) ).

The STM is transplanted and DfuSeDemo recognizes it as
STM Device in DFU mode, vendor 0483, productID DF11, version 2200.

Can the .dfu file be converted from a .bin file or can you please
share the .dfu file you mentioned some posts before?

Thanks in advance
Klaus
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )

User avatar
MikeB
9x Developer
Posts: 15622
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Burned USB port by cross linked cable

Post by MikeB » Wed Jan 25, 2017 6:23 pm

You can convert a .bin to a .dfu using "DfuFileMgr.exe", which should be installed as part of Dfuse.
I've attached the .dfu file (zipped) that is, I think, the original firmware on production 9Xtreme boards. This should get you running, including the bootloader, to be able to then update to the latest firmware.

Mike.
Attachments
9XtremeProv218c.zip
(139.61 KiB) Downloaded 42 times
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
KAL
Posts: 551
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: Burned USB port by cross linked cable

Post by KAL » Wed Jan 25, 2017 6:46 pm

YEAH HA, I'm (or better: the 9XT is) back in business. :D :D :D :D
Hopefully I will never have to solder parts with such a small pin pitch in the future ;)

Thank you Mike!
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )

User avatar
jhsa
Posts: 17816
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Burned USB port by cross linked cable

Post by jhsa » Wed Jan 25, 2017 6:56 pm

KAL wrote: Hopefully I will never have to solder parts with such a small pin pitch in the future ;)
Ha, Nice thought.. I thought the same the first time I've done the telemetry mod ;) :) Once you've been bitten by that bug you can't stop :D :mrgreen:

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “9Xtreme upgrade board”