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?
# 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()
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 upCode: [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()
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?
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.
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.
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?
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.
is you device listed in the supported ic's in the minipro ?
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
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 ?
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
@ 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 ?