Author Topic: EEVblog #411 - MiniPro TL866 Universal Programmer Review  (Read 1441766 times)

0 Members and 4 Guests are viewing this topic.

Offline radioman

  • Regular Contributor
  • *
  • Posts: 168
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1300 on: August 05, 2018, 06:48:07 pm »
I solved the problem following the procedure with some difficulties
because using the "firmware dumper" puts me a bad crc!
Can you give me more details? where or when you receive that bad crc?
 

Offline sathex

  • Newbie
  • Posts: 6
  • Country: dz
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1301 on: August 05, 2018, 10:23:35 pm »
I had bad crc on my first attempt
with the "firmware dumper"
after
I used "tl866A firmware" and now everything is back in order
I do not know if it can help!
I tried to reproduce the situation but without success
because now if I put the "firmware dumper" TL866 v2.4 works well but opening the soft minipro v6.82 for example when I want to detect i ve 
 "read error code 31"

and when i want to use the read id i have this


but as I said everything is ok with "tl866A firmware"
 

Offline radioman

  • Regular Contributor
  • *
  • Posts: 168
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1302 on: August 06, 2018, 12:23:59 pm »
Oh my...
You've got the wrong idea of what the firmware dumper is.
The firmware dumper is not a replacement firmware but a firmware which allow you to change the internal serial code, rewrite of bootloader and save the firmware.
Is not supposed to be used as a normal firmware, this is why you got all those errors.
As you discovered you must use the normal firmware aka. TL866 firmware as the working firmware.
Use the firmware dumper only if you want to change/correct the serial number or changing of bootloader via the advanced window. After that you must reflash back the normal firmware!
« Last Edit: August 06, 2018, 12:28:24 pm by radioman »
 
The following users thanked this post: egonotto, sathex

Offline Ketturi

  • Regular Contributor
  • *
  • Posts: 68
  • Country: fi
    • Ketturi Electronics
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1303 on: August 06, 2018, 09:53:43 pm »
Radioman saved my day! I had working TL866CS which I believe is legit one. I saw that there was update so of course I went and installed it. Problems started when I hit reflash button and I think I nudged usb cable at same time causing programmer to disconnect or something. It just went dead, no signs of being detected as usb device. Luckily I had previously backed up serial numbers and firmware hex while playing around CS - A conversion, and I just put that hex file back with ISP. My day just got worse in that point, now when I started new MiniPro it just said that "Your device might be clone" or something similar, and everytime I tried to read any chip, even without putting chip in socket, I got just same garbage strings all over buffer. After coming back to this thread I saw that there was lots of speak about counterfeit detection in new version and stumbled upon radiomans post about check sums and copy protection bits. I used 2.4 version to set copy protection bit and to write bootloader and first time today I was not greeted with piracy popup and garbled data. I actually went this time so far that I put missing ISP header in and changed bootloader to A version and still not any problems with popup nags.

P.S. I replaced that bloody USB connector that was behind all this with nice orange rugged usb socket from my sample box.
And if this anti-piracy blocking and nuance continues, maybe it is time to make truly open source firmware and software. They won't get money from sloppily fighting counterfeiters on discontinued product while hampering users in process.
Ketturi electronics: http://ketturi.kapsi.fi
 

Offline radioman

  • Regular Contributor
  • *
  • Posts: 168
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1304 on: August 06, 2018, 10:32:03 pm »
Radioman saved my day!
Yeah i'm a saver... and i'm sure that "Your device might be clone" message is an misdetection bug!
 

Offline sathex

  • Newbie
  • Posts: 6
  • Country: dz
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1305 on: August 07, 2018, 12:01:07 am »
Quote
Oh my...
You've got the wrong idea of what the firmware dumper is.
The firmware dumper is not a replacement firmware but a firmware which allow you to change the internal serial code, rewrite of bootloader and save the firmware.
Is not supposed to be used as a normal firmware, this is why you got all those errors.
As you discovered you must use the normal firmware aka. TL866 firmware as the working firmware.
Use the firmware dumper only if you want to change/correct the serial number or changing of bootloader via the advanced window. After that you must reflash back the normal firmware!

thanks again radioman
that's what I understood, just that I followed what you described on page 51
Quote
1. Browse for update.dat file (any version is good including the new 6.80, 6.81 and 6.82)
2.Select the firmware dumper and click reflash.
3.After reflash click the advanced button
4.Now pay attention: if the copy protection checkbox is unchecked please check this and click write button.
If the copy protection checkbox is checked leave it alone.
This is important if you leave the copy protect bit unchecked then the new firmware will disable the bootmode, so beware!
5.Serial number and device code section.
Just click the write button in the serial number section. This will rewrite the same serial with the correct checksum.
This was a flaw in my reencrypted serial. A single byte checksum was wrong and the autoelectric discovered this after five years! good. I like this.
6.Close the advanced window, check the TL866A firmware and click reflash again.
Now the new firmware is ready.
If you have the original serial then you're good.
Random generated serials can be detected so beware.
I still need to analyze the new firmware, seems that there's a serial validation in the firmware.
If you have problems please post here and feel free to send me an PM.


