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

0 Members and 5 Guests are viewing this topic.

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 3531
  • Country: nl
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1150 on: March 01, 2018, 06:41:25 am »
The heart is the ETX character, after that comes the XSUM field (transmission checksum), I guess the checksum over all the bytes and that is why it is different.
Keyboard error: Press F1 to continue.
 

Offline MaximRecoil

  • Regular Contributor
  • *
  • Posts: 202
  • Country: us
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1151 on: March 01, 2018, 07:25:04 am »
The heart is the ETX character, after that comes the XSUM field (transmission checksum), I guess the checksum over all the bytes and that is why it is different.

That makes sense, thanks.
 

Online TheSteve

  • Supporter
  • ****
  • Posts: 2407
  • Country: ca
  • GHz or bust
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1152 on: March 01, 2018, 07:55:46 am »
I did some experimenting with different "VCC verify" and got bit errors on less addresses with higher voltage. I can compare the read with the original eprom dump for this engine, it's just a small part of the content that is changed by the tuner (look up tables a.k.a maps for fuel injection, inigition, turbo pressure etc.).  I estimate that I now have less than ten bit errors on the whole chip, and that makes it possible to analyze what the tuner has changed, so it's good enough for me.

Hello guys,
I try to do the same like the user redtop did 4 years back.

I want to read a AM29F200 chip, which got soldered on a copy protection socket inside a engine control unit, because the company isn't existing anymore since a long time and the owner wants some adjustments.
I soldered out the socket and soldered it on my TL866 adapter.
It doesn't read out crap anymore, but still a little bit scrambled.

Redtop wrote, that he did "VCC Verify" and changed the voltage.
But how can I do this with a TL866?

I use the MiniPro Software for Windows.

If you're trying to read the flash through the encryption board chances are they prevent sequential reads as part of the copy protection.
VE7FM
 

Offline notepadEngineer

  • Newbie
  • Posts: 3
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1153 on: March 01, 2018, 08:27:38 pm »
Hello guys,
I try to do the same like the user redtop did 4 years back.

I want to read a AM29F200 chip, which got soldered on a copy protection socket inside a engine control unit, because the company isn't existing anymore since a long time and the owner wants some adjustments.
I soldered out the socket and soldered it on my TL866 adapter.
It doesn't read out crap anymore, but still a little bit scrambled.

Redtop wrote, that he did "VCC Verify" and changed the voltage.
But how can I do this with a TL866?

I use the MiniPro Software for Windows.

If you're trying to read the flash through the encryption board chances are they prevent sequential reads as part of the copy protection.

Yes, I thought about that too.

I even read that the engine control unit switches OE (output enable) after every read.
And that's how the encryption board notices the difference between a programmer and the ecu.

Anyone has an idea how to get past this?  :P
« Last Edit: March 03, 2018, 12:01:10 am by notepadEngineer »
 

Offline notepadEngineer

  • Newbie
  • Posts: 3
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1154 on: March 04, 2018, 03:04:26 am »
Anyone?  :(
 

Offline teevee

  • Contributor
  • Posts: 24
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1155 on: March 06, 2018, 06:44:22 pm »
I have this .bin file, which I need to burn as “ODD” and “EVEN” on 2 x 27C256.

How do I proceed with that on my TL866? :)
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2411
  • Country: gb
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1156 on: March 07, 2018, 04:21:09 am »
I have this .bin file, which I need to burn as “ODD” and “EVEN” on 2 x 27C256.

How do I proceed with that on my TL866? :)

Here's a quick and dirty python script I just knocked up

Code: [Select]
# romsplit.py - 06/03/18 - Macbeth, EEVBlog

import argparse
parser = argparse.ArgumentParser(description='Split a binary file into .odd and .evn byte files')
#parser.add_argument('-r', '--recover', action='store_true',help='Recover .odd and .evn back to original file')
parser.add_argument('infile', help='filename')
args = parser.parse_args()
odd = bytearray()
evn = bytearray()

with open(args.infile, 'rb') as infile:
    buf = bytearray(infile.read())
    infile.close()

for i in range(len(buf)):
    if (i % 2):
        odd.append(buf[i])
    else:
        evn.append(buf[i])

