Hi all, Background: I'm using C5510 on a custom board that include a PowerPC proccesor and a FPGA. The C5510 boots using the burned bootlader and via McBSP#0 serial channel. The PPC reads the boot-table from FLASH and push it througth the FPGA, in 1024Bytes 'chunks' (FPGA constraint...) to the C5510. The boot-table (a.k.a. boot-record) is created with HEX500 utility. Q1: Can I create a boot-table with a known, fixed, pre-determined length (of bytes or words, doesn't matter...)? How? Q2: Does the boot-table has a 'sync-word' at its end to signal its the end? Thank you for your time, David Ganor |
|
Hex500 converssion utility
Started by ●January 25, 2004
Reply by ●January 26, 20042004-01-26
Hi, Q2: The boot table is normally broken into sections, each section header having a start address and size, with the data following. The end of the boot table is identified with a size of -1 (0xffff). Q1: I don't know of anyway offhand to easily tell the hex utility to keep a boot table section under a specific size. What you can try to do is break up the flash memory map used by the hex utility command file into 1024 chunks, and then break all the sections of your application code into small chunks as well (using the .usect directive in your C code) and then specify a location for each section within the hex utility command file. This is a very tedious approach (and I'm not sure how you would break up the .text section). Q1: (revisited) I think my response above assumed your were trying to create sections of known length, but in looking at your question again, it looks like you want the whole boot table to be a known length. See if the hex utility command file lets you specify a fill value for unused memory locations. If so, you can define the flash memory map which will contain the boot table to be a known size and any unsed locations will contain the fill value. Anybody else know how he might do this? -Shawn www.appliedsignalprocessing.com P.S. Let me know how it works out and what solution you come up with. --- In , "davidganor" <david@w...> wrote: > Hi all, > Background: > I'm using C5510 on a custom board that include a PowerPC proccesor > and a FPGA. > The C5510 boots using the burned bootlader and via McBSP#0 serial > channel. The PPC reads the boot-table from FLASH and push it througth > the FPGA, in 1024Bytes 'chunks' (FPGA constraint...) to the C5510. > The boot-table (a.k.a. boot-record) is created with HEX500 utility. > > Q1: Can I create a boot-table with a known, fixed, pre-determined > length (of bytes or words, doesn't matter...)? How? > > Q2: Does the boot-table has a 'sync-word' at its end to signal its > the end? > > Thank you for your time, > David Ganor |