a question !
some friends have completely lost the serial
see the pictures


what should they do to find the serial!

can you show me on the pictures (a and a1)  what is there to do
because I'm not good at English ...  |O
just French that I master the subtleties of the language  :-//

...
 

Offline Willem52

  • Regular Contributor
  • *
  • Posts: 73
  • Country: nl
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1306 on: August 07, 2018, 12:20:29 pm »
Please look at the newest version, which can generate compliant serial numbers:

https://www.eevblog.com/forum/blog/eevblog-411-minipro-tl866-universal-programmer-review/msg1716014/#msg1716014
 
The following users thanked this post: sathex

Offline radioman

  • Regular Contributor
  • *
  • Posts: 168
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1307 on: August 07, 2018, 12:24:32 pm »
a question !
some friends have completely lost the serial
what should they do to find the serial!
The serial number is not lost. That device is bricked and you (or your friends) must unbrick it.
The first step is to put the device in boot mode, like this:

If you have a steady hand, there's no need to solder that resistor; just keep the resistor terminals still in the indicated points while inserting the usb cable. The programmer should enter in boot mode and after that remove that resistor.

Once the device is in bootloader mode, flash the firmware dumper by selecting "firmware dumper" and click reflash.
If the firmware dumper reflash was sucessful open the Advanced window. It should look like what you posted in a1 image.
Make sure to check the "code protection bit" checkbox and click the write button next to it.
After that in the "device serial code" field click the write button to correct the wrong checksum.
That's all! Close the advanced window select "TL866A firmware" in the main window and click reflash.
You should now have a working device!
 
The following users thanked this post: grenert, BravoV, bitseeker, sathex, Eruil

Online BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1308 on: August 07, 2018, 01:24:12 pm »
Radioman, the manufacturer must really hates you.  >:D :-DD

Btw, thanks again for your generosities.  :-+
 
The following users thanked this post: sathex, knapik, trinhvanthien

Offline radioman

  • Regular Contributor
  • *
  • Posts: 168
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1309 on: August 07, 2018, 01:56:50 pm »
Radioman, the manufacturer must really hates you.  >:D :-DD
Yeah, especially that he was searching for five years to block my tool. And when he finally found the method, well i updated my tool in 2 days! poor soul!  :palm:
And he is an arogant ... because i had a "nice" offer from him to try to break his new TL866II plus programmer. And if i succeed he will pay me. This is like "check this you son of the... break it!". Such arogance!
 
The following users thanked this post: firewalker, egonotto, sathex, trinhvanthien

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1310 on: August 07, 2018, 02:57:07 pm »
So... Did you decrypted the new version? :D
Become a realist, stay a dreamer.

 

Online BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1311 on: August 07, 2018, 03:12:18 pm »
And he is an arogant ... because i had a "nice" offer from him to try to break his new TL866II plus programmer. And if i succeed he will pay me. This is like "check this you son of the... break it!". Such arogance!

As I am not aware that you ever published your private credentials, so I guess he must be contacted you thru this forum's PM for the challenge ?  :-DD

Offline radioman

  • Regular Contributor
  • *
  • Posts: 168
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1312 on: August 07, 2018, 03:27:55 pm »
And he is an arogant ... because i had a "nice" offer from him to try to break his new TL866II plus programmer. And if i succeed he will pay me. This is like "check this you son of the... break it!". Such arogance!

As I am not aware that you ever published your private credentials, so I guess he must be contacted you thru this forum's PM for the challenge ?  :-DD
Of course! He used this forum PM.
 

Offline radioman

  • Regular Contributor
  • *
  • Posts: 168
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1313 on: August 07, 2018, 03:36:27 pm »
So... Did you decrypted the new version? :D
Good question! :-+
Well not yet. And i don't know if will be...
However, the new TL866II Plus programmer is different from the normal TL866. It has an 16bit controller(PIC24FJ256GB110), the I/O expander is simplified and the DC to DC converters are the same.
From the software point of view the communication is using now the winusb library and the device have implemented a multithreaded usb communication using six endpoints (3 endpoints for write and 3 for read); see the Linux USB wrapper for this new TL866II plus in my github repo.
I have decrypted the new updateII.dat file, the usb protocol and the update method for the new device. So i can update the device with whatever version i want. But not the encryption algorithm itself (i'm not tried yet, i don't want).
 
The following users thanked this post: sathex

Offline sathex

  • Newbie
  • Posts: 6
  • Country: dz
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1314 on: August 07, 2018, 06:44:09 pm »
i know it's shaking the minipro house if it was possibe ...

  that's a naive question,

