Burned USB port by cross linked cable - DONE

Post Reply
User avatar
KAL
Posts: 552
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 »

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: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Burned USB port by cross linked cable

Post by MikeB »

What connections did you cross?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
KAL
Posts: 552
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 »

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: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Burned USB port by cross linked cable

Post by MikeB »

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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Burned USB port by cross linked cable

Post by jhsa »

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: 552
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 »

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: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Burned USB port by cross linked cable

Post by jhsa »

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: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Burned USB port by cross linked cable

Post by MikeB »

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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Burned USB port by cross linked cable

Post by jhsa »

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: 552
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 »

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: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Burned USB port by cross linked cable

Post by jhsa »

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: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: Burned USB port by cross linked cable

Post by kalle123 »

Don't think Reichelt hast it.

Try this http://www.rs-online-privat.de/Products ... +STM32F205
User avatar
KAL
Posts: 552
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 »

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: 552
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 »

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: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Burned USB port by cross linked cable

Post by MikeB »

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 460 times
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
KAL
Posts: 552
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 »

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: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Burned USB port by cross linked cable

Post by jhsa »

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”