This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6745 ROM Boot

Other Parts Discussed in Thread: TMS320C6745

I am using the TMS320C6745.

The ROM boot is configured for SPI0 serial flash master.

Is there a way to "trick" the ROM bootloader to start reading the AIS image from a different location in the flash other than 0x00000000?

  • I don't think this is supported. But why do you need this feature? What are you using the offset 0x0 for?

  • I want to create a secondary boot-loader that loads my application from the UART to the second page of flash. If the secondary boot-loader doesn't receive a new image from the UART, it resets the ROM boot-loader to start reading from the second page, not 0x00 of flash (effectively booting my application).

    I am trying to avoid writing an AIS interpreter inside of my secondary boot-loader.

     

  • From the document http://www.ti.com/lit/an/spraat2e/spraat2e.pdf

    To boot from a slave memory device connected to an SPI peripheral, the AIS contents (in binary format) can be flashed directly to the memory device. The boot image must be placed at address 0 of the memory device. SPI EEPROMs must use 16-bit addressing, while SPI flash chips must use 24-bit addressing. The read command opcode for the SPI flash device must be 0x03.

  • Yes, I did read that paragraph in the data sheet. I was hoping there was some undocumented command in the AIS or some technique I could use to make the ROM boot-loader read from anywhere in serial flash.

  • Chris,

    In case of NAND it is partially possible, where it will try to read block0-3 to figure out whether a valid boot loader exist or not. But in your case, even if you have such a logic implemented, it will be of no use as your 0x0 offset contains a valid bootloader or application.