may someday have a tl866A turn into tl866II anymore!
as for the cs in A ...! maybe you have to add some parts on the tl866A
no!!
 

Offline pamperchu

  • Contributor
  • Posts: 37
  • Country: us
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1315 on: August 07, 2018, 11:43:59 pm »
you can easily mod the CS- model to the A- , there is also unused header connections on the motherboard that can be added , i managed to get my CS one to work with some of the pro only software.
 
The following users thanked this post: sathex

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1316 on: August 07, 2018, 11:52:38 pm »
There are probably a lot of people out there like myself who bought the CS assuming it was better than the A. I converted it to A some time back although I rarely even use it anymore since I got a GQ-4X.
 
The following users thanked this post: sathex

Offline janekdrukarz

  • Newbie
  • Posts: 3
  • Country: gb
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1317 on: August 11, 2018, 02:21:04 am »
Hi
In the tl866_prog.pdf file, on page 3 it is written quote:
"As you can see, we can force the bootloader mode by holding the RC1 pin at logic one at startup, this can be
done by soldering an resistor of approx. 100-200ohm between +3.3 V and pin 36 (R26) of the controller:"
Is this correct?
In the PIC18F87J50.pdf file on page 5, RC1 is on pin 35.

Best regards
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1318 on: August 11, 2018, 04:22:59 am »
Welcome to the forum, janekdrukarz.

Yep, take a look at the photo 10 posts above yours.
TEA is the way. | TEA Time channel
 

Offline radioman

  • Regular Contributor
  • *
  • Posts: 168
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1319 on: August 11, 2018, 11:33:00 am »
Hi
In the tl866_prog.pdf file, on page 3 it is written quote:
"As you can see, we can force the bootloader mode by holding the RC1 pin at logic one at startup, this can be
done by soldering an resistor of approx. 100-200ohm between +3.3 V and pin 36 (R26) of the controller:"
Is this correct?
In the PIC18F87J50.pdf file on page 5, RC1 is on pin 35.

Best regards
Hi @janekdrukarz  and welcome to the forum!
Well, good observation! yes indeed the pin involved in bootloader is RC1 pin 35 not 36 how the pdf says. Clearly this is my mistake probably a typo while editing the document.
However, i fixed that error. Thanks.
 
The following users thanked this post: bitseeker

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1320 on: August 11, 2018, 06:15:21 pm »
Thanks for the quick fix, radioman.

For those who don' t have the link to radioman's files handy, it's http://bit.ly/YaJYDq
TEA is the way. | TEA Time channel
 
The following users thanked this post: JWag

Offline janekdrukarz

  • Newbie
  • Posts: 3
  • Country: gb
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1321 on: August 12, 2018, 04:25:25 am »
Hello
Last night I made a backup of all the processor's memory (v6.71) and saved it in a hex file. Tonight I tried to upgrade to version 6.82 and unfortunately I made a mistake when uploading a new version of the software. A "Bad CRC serial" error or something similar. I had to connect to the J1 connector of the Pickit3 programmer and upload again the backup I made. Then I followed the description in the pdf file and the description in the forum. Now I have a working programmer with the latest version of the software. Good job  :-+ @Radioman
Regards
 

Offline Dwaine

  • Frequent Contributor
  • **
  • Posts: 299
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1322 on: August 15, 2018, 03:16:36 pm »
I must have an original. I upgraded to 6.82 and no messages were displayed.  I confirmed that the firmware was updated.
 

Offline jcarlson

  • Newbie
  • Posts: 3
  • Country: fr
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1323 on: August 16, 2018, 01:07:52 pm »
Hello,
I have a TL866Cs modified to A version. I rencently made successfuly upgrade to v6.82 using Radioman procedure (BTW thanks Radioman for the great job). The programmer is working very well, but I have observed that I get a GND #25 error in the programmer self test, evne if it does not affect the functionality of the programmer.

Is somebody observing the same behaviour ?

Any idea or comment about this ?

Thanks
 

Offline radioman

  • Regular Contributor
  • *
  • Posts: 168
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1324 on: August 16, 2018, 02:59:43 pm »
Hello,
I have a TL866Cs modified to A version. I rencently made successfuly upgrade to v6.82 using Radioman procedure (BTW thanks Radioman for the great job). The programmer is working very well, but I have observed that I get a GND #25 error in the programmer self test, evne if it does not affect the functionality of the programmer.

Is somebody observing the same behaviour ?

Any idea or comment about this ?

Thanks
Hi! you have a short in the GND20 signal affecting the Pin 20 on the ZIF socket and probably this is why you don't have any error yet.
You must check the Q7 transistor and the R26 resistor like in the atached image.
 
The following users thanked this post: elgonzo, sathex


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf