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.

C6657 Bootloader Uart and PCI

Hi,

I have a couple of question regarding the bootloader:

[1] I would like to use the UART boot mode on the TMX320C6657 EVM. According to the device datasheet (SPRS814A), BOOTMODE bits [2:0] = 00 selects EMIF16/ UART/NoBoot.

I can't find any documentation that describes how to use this mode. The Keystone Architecture Bootloader User Guide (SPRUGY5B) doesn't include UART boot and all the sample code in the mcsdk only shows ethernet, i2c, pcie and srio.

Please can you direct me to documentation / sample code that uses the UART boot loader.

[2] Eventually I will be using PCIe boot on our actual prototype hardware. Please can you confirm that I don't need to use the IBL for PCIe boot.

Regards,

Rajan

  • The UART is unique to the C665x devices and we are still under the process to add it. Do you have any specific question on the boot?

    Yes, you don't need the IBL to do PCIe boot.,

    Thanks,

    Arun.

  • Thanks for the prompt reply Arun.

    I do have a couple of questions about the UART boot mode -

    [1] The UART Sub-Mode Specific Configuartion bits 9:8 specify UART interface speed and bits 7:6 specify parity. Which bits specify the number of data bits, or does the UART boot mode default to 8 bit data length?

    [2] How is the UART transfer initiated, how should the data to be transfered from the host be arranged and how are data blocks transfered and acknowledged  - is there a protocol involved?

    Thanks,

    Rajan

  • Rajan,

    Yes only 8 bit mode is supported.

    The image should be in boot table format and XMODEM protocol is used to transfer data from host to the DSP connected through the UART. 

    Hope this helps.

    Thanks,

    Arun.

  • Thanks for the information Arun, I'll try this out.

    Should I be using the following parametrs in hex6x to generate the Boot Table format:

    hex6x  -boot  -a  -e=_c_int00 -order=L  -memwidth=32  -romwidth=32  -o <file.hex>  -map <file.map>  <file.out>

    (i.e. boot mode, ascii hex format, Little Endian, mem and rom width = 32 and does the RBL expect data in Little Endian format?)

    Regards,

    Rajan

  • Hi Rajan,

    That is correct.

    Thanks,

    Arun.