Re: PROM files: build .bin for daisy chain on the fly



jack...@xxxxxxxxx schrieb:

Currently we use iMpact to create daisy-chain .bin file for our
motherboard populated with plug-in cards, each with its own XC3S500E.
The plug-in cards configuration can be changed on the field so the bin
image must also be regenerated for the new configuraion. We need to
build a new daisy chain .bin file inside our embedded system. I was
trying to understand the file structure but all the descriptions of the
bitstream structure I found in application notes don't correspond to
the files generated by iMpact.

Has anyone tried to build daisy-chain .bin file programmatically out
from single-device .bin files? Thanks.

yes anyone has done this.

What impact does is 'merging' the slave .BIT inside the master bit by
inserting the slave .BIT as single stream that written to LOUT
register. Well at least that is how it work for serial configuration.

I have tried to configure multiply devices in chain without the LOUT
trick but with little luck, usually both master and slave release done,
but only one of them actually starts, eg GHIGH of the slave doesnt
assert.

using impact to insert the second bit inside the master bit makes the
second (slave) device also to start properly.

I bet you are (will be) facing the same problem.

inserting the slave streams into LOUT record isnt complicated but you
need to parse the .BIT files in order to write out the resulting single
binary image that you need.

Antti
http://antti-brain.com

.



Relevant Pages

  • Re: MDValidateRomChain????
    ... So i open the bin file and change the image header and ROMHDR ponter address ... of the XIP Also in romhdr structure i change the start and End physical ... "Dean Ramsier" wrote: ...
    (microsoft.public.windowsce.embedded)
  • nk.bin and nk.nb0
    ... whereas the BIN file is a series of records ... code (which, at least on ARM, is just a jump instruction to the nk.exe entry ... out on flash, so it contains everything in the BIN file, but in a flat file ... (Head and record information) ...
    (microsoft.public.windowsce.embedded)
  • Re: How can I read files from APPS.bin ???
    ... ability to decode the BIN file in your splash screen code (and, potentially, ... This should make writing the splash image display ... bin, etc successfully. ... in bootloader. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: licensed program install
    ... I would like to install product 5733SC1 using virtual optical unit. ... I've created BIN file from proper CD then FTP it to folder in IFS. ... I think you can create an ISO and rename it to bin, not sure if that´s the same format. ...
    (comp.sys.ibm.as400.misc)
  • Re: Dead HDD?
    ... would just like to double-check if possible before I bin it. ... Since the machne failed to start with the disk as a slave, ... I just thought that it was perhaps worth investigating to see if there is a ...
    (uk.comp.homebuilt)

Loading