Firmware Update

I have a TL866A (not CS) I've been using with no problems for a couple years. Decided I'd try the new firmware update option.

I installed the latest version of the "old hardware" version Windows app (http://autoelectric.cn/MiniPro/minipro_setup685.rar) on a windows partition which is accessable from linux.

I already installed the udev rules and added myself to plugdev group and rebooted, and used the tl866 a few times a normal way with no problems, then tried the firmware update.

dmesg:
-------------------- 

[  781.451308] usb 1-2: new full-speed USB device number 8 using xhci_hcd
[  781.603407] usb 1-2: New USB device found, idVendor=04d8, idProduct=e11c, bcdDevice= 0.00
[  781.603415] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  781.603420] usb 1-2: Product: MiniPro TL-866 Programmer  
[  781.603423] usb 1-2: Manufacturer: www.autoelectric.com     

session:
--------------------
bkw@negre:~$ minipro -V
minipro version 0.4dev     A free and open TL866XX programmer
Build date:     2019-07-27 04:11:47 -0400
Commit date:    2019-07-24 20:19:34 +0000
Git commit:     f0ee9d86f513d36d3435a49c822fac09bd7b661b
Git branch:     master

bkw@negre:~$ minipro -t
Found TL866A 03.2.72 (0x248)
Warning: Firmware is out of date.
  Expected  03.2.86 (0x256)
  Found     03.2.72 (0x248)
VPP driver pin 1 is OK
VPP driver pin 2 is OK
VPP driver pin 3 is OK
VPP driver pin 4 is OK
VPP driver pin 9 is OK
VPP driver pin 10 is OK
VPP driver pin 30 is OK
VPP driver pin 31 is OK
VPP driver pin 32 is OK
VPP driver pin 33 is OK
VPP driver pin 34 is OK
VPP driver pin 36 is OK
VPP driver pin 37 is OK
VPP driver pin 38 is OK
VPP driver pin 39 is OK
VPP driver pin 40 is OK

VCC driver pin 1 is OK
VCC driver pin 2 is OK
VCC driver pin 3 is OK
VCC driver pin 4 is OK
VCC driver pin 5 is OK
VCC driver pin 6 is OK
VCC driver pin 7 is OK
VCC driver pin 8 is OK
VCC driver pin 9 is OK
VCC driver pin 10 is OK
VCC driver pin 11 is OK
VCC driver pin 12 is OK
VCC driver pin 13 is OK
VCC driver pin 21 is OK
VCC driver pin 30 is OK
VCC driver pin 32 is OK
VCC driver pin 33 is OK
VCC driver pin 34 is OK
VCC driver pin 35 is OK
VCC driver pin 36 is OK
VCC driver pin 37 is OK
VCC driver pin 38 is OK
VCC driver pin 39 is OK
VCC driver pin 40 is OK

GND driver pin 1 is OK
GND driver pin 2 is OK
GND driver pin 3 is OK
GND driver pin 4 is OK
GND driver pin 5 is OK
GND driver pin 6 is OK
GND driver pin 7 is OK
GND driver pin 8 is OK
GND driver pin 9 is OK
GND driver pin 10 is OK
GND driver pin 11 is OK
GND driver pin 12 is OK
GND driver pin 14 is OK
GND driver pin 16 is OK
GND driver pin 20 is OK
GND driver pin 30 is OK
GND driver pin 31 is OK
GND driver pin 32 is OK
GND driver pin 34 is OK
GND driver pin 35 is OK
GND driver pin 36 is OK
GND driver pin 37 is OK
GND driver pin 38 is OK
GND driver pin 39 is OK
GND driver pin 40 is OK

VPP overcurrent protection is OK.
VCC overcurrent protection is OK.

Hardware test completed successfully!

bkw@negre:~$ minipro -f /sd/Brian/Documents/minipro_setup685/Update.dat
Found TL866A 03.2.72 (0x248)
Warning: Firmware is out of date.
  Expected  03.2.86 (0x256)
  Found     03.2.72 (0x248)
/sd/Brian/Documents/minipro_setup685/Update.dat contains firmware version 3.2.86 (newer)

Which firmware version do you want to reflash? 
1) Device default (A)
2) CS
3) Exit
1
Switching to bootloader... failed
bkw@negre:~$ minipro -f /sd/Brian/Documents/minipro_setup685/Update.dat

Error opening device
bkw@negre:~$ minipro -f /sd/Brian/Documents/minipro_setup685/Update.dat

Error opening device
bkw@negre:~$ minipro -f /sd/Brian/Documents/minipro_setup685/Update.dat

Error opening device

bkw@negre:~$ minipro -t

Error opening device
bkw@negre:~$

Removed the tl866 from usb a few times to power-cycle it. No difference. That's why the dmesg above shows it as device 8 instead of 0 or 1.

Rebooted into windows and the windows app was able to flash the firmware. It also displayed the correct old firmware version number before doing the update, so it must have done something to reset the device (break out of bootloader mode?) just as part of normal app startup.

Edited by Ghost User