with open(args.infile+".evn", 'wb') as outfile:
    outfile.write(evn)
    outfile.close()

with open(args.infile+".odd", 'wb') as outfile:
    outfile.write(odd)
    outfile.close()
 

Offline BrianG61UK

  • Contributor
  • Posts: 14
  • Country: gb
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1157 on: March 07, 2018, 04:35:41 am »
I have this .bin file, which I need to burn as “ODD” and “EVEN” on 2 x 27C256.

How do I proceed with that on my TL866? :)

Here's a quick and dirty python script I just knocked up

Code: [Select]
# romsplit.py - 06/03/18 - Macbeth, EEVBlog

import argparse
parser = argparse.ArgumentParser(description='Split a binary file into .odd and .evn byte files')
#parser.add_argument('-r', '--recover', action='store_true',help='Recover .odd and .evn back to original file')
parser.add_argument('infile', help='filename')
args = parser.parse_args()
odd = bytearray()
evn = bytearray()

with open(args.infile, 'rb') as infile:
    buf = bytearray(infile.read())
    infile.close()

for i in range(len(buf)):
    if (i % 2):
        odd.append(buf[i])
    else:
        evn.append(buf[i])

with open(args.infile+".evn", 'wb') as outfile:
    outfile.write(evn)
    outfile.close()

with open(args.infile+".odd", 'wb') as outfile:
    outfile.write(odd)
    outfile.close()
It's more difficult if you have, say, an Intel hex file.

Sent from my SM-N9005 using Tapatalk

 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 1708
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1158 on: March 07, 2018, 04:44:49 am »
I have this .bin file, which I need to burn as “ODD” and “EVEN” on 2 x 27C256.
How do I proceed with that on my TL866? :)

There are various utilities (most of them a bit dated by now) which can read and write various binary and hex file formats, split them into even/odd bytes, concatenate them and so forth. Under Windows, I use "EasyBin", which came with some 68k tools: http://www.easy68k.com/EASy68Kforum/viewtopic.php?t=695
 

Offline teevee

  • Contributor
  • Posts: 24
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1159 on: March 07, 2018, 07:43:35 am »
I have this .bin file, which I need to burn as “ODD” and “EVEN” on 2 x 27C256.
How do I proceed with that on my TL866? :)

There are various utilities (most of them a bit dated by now) which can read and write various binary and hex file formats, split them into even/odd bytes, concatenate them and so forth. Under Windows, I use "EasyBin", which came with some 68k tools: http://www.easy68k.com/EASy68Kforum/viewtopic.php?t=695

Sorry my mistake, the file is actually a .Hex. I tried opening .hex and I can say for sure that it wont work in EasyBin with the output.  :-//
 

Online TheSteve

  • Supporter
  • ****
  • Posts: 2407
  • Country: ca
  • GHz or bust
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1160 on: March 07, 2018, 07:51:19 am »
Open the .hex file with the TL866 software and save it as a .bin, then split the file.
VE7FM
 
The following users thanked this post: teevee

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 1708
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1161 on: March 07, 2018, 07:56:21 am »
Sorry my mistake, the file is actually a .Hex. I tried opening .hex and I can say for sure that it wont work in EasyBin with the output.  :-//

Ah, right -- being a 68000-centric tool, EasyBin understands the Motorola S-Record format, but not Intel's Hex format. Maybe convert the file to plain binary first, e.g. with this? http://hex2bin.sourceforge.net/

That utility seems pretty bare-bones and can't do the even/odd split, so you will still need EasyBin for that. I'm sure a bit of Googling will also bring up something that can directly split an Intel Hex file. But if you need to do this just once for now, the two-step process should be fine.
 
The following users thanked this post: teevee

Offline teevee

  • Contributor
  • Posts: 24
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1162 on: March 07, 2018, 05:43:03 pm »
Sorry my mistake, the file is actually a .Hex. I tried opening .hex and I can say for sure that it wont work in EasyBin with the output.  :-//

Ah, right -- being a 68000-centric tool, EasyBin understands the Motorola S-Record format, but not Intel's Hex format. Maybe convert the file to plain binary first, e.g. with this? http://hex2bin.sourceforge.net/

