Hi everyone! I just registered on the forum but I've been reading it since I decided to convert my bicycle to electric.
I see many people reporting about damaged controllers, USB to serial adapters and even PCs. I have some experience as well. I burned my USB to serial adapter on the second connection. Good it was original FTDI chip and it had good protection so my laptop was intact. My first thought was I killed my controller but I started thinking there is some protection in the newly produced controllers. So why does it happen and how to avoid it? If you are using USB adapter with original connector you won't get in trouble. Unfortunately those are sold as "programmers" and are quite overpriced. Therefore people use cheap adapters and some wires. That's where the issue lies. Using wires (even with some tiny connectors at the end) might lead to short circuit between neighboring wires. If the short circuit is to one of the high voltage pins you will kill your USB to serial adapter and possibly your PC and even the controller. There is one pin at the connector which is directly connected to the battery meaning you can have above 50V there (from a fully charged 13S battery). This is more than enough to kill the 5V USB to serial adapter and your PC as both are sate up to 6V and anything above that can be lethal for the device. The same applies for the controller itself. When I killed my adapter I thought the controller is also dead but it wasn't. There is no way of that happening if it didn't have some protection so I suppose something was changed or I was impossibly lucky. So when I changed the FTDI chip on my USB adapter I measured with multimeter for short circuit every time before connecting the battery to avoid further damage. I hope this will help someone else save his equipment.
I also saw the programming software is packed with the full source code so I decided to rewrite it because it was just terrible. I fixed numerous bugs, improved the interface and the English

and added small help file. If you are interested you can find it here
https://penoff.wordpress.com/2016/01/13/e-bike-conversion-software/