If I am reading the spec. correctly, and I probably should have read it in more detail before spinning the first board.... At boot up, the built in boot loader: * Checks for HPI boot. * Reads from address FFFF of IO space looking for a 16 bit address in data space. * If no valid address, it reads from address FFFF in dataspace looking for a boot table. * Starts loading the boot table. Ok, so I don't have anything connected to IO space. AND I only have an 8 bit flash. The upper 8 bits are floating. Is there any hope of booting from flash at this point, or do I need to respin? Thanks, Mike |
|
TMS320VC5416 8 bit parrallel boot
bsd_mike wrote: > If I am reading the spec. correctly, and I probably should > have read it in more detail before spinning the first board.... > > At boot up, the built in boot loader: > > * Checks for HPI boot. > * Reads from address FFFF of IO space looking for a 16 bit > address in data space. > > * If no valid address, it reads from address FFFF in dataspace > looking for a boot table. > > * Starts loading the boot table. > > Ok, so I don't have anything connected to IO space. > AND I only have an 8 bit flash. The upper 8 bits are floating. > > Is there any hope of booting from flash at this point, or do > I need to respin? > The '5416 is a 16 bit part. There's no way its going to work with a 8bit flash. Unless maybe you put in two :) Brian -- ----------------- Brian C. Lane (W7BCL) Programmer www.shinemicro.com RF, DSP & Microcontroller Design |
Mike wrotes. >Ok, so I don't have anything connected to IO space. >AND I only have an 8 bit flash. The upper 8 bits are floating. > >Is there any hope of booting from flash at this point, or do >I need to respin? I've been boot with 8bit width flash. see SPRA602 for 5416boot detail. 54's bootloader can boot with 8bit/16bit width data bus. BTW, someone please tell me that the smart way to mark 'SRC ADRS' in address 0xffff (or, 0xfffe/0xffff in 8bit width bus) for bootloader. it seems the hex converter utility has no function of it. so, I'm patching generated hex image file manually... hiro |
|
8 bit parallel boot is supported...see spra602e.pdf. What does not seem to be supported though is setup of the start address without at least one 16 bit read at startup. (Looks like it wants to do a 16 bit read of IO space for a pointer to the start address and then a 16 bit read to ffff in data space) -Mike |
|
Mike- You should be fine, no worries. Look at hex500 (in the Assembly Language Tools book) to get some clues on what is possible of you use the boot-table generation option. The chip bootloader reads this table to learn a lot about the info it's booting, including data width, endian, etc. -Jeff > If I am reading the spec. correctly, and I probably should > have read it in more detail before spinning the first board.... > > At boot up, the built in boot loader: > > * Checks for HPI boot. > * Reads from address FFFF of IO space looking for a 16 bit > address in data space. > > * If no valid address, it reads from address FFFF in dataspace > looking for a boot table. > > * Starts loading the boot table. > > Ok, so I don't have anything connected to IO space. > AND I only have an 8 bit flash. The upper 8 bits are floating. > > Is there any hope of booting from flash at this point, or do > I need to respin? > > Thanks, > Mike |
Thanks a lot, I guess I had not understood enough of the process. One more question. What will the IO read of address ffff produce if nothing is connected to it? Thanks, -Mike --- In , fabe@f... wrote: > Mike wrotes. > > >Ok, so I don't have anything connected to IO space. > >AND I only have an 8 bit flash. The upper 8 bits are floating. > > > >Is there any hope of booting from flash at this point, or do > >I need to respin? > > I've been boot with 8bit width flash. > see SPRA602 for 5416boot detail. > 54's bootloader can boot with 8bit/16bit width data bus. > BTW, someone please tell me that the smart way to mark 'SRC ADRS' > in address 0xffff (or, 0xfffe/0xffff in 8bit width bus) for bootloader. > > it seems the hex converter utility has no function of it. > so, I'm patching generated hex image file manually... > > hiro |
> >8 bit parallel boot is supported...see spra602e.pdf. > >What does not seem to be supported though is setup of the >start address without at least one 16 bit read at startup. >(Looks like it wants to do a 16 bit read of IO space >for a pointer to the start address and then a 16 bit read >to ffff in data space) See page14 well. after trying 16bit read, 8bit read occures. but a bit of typo there is >Read MSB of source address from 0FFFFh in data space >Read LSB of source address from 0FFFEh in data space >Read first word from the source address in data space It seems 'Read first byte....' I think. hiro |
Mike- > 8 bit parallel boot is supported...see spra602e.pdf. > > What does not seem to be supported though is setup of the > start address without at least one 16 bit read at startup. > (Looks like it wants to do a 16 bit read of IO space > for a pointer to the start address and then a 16 bit read > to ffff in data space) My guess -- not having dealt before in detail with an 8-bit boot -- would be that the bootloader looks only at the lower 8-bits of the initial 16-bit read for first few params. -Jeff |