That utility seems pretty bare-bones and can't do the even/odd split, so you will still need EasyBin for that. I'm sure a bit of Googling will also bring up something that can directly split an Intel Hex file. But if you need to do this just once for now, the two-step process should be fine.

In the burning guide is written, that you should either use 2 x 27512 or 2 x 27256, but there is not checksum provided to verify the result and the file I need to convert and split is 180 KB in size.

Hex2bin requires some extensions installed as Windows end-user, so I did the following process. (Please correct me, if something is wrong)
1.   I open my .hex in MiniPro as 27512 and save it as .bin. This give me a .bin of 64 KB.
2.   I open my .bin in EASyBIN and choose 2 files with splitting every 2nd Byte, which gives me 2 files of 32 KB, which should fit for 27256.

Questions:
•   Is the procedure above correct?
•   The output from EASyBIN gives me two files. One named “_0” another “_1”, which one is considered ODD and EVEN?
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 1708
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1163 on: March 07, 2018, 07:48:22 pm »
1.   I open my .hex in MiniPro as 27512 and save it as .bin. This give me a .bin of 64 KB.
2.   I open my .bin in EASyBIN and choose 2 files with splitting every 2nd Byte, which gives me 2 files of 32 KB, which should fit for 27256.

Questions:
•   Is the procedure above correct?
•   The output from EASyBIN gives me two files. One named “_0” another “_1”, which one is considered ODD and EVEN?

Good idea to use the MiniPro software for the Hex to BIN conversion; I had not thought of that. Yes, the steps you describe look right to me, and the two 32k files are what one would expect.

The _0 and _1 extension can be thought of as the last bit of the address bus. So _0 denotes the file with the even bytes, and _1 the odd ones.

To be absolutely sure that the process has worked, you could have a look at the original file and the two partial files in a hex editor. (EasyBin or the Minipro software should work.) Jot down the first and final few bytes in the 64k file, and convince yourself that the 32k files have the odd and even bytes, respectively.
 

Offline Willem52

  • Regular Contributor
  • *
  • Posts: 54
  • Country: nl
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1164 on: April 03, 2018, 10:50:00 pm »
There are updates for the TL866A/CS (v6.71) and the TL866II (v7.11)
software and firmware: http://www.autoelectric.cn/en/tl866_main.html
« Last Edit: April 22, 2018, 11:01:16 pm by Willem52 »
 
The following users thanked this post: bitseeker, RobertPS, ChrisG, kulla

Offline orion242

  • Supporter
  • ****
  • Posts: 496
  • Country: us
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1165 on: April 04, 2018, 10:45:31 pm »
There is a new model from them the TL866II Plus, see on there website:

http://www.autoelectric.cn/en/TL866_main.html

It's so new, they don't even know themselves! The table says max VPP is 18V, but in the description below it's 21V.

And the first entry in their "authorised distributor" list has an ebay store, but only the old TL866CS and A models can be found.

Also I'm not sure about the other chips listed in that table, but W29C020 is a 5V CMOS chip, so not sure what "10.2S+2.4S" means for "P+V (S)". Are they talking about the input and output logic high voltages? Because looking at the datasheet, that's way too high for the input voltage.

Its available now on ebay.  Can't say its any faster than the old version, at least not for what I'm using it with (29F400BT mainly).  Software is pretty much identical, old adapters work fine with the new version.
 
The following users thanked this post: wasyoungonce, Willem52

Offline lex.le

  • Newbie
  • Posts: 2
  • Country: br
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1166 on: April 05, 2018, 11:55:26 pm »
hi guys,

I have one issue with my Tl866CS when i try to program laptop/desktop bios ics, the minipro program don't recognize 25 series and when i hit the detect button the program says "unknow device" - if i select chip model and write code and try to read or verify i get error message.

When i measure with multimeter vcc pin on zif i have low voltage like 0.5v or 1.5v and when i hit detect button this voltage drops to 0.3v or less. Does anyone know how i can fix this issue? I suspect the vcc control is broken, but i don't know how it works. In this image i show where i found this voltage.

https://ibb.co/jhpaUx

Thanks in advance.

 

