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

0 Members and 5 Guests are viewing this topic.

Offline sathex

  • Contributor
  • Posts: 5
  • Country: dz
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1300 on: August 06, 2018, 01:49:06 am »
I solved the problem following the procedure with some difficulties
because using the "firmware dumper" puts me a bad crc!

so I did it again with "TL866A firmware" and it's ok

thank you radioman
 

Offline radioman

  • Regular Contributor
  • *
  • Posts: 116
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1301 on: August 06, 2018, 04:48:07 am »
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

  • Contributor
  • Posts: 5
  • Country: dz
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1302 on: August 06, 2018, 08:23:35 am »
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: 116
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1303 on: August 06, 2018, 10: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, 10:28:24 pm by radioman »
 
The following users thanked this post: egonotto, sathex

Offline Ketturi

  • Regular Contributor
  • *
  • Posts: 59
  • Country: fi
    • Ketturi Electronics
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1304 on: August 07, 2018, 07:53:43 am »
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: 116
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1305 on: August 07, 2018, 08:32:03 am »
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

  • Contributor
  • Posts: 5
  • Country: dz
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1306 on: August 07, 2018, 10: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: 66
  • Country: nl
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1307 on: August 07, 2018, 10:20:29 pm »
Please look at the newest version, which can generate compliant serial numbers:

http://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: 116
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1308 on: August 07, 2018, 10: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: BravoV, bitseeker, sathex, Eruil

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 5356
  • Country: 00
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1309 on: August 07, 2018, 11: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: 116
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1310 on: August 07, 2018, 11: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: 2302
  • Country: gr
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1311 on: August 08, 2018, 12:57:07 am »
So... Did you decrypted the new version? :D
Become a realist, stay a dreamer.

 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 5356
  • Country: 00
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1312 on: August 08, 2018, 01:12:18 am »
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: 116
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1313 on: August 08, 2018, 01:27:55 am »
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: 116
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1314 on: August 08, 2018, 01:36:27 am »
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

  • Contributor
  • Posts: 5
  • Country: dz
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1315 on: August 08, 2018, 04:44:09 am »
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: 16
  • Country: us
    • YouTube Page
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1316 on: August 08, 2018, 09:43:59 am »
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

Online james_s

  • Super Contributor
  • ***
  • Posts: 6485
  • Country: us
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1317 on: August 08, 2018, 09:52:38 am »
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 #1318 on: August 11, 2018, 12:21:04 pm »
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: 6117
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1319 on: August 11, 2018, 02:22:59 pm »
Welcome to the forum, janekdrukarz.

Yep, take a look at the photo 10 posts above yours.
You don't acquire TEA. It acquires you.
 

Offline radioman

  • Regular Contributor
  • *
  • Posts: 116
  • Country: ro
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1320 on: August 11, 2018, 09:33:00 pm »
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: 6117
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1321 on: August 12, 2018, 04:15:21 am »
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
You don't acquire TEA. It acquires you.
 
The following users thanked this post: JWag

Offline janekdrukarz

  • Newbie
  • Posts: 3
  • Country: gb
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1322 on: August 12, 2018, 02:25:25 pm »
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

  • Regular Contributor
  • *
  • Posts: 239
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1323 on: August 16, 2018, 01:16:36 am »
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 #1324 on: August 16, 2018, 11: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
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf