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.

Upgrading from Bottom boot flash to Top boot flash

Other Parts Discussed in Thread: TMS320VC5402, TMS320UC5402

We interfaced S29AL0C4D70MFI02 with TMS320C5402 in one of our projects. This flash is a bottom boot flash. Now we are changing the flash to S29AL008D70TFI01 which is a top boot flash devide. Now we are able to program it, but the program is not executing.

Any changes to be done in code for this?

Please suggest us the changes to be done for the same.

  • I believe this is in progress with FAE.

  • Hello Steve Tsang,

    We have also facing same problem while placing top boot flash instead of bottom boot flash.

    Board is not stated.

    Please let me know which type of changes required in firmware ?

  • Hi Paresh,

    Have you understood and followed the procedure described in the TMS320VC5402 and TMS320UC5402 Bootloader App Report? (www.ti.com/.../spra618b.pdf)

    It reads... "The next boot modes tested are the parallel boot modes. The boot table is read from data space and can be located at data space addresses between 4000h and FFFFh. The bootloader determines the start address of the boot table by first reading address FFFFh in I/O space. The bootloader uses the value read from I/O space as the start address of the boot table in data space. The beginning of the boot table should contain a certain keyword that indicates whether 8-bit or 16-bit boot mode is desired. The valid keyword for 8-bit boot mode is 08AAh (in two consecutive 8 bit locations), while the valid keyword for 16-bit boot mode is 10AAh. If no valid keyword is found using the address read from I/O space, the process is repeated using the contents of address FFFFh of data space. The bootloader reads address FFFFh in data space to obtain a start address for the boot table. It then reads the contents of that start address to check for a valid keyword. It is convenient to provide both, the start address and the boot table, in data space since this allows storage of both in a single non-volatile memory. When a valid keyword is detected at the start address, the bootloader continues to read the remainder of the boot table and loads and executes the application code. If no valid keyword is found, the bootloader proceeds to check the serial modes."

    Can you connect a logic analyzer to the bus and confirm behavior is as expected? Probe also INT2, INT3, and XF to ensure the bootloader is getting to Parallel boot.

    Can you confirm that this version of the S29AL008D supports the Flash RESET command (writing 0xF0 to data). It will be obvious if the flash is stuck in read status register mode - every read will return the same data (seen this issue on newer Intel P30 flash devices).