Offline coromonadalix

  • Frequent Contributor
  • **
  • Posts: 527
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1167 on: April 11, 2018, 07:51:09 am »
is you device listed in the supported ic's in the minipro ?
 

Offline lex.le

  • Newbie
  • Posts: 2
  • Country: br
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1168 on: April 11, 2018, 07:57:40 am »
is you device listed in the supported ic's in the minipro ?
Yes, It's occur with any supported ic.

Enviado de meu Moto G (5S) Plus usando Tapatalk

 

Offline coromonadalix

  • Frequent Contributor
  • **
  • Posts: 527
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1169 on: April 11, 2018, 08:59:12 pm »
schematic of tl866  you can check all dc supply

http://www.obdii365.com/upload/pro/mini-pro-tl866-schematic-diagram.pdf
 

Offline Miti

  • Regular Contributor
  • *
  • Posts: 99
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1170 on: April 14, 2018, 11:57:13 am »
I ordered a TL866CS from ebay about a month ago and to my surprise I received an XGecu TL866 II Plus. Sweet...
Not sure if it is a mistake or they simply didn't have the CS anymore and upgraded to II Plus instead. Does anyone know what's new in the schematic II Plus? I see pin detection and stuff but does it have the same MCU?
Unfortunately the ICSP doesn't work, I tried to read a PIC16F877A from PicDem Plus and it fails. PicKit 3 works fine.
« Last Edit: April 14, 2018, 11:59:16 am by Miti »
That big spark at power up was by design!
 

Offline coromonadalix

  • Frequent Contributor
  • **
  • Posts: 527
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1171 on: April 14, 2018, 01:47:56 pm »
but the XGecu TL866 II  has an icsp port on it, i've seen pictures of it on ebay, you surely used the  http://www.autoelectric.cn/MiniPro/XgproV710_Setup.rar   software ???
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2160
  • Country: gr
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1172 on: April 14, 2018, 06:38:31 pm »
Did anyone compared the hardware between the old and the new version?

Alexander.
Become a realist, stay a dreamer.

 

Offline Miti

  • Regular Contributor
  • *
  • Posts: 99
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1173 on: April 15, 2018, 10:52:01 pm »
but the XGecu TL866 II  has an icsp port on it, i've seen pictures of it on ebay, you surely used the  http://www.autoelectric.cn/MiniPro/XgproV710_Setup.rar   software ???

Yes and yes, it does have an ICSP port and I am using the correct software but it cannot read the PIC. If I take the PIC out of PICDem Plus and I insert it in the socket it works. It came with the ICSP cable as well. It is either defective or my connection was bad, which I doubt.
That big spark at power up was by design!
 

Offline Miti

  • Regular Contributor
  • *
  • Posts: 99
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1174 on: April 15, 2018, 11:09:17 pm »
Like many others on this forum, I am disappointed that TL866 doesn't support FRAM like FM1608 or FM16W08. I sent two emails to autoelectric asking if they could add this part but I didn't get any answer. So I remembered that, if there's a will, there's a way and I decided to find a solution. And the solution could be a very simple hardware one. Selecting DS1225Y and using a PIC12F to generate the CE strobe. So here are the scope wave forms for reading and writing. The idea is to generate an interrupt for every change of the address line A0 and generate a CE pulse after the address has stabilized. I already prepared an adapter with PIC 12F1822. The schematic is very simple, pin to pin other than CE that comes from the PIC. PIC RA0 is input connected to device A0 and PIC RA1 is output and goes to device CE. The CE from the programmer is not connected, it is stuck low anyway.
Anybody wants to write the code before I do it? Should be very simple, interrupt on change of A0, both rising and falling and generate a 6uS low pulse after about 6 or 7uS. The 6-7uS is needed because A12 takes over 5uS to change after A0 has changed, is like they set the address bits one by one sequentially A0->A1->A2......

Edit1: Added A12 capture. I modified the timings from 2uS pulse to 6uS. The CE pulse must be low when WE strobes.
Edit2: I added the proposed schematic.
« Last Edit: April 16, 2018, 04:07:52 am by Miti »
That big spark at power up was by design!
 
The following users thanked this post: zucca


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf