Electronics Repair (sci.electronics.repair) Discussion of repairing electronic equipment. Topics include requests for assistance, where to obtain servicing information and parts, techniques for diagnosis and repair, and annecdotes about success, failures and problems.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old December 30th 20, 09:25 PM posted to sci.electronics.repair
external usenet poster
 
First recorded activity by DIYBanter: Dec 2020
Posts: 1
Default eprom burning question

im using a GQ-4x burner, its a willem type. im trying to burn 3 images to a single prom. the 1st at 0000, the second at offset 1000, the 3rd at 1800. i try the combine feature, but it tells me to close the application, re-open without choosing a device. that doesnt work,. its a 2764. i tried burning the 1st file, then the 2nd, then the third. i see all the code there, but not sure if thats the right way. i would rather combine into one file, and then burn.

thanks

  #2   Report Post  
Old December 30th 20, 10:52 PM posted to sci.electronics.repair
external usenet poster
 
First recorded activity by DIYBanter: Dec 2014
Posts: 194
Default eprom burning question

In article ,
Mike Hooker wrote:
im using a GQ-4x burner, its a willem type. im trying to burn 3 images to a single prom. the
1st at 0000, the second at offset 1000, the 3rd at 1800. i try the combine feature, but it
tells me to close the application, re-open without choosing a device. that doesnt work,. its
a 2764. i tried burning the 1st file, then the 2nd, then the third. i see all the code there,
but not sure if thats the right way. i would rather combine into one file, and then burn.


