Page 1 of 1

Burned USB port by cross linked cable - DONE

Posted: Wed Jan 18, 2017 8:29 pm
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

Re: Burned USB port by cross linked cable

Posted: Wed Jan 18, 2017 11:06 pm
by MikeB
What connections did you cross?

Mike.

Re: Burned USB port by cross linked cable

Posted: Thu Jan 19, 2017 5:10 pm
by KAL
Hi Mike,

I crossed the whole cable.

i.e:

PC <-> 9XT
-------------
5V <-> GND
D+ <-> D-
D- <-> D+
GND <-> 5V

Re: Burned USB port by cross linked cable

Posted: Thu Jan 19, 2017 5:18 pm
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.

Re: Burned USB port by cross linked cable

Posted: Thu Jan 19, 2017 5:22 pm
by jhsa
I would have expected they would have put protection diodes on the USB supply :o

João

Re: Burned USB port by cross linked cable

Posted: Thu Jan 19, 2017 5:29 pm
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

Re: Burned USB port by cross linked cable

Posted: Thu Jan 19, 2017 5:57 pm
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

Re: Burned USB port by cross linked cable

Posted: Thu Jan 19, 2017 9:04 pm
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.

Re: Burned USB port by cross linked cable

Posted: Thu Jan 19, 2017 10:21 pm
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

Re: Burned USB port by cross linked cable

Posted: Fri Jan 20, 2017 12:34 pm
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

Re: Burned USB port by cross linked cable

Posted: Fri Jan 20, 2017 12:44 pm
by jhsa
Did you try Reichelt?

Re: Burned USB port by cross linked cable

Posted: Fri Jan 20, 2017 1:17 pm
by kalle123
Don't think Reichelt hast it.

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

Re: Burned USB port by cross linked cable

Posted: Fri Jan 20, 2017 1:23 pm
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

Re: Burned USB port by cross linked cable

Posted: Wed Jan 25, 2017 5:55 pm
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

Re: Burned USB port by cross linked cable

Posted: Wed Jan 25, 2017 6:23 pm
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.

Re: Burned USB port by cross linked cable

Posted: Wed Jan 25, 2017 6:46 pm
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!

Re: Burned USB port by cross linked cable

Posted: Wed Jan 25, 2017 6:56 pm
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