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

0 Members and 4 Guests are viewing this topic.

Offline notepadEngineer

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

Offline teevee

  • Contributor
  • Posts: 33
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1151 on: March 06, 2018, 07:44:22 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? :)
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1152 on: March 06, 2018, 05:21:09 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? :)

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

  • Regular Contributor
  • *
  • Posts: 59
  • Country: gb
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1153 on: March 06, 2018, 05:35:41 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? :)

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: 6202
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1154 on: March 06, 2018, 05:44:49 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? :)

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: 33
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1155 on: March 06, 2018, 08:43:35 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? :)

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.  :-//
 

Offline TheSteve

  • Supporter
  • ****
  • Posts: 3742
  • Country: ca
  • Living the Dream
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1156 on: March 06, 2018, 08:51:19 pm »
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: 6202
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1157 on: March 06, 2018, 08:56:21 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.
 
The following users thanked this post: teevee

Offline teevee

  • Contributor
  • Posts: 33
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1158 on: March 07, 2018, 06:43:03 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.

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: 6202
  • Country: de
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1159 on: March 07, 2018, 08:48:22 am »
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: 73
  • Country: nl
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1160 on: April 03, 2018, 12: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, 01:01:16 pm by Willem52 »
 
The following users thanked this post: bitseeker, RobertPS, ChrisG, kulla

Offline orion242

  • Supporter
  • ****
  • Posts: 746
  • Country: us
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1161 on: April 04, 2018, 12: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 #1162 on: April 05, 2018, 01: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

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1163 on: April 10, 2018, 09:51:09 pm »
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 #1164 on: April 10, 2018, 09:57:40 pm »
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

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1165 on: April 11, 2018, 10:59:12 am »
schematic of tl866  you can check all dc supply

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

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1166 on: April 14, 2018, 01: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, 01:59:16 am by Miti »
Fear does not stop death, it stops life.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1167 on: April 14, 2018, 03:47:56 am »
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: 2450
  • Country: gr
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1168 on: April 14, 2018, 08:38:31 am »
Did anyone compared the hardware between the old and the new version?

Alexander.
Become a realist, stay a dreamer.

 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1169 on: April 15, 2018, 12: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.
Fear does not stop death, it stops life.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1170 on: April 15, 2018, 01: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 15, 2018, 06:07:52 pm by Miti »
Fear does not stop death, it stops life.
 
The following users thanked this post: Zucca

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1171 on: April 15, 2018, 02:09:58 pm »
the thing still bothering me is  :   why oh why do you expect the tl866 will eventually program everything you thrown at autoelectric ???  seriously  buy a more powerful programmer ???

I do know its not cheap,  but stop  day dreaming

I have the tl866, in my win10 64 bit, it is always a nightmare to update, just tried the 6.70 version with the 2.81 fw update, had always to resort to a 32bit machine to update it ...   may switch to the new version, just to try and play with.  I hate the fact you had to update the fw to use the newest software each time a new revision is out.

I invested in an tnm5000 :  a very good buy,  i had sold my fist one for getting the Elnec,  it was a big mistake, bought a new one from Ali,  they recently added more powerful adapters  ... and they dont cost a fortune, why people dont start a thread with this one ??

I have an Elnec beeprog :   but the software is too complex for my taste, and adapters cost a fortune, may eventually sell it.

Check MCUMALL for the gq-5x universal, many people are still waithing for it,  they have actuallly 2 models:   the nand model and the spi one, but they aren't speedy to make the universal model who will combine the other two  ??? I had the gq-4x, it was bery good too and very stable.

I dont think autoelectric whant the tl866 to get bigger too fast in features and / or more supported hardware ...  if it was the case, they would already had make an newer model with more feature packed stuff. The tl866 II  may go in that direction slightly faster ???

The tnm5000 evolve pretty fast in requests and software updates.

Surely the software executable must extract something in computer memory ?? maybe there is something who could be captured and reversed ???

@ MITI

PicDem is an officially supported programmer with its own algorythms etc ...  maybe Autoelectric dont have permissions for everything out there ??  if you made an adapter has you said,   share it here with schematics etc ... some knowledgable people may extend it further ?
 