If you have access to a Linux system you can do the combining with
"dd" (one of many choices but it's straightforward).

One way to do this would be

dd if=/dev/zero of=combined.bin bs=1 count=8192
dd if=1st.bin of=combined.bin bs=1 seek=0 conv=notrunc
dd if=2nd.bin of=combined.bin bs=1 seek=$((0x1000)) conv=notrunc
dd if=3rd.bin of=combined.bin bs=1 seek=$((0x1800)) conv=notrunc

In plain language - create an 8k-byte file full of zeros, then copy
each of the three separate images into it, seeking to the appropriate
offset in the file first, and not truncating the file while copying.




  #3   Report Post  
Old December 31st 20, 12:17 AM posted to sci.electronics.repair
external usenet poster
 
First recorded activity by DIYBanter: Jul 2006
Posts: 873
Default eprom burning question

On 2020/12/30 1:52 p.m., Dave Platt wrote:
In article ,
Mike Hooker wrote:
im using a GQ-4x burner, its a willem type. im trying to burn 3 images to a single prom. the
1st at 0000, the second at offset 1000, the 3rd at 1800. i try the combine feature, but it
tells me to close the application, re-open without choosing a device. that doesnt work,. its
a 2764. i tried burning the 1st file, then the 2nd, then the third. i see all the code there,
but not sure if thats the right way. i would rather combine into one file, and then burn.


If you have access to a Linux system you can do the combining with
"dd" (one of many choices but it's straightforward).

One way to do this would be

dd if=/dev/zero of=combined.bin bs=1 count=8192
dd if=1st.bin of=combined.bin bs=1 seek=0 conv=notrunc
dd if=2nd.bin of=combined.bin bs=1 seek=$((0x1000)) conv=notrunc
dd if=3rd.bin of=combined.bin bs=1 seek=$((0x1800)) conv=notrunc

In plain language - create an 8k-byte file full of zeros, then copy
each of the three separate images into it, seeking to the appropriate
offset in the file first, and not truncating the file while copying.


Nice solution, I would only suggest editing the create function to make
it a 8K file of "FF"s so you aren't trying to burn 00s - this will speed
up the programming slightly. Afraid I don't know how, but I'm sure it is
easy to look up...

John :-#)#

--
(Please post followups or tech inquiries to the USENET newsgroup)
John's Jukes Ltd.
MOVED to #7 - 3979 Marine Way, Burnaby, BC, Canada V5J 5E3
(604)872-5757 (Pinballs, Jukes, Video Games)
www.flippers.com
"Old pinballers never die, they just flip out."
  #4   Report Post  
Old December 31st 20, 11:21 AM posted to sci.electronics.repair
external usenet poster
 
First recorded activity by DIYBanter: Dec 2010
Posts: 53
Default eprom burning question

In article ,
John Robertson wrote:

dd if=/dev/zero of=combined.bin bs=1 count=8192


....

Nice solution, I would only suggest editing the create function to make
it a 8K file of "FF"s so you aren't trying to burn 00s - this will speed
up the programming slightly. Afraid I don't know how, but I'm sure it is
easy to look up...


Use /dev/one instead of /dev/zero

It would *only* speed up programming if the hardware/software used
optimizes things and skips/refuses to "program" locations that
are 0xFF (the default blank chip state).

Otherwise, there's no speedup there.

Serious answer, if you don't have /dev/one available, change the first
line to :-

cat /dev/zero | tr '\000' '\377' | dd of=combined.bin bs=1 count=8192

Omitting the "if=/dev/zero" takes input from stdin, and tr swaps
0 for 377 (Octal)/255(Dec)/0xFF(hex)
--
--------------------------------------+------------------------------------
Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk
  #5   Report Post  
Old December 31st 20, 07:21 PM posted to sci.electronics.repair
external usenet poster
 
First recorded activity by DIYBanter: Jul 2006
Posts: 873
Default eprom burning question

On 2020/12/31 2:21 a.m., Mike wrote:
In article ,
John Robertson wrote:

dd if=/dev/zero of=combined.bin bs=1 count=8192


...

Nice solution, I would only suggest editing the create function to make
it a 8K file of "FF"s so you aren't trying to burn 00s - this will speed
up the programming slightly. Afraid I don't know how, but I'm sure it is
easy to look up...


Use /dev/one instead of /dev/zero

It would *only* speed up programming if the hardware/software used
optimizes things and skips/refuses to "program" locations that
are 0xFF (the default blank chip state).

Otherwise, there's no speedup there.

Serious answer, if you don't have /dev/one available, change the first
line to :-

cat /dev/zero | tr '\000' '\377' | dd of=combined.bin bs=1 count=8192

Omitting the "if=/dev/zero" takes input from stdin, and tr swaps
0 for 377 (Octal)/255(Dec)/0xFF(hex)


Nice work!

I wasn't really worried about the speed, more changing FFs to 00s seemed
a bit pointless in the grand scheme of things, plus any unused space
(FFs) in the EPROM could still be used if the OP needed something else
in the future.

Or just erase and start over...which we've all done I'm sure!

John ;-#)#

--
(Please post followups or tech inquiries to the USENET newsgroup)
John's Jukes Ltd.
MOVED to #7 - 3979 Marine Way, Burnaby, BC, Canada V5J 5E3
(604)872-5757 (Pinballs, Jukes, Video Games)
www.flippers.com
"Old pinballers never die, they just flip out."


  #6   Report Post  
Old December 31st 20, 09:56 PM posted to sci.electronics.repair
external usenet poster
 
First recorded activity by DIYBanter: Dec 2010
Posts: 53
Default eprom burning question

In article ,
John Robertson wrote:

it a 8K file of "FF"s so you aren't trying to burn 00s - this will speed
up the programming slightly.


It would *only* speed up programming if the hardware/software used
optimizes things and skips/refuses to "program" locations that
are 0xFF (the default blank chip state).

Otherwise, there's no speedup there.


I wasn't really worried about the speed,


Well, some programmers do optimise by "not-programming" 0xFF, which may
not make much odds on a decent programmer. I added this step to the
custom software for my EPROM programmer which talks over a 4800 baud
RS232 serial link, where every byte matters!

Same for a "Rapid blank check" (check 1024 bytes spaced through the chip
to check if they come up blank) for quick-sorting of blank vs programmed.

plus any unused space
(FFs) in the EPROM could still be used if the OP needed something else
in the future.


Yes, that's actually a good point -- I've used 27512 parts where I
really needed only a 27128 (with two spare high address lines tied to
jumpers to ground/pullup resistors) to allow four goes at programming
the chip before having to chip-swap or erase!

Or just erase and start over...which we've all done I'm sure!


Too many times
--
--------------------------------------+------------------------------------
Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk
  #7   Report Post  
Old January 1st 21, 11:53 PM posted to sci.electronics.repair
external usenet poster
 
First recorded activity by DIYBanter: Jun 2013
Posts: 36
Default eprom burning question

Dave Platt wrote:
In article ,
Mike Hooker wrote:
im using a GQ-4x burner, its a willem type. im trying to burn 3 images to a single prom. the
1st at 0000, the second at offset 1000, the 3rd at 1800. i try the combine feature, but it
tells me to close the application, re-open without choosing a device. that doesnt work,. its
a 2764. i tried burning the 1st file, then the 2nd, then the third. i see all the code there,
but not sure if thats the right way. i would rather combine into one file, and then burn.


If you have access to a Linux system you can do the combining with
"dd" (one of many choices but it's straightforward).


First we need to know what file types Mike is using.
The proposed solution is OK for binary images, but actually in EPROM
burning it is more common to have HEX files, which have lines containing
an address, a number of bytes, and usually a checksum, all in ASCII HEX.

To combine those files, you would just need to cat them together.
  #8   Report Post  
Old January 2nd 21, 01:48 AM posted to sci.electronics.repair
external usenet poster
 
First recorded activity by DIYBanter: Jul 2006
Posts: 873
Default eprom burning question

On 2021/01/01 2:53 p.m., Rob wrote:
Dave Platt wrote:
In article ,
Mike Hooker wrote:
im using a GQ-4x burner, its a willem type. im trying to burn 3 images to a single prom. the
1st at 0000, the second at offset 1000, the 3rd at 1800. i try the combine feature, but it
tells me to close the application, re-open without choosing a device. that doesnt work,. its
a 2764. i tried burning the 1st file, then the 2nd, then the third. i see all the code there,
but not sure if thats the right way. i would rather combine into one file, and then burn.


If you have access to a Linux system you can do the combining with
"dd" (one of many choices but it's straightforward).


First we need to know what file types Mike is using.
The proposed solution is OK for binary images, but actually in EPROM
burning it is more common to have HEX files, which have lines containing
an address, a number of bytes, and usually a checksum, all in ASCII HEX.

To combine those files, you would just need to cat them together.


If the OP is using osX I could recommend a little program I use quite a
bit - burning EPROMs many times a week - called Synalyze It! Pro. Easy
to merge files, do checksums of various levels of complexity and compare
binaries.

Here is the free version:

https://www.synalysis.net/

And I do recommend buying the Pro. I know I don't use all the features...

John :-#)#

--
(Please post followups or tech inquiries to the USENET newsgroup)
John's Jukes Ltd.
MOVED to #7 - 3979 Marine Way, Burnaby, BC, Canada V5J 5E3
(604)872-5757 (Pinballs, Jukes, Video Games)
www.flippers.com
"Old pinballers never die, they just flip out."


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Another EPROM question. [email protected] Electronics Repair 4 April 1st 17 02:35 AM
Here are schematic Junker gas-burning heating installation. [1/1] - "Junker gas burning schematic.zip" yEnc (1/4) johan[_2_] Electronic Schematics 3 September 26th 07 08:01 PM
RCA EPROM QUESTION? John Del Electronics Repair 4 January 24th 05 02:05 PM
2532 EPROM to 2732 EPROM Steve Lewinsky Electronics 1 January 23rd 05 08:28 PM
FA: Needham's EMP-20 EPROM Burner / Datarase EPROM Eraser ottodog Electronics 0 June 27th 03 03:42 AM


All times are GMT +1. The time now is 05:05 AM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2004-2021 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"

 

Copyright © 2017