View Single Post
  #2   Report Post  
Posted to sci.electronics.repair
Dave Platt[_2_] Dave Platt[_2_] is offline
external usenet poster
 
Posts: 201
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.