Offline BrianG61UK

  • Regular Contributor
  • *
  • Posts: 59
  • Country: gb
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1172 on: April 15, 2018, 03:33:50 pm »
the thing still bothering me is  :   why oh why do you expect the tl866 will eventually program everything you thrown at autoelectric ???  seriously  buy a more powerful programmer ???

I do know its not cheap,  but stop  day dreaming

I have the tl866, in my win10 64 bit, it is always a nightmare to update, just tried the 6.70 version with the 2.81 fw update, had always to resort to a 32bit machine to update it ...   may switch to the new version, just to try and play with.  I hate the fact you had to update the fw to use the newest software each time a new revision is out.

I invested in an tnm5000 :  a very good buy,  i had sold my fist one for getting the Elnec,  it was a big mistake, bought a new one from Ali,  they recently added more powerful adapters  ... and they dont cost a fortune, why people dont start a thread with this one ??

I have an Elnec beeprog :   but the software is too complex for my taste, and adapters cost a fortune, may eventually sell it.

Check MCUMALL for the gq-5x universal, many people are still waithing for it,  they have actuallly 2 models:   the nand model and the spi one, but they aren't speedy to make the universal model who will combine the other two  ??? I had the gq-4x, it was bery good too and very stable.

I dont think autoelectric whant the tl866 to get bigger too fast in features and / or more supported hardware ...  if it was the case, they would already had make an newer model with more feature packed stuff. The tl866 II  may go in that direction slightly faster ???

The tnm5000 evolve pretty fast in requests and software updates.

Surely the software executable must extract something in computer memory ?? maybe there is something who could be captured and reversed ???

@ MITI

PicDem is an officially supported programmer with its own algorythms etc ...  maybe Autoelectric dont have permissions for everything out there ??  if you made an adapter has you said,   share it here with schematics etc ... some knowledgable people may extend it further ?
I never had any problems updating my TL866CS running on 64 bit Windows 7. Just press the button when the new software tells me to and it's done.

Sent from my SM-N9005 using Tapatalk

 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1173 on: April 15, 2018, 03:33:58 pm »
the thing still bothering me is  :   why oh why do you expect the tl866 will eventually program everything you thrown at autoelectric ???  seriously  buy a more powerful programmer ???

I can't justify the cost of a powerful programmer, I use it very rarely. On top of that, I have SP5000 at work. And it is fun...and when you develop a device like that you can expect people to throw all kind of requests at you...and some people like challenges...and they like transforming day dreams in reality. Want more?

@ MITI
PicDem is an officially supported programmer with its own algorythms etc ...  maybe Autoelectric dont have permissions for everything out there ??  if you made an adapter has you said,   share it here with schematics etc ... some knowledgable people may extend it further ?

I connect through the ICSP port, there's no algorithm, permission stuff there. All you need to know is the Microchip ICSP protocol and you're in.
All the information is there, any "knowledgeable" person can generate a schematic from that but I will draw a proper schematic soon.
Fear does not stop death, it stops life.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: EEVblog #411 - MiniPro TL866 Universal Programmer Review
« Reply #1174 on: April 16, 2018, 01:40:41 am »
as you said   you can throw many requests as you can, but autoelectric have their development speed and ressources, and people tend to loose patience and sometimes ask for miracles loll  its a cheap programmer with limitations, maybe good and bad design in some case, compatibility may arise.

If i recall the tl866 was developped for automotive purposes at first, ecu hacking, dumping etc ... and began to have an huge sucess with it's cheap cost and not so expensive adapters, but it will have hardware limitations pretty fast.

At my job  we use Atmel, Microchip, very old Xilinx cpld's, stm 32  and the list goes on and on, i have tried the Elnec Beeprog on all of them with huge sucess, had one limitation pulled off after sw updates to correct an communication bug. the tnm5000 was second with only one chip "cpld kind" limitation who will be eventually adressed ...

Had to keep an old chipmaster 6000 xpu to help for a longtime, with very outdated software.

That's a load of different softwares and tons of programmers costing time and frustrations.

And this tl866 has lots of them ... but reversing and hacking helped for schematics,  now there is the software side of it, maybe some people with knowledge and ressources may find a way to overcome this ???   maybe capture memory content of the computer to catch expanded / unencrypted / extracted files  ???

Send tons of emails to autoelectric  maybe they will move a little bit faster under pressure  loll
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf