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.

TMS320C6678: TMS320C6678关于BOOTMODE配置问题

Part Number: TMS320C6678


我们TMS320C6678使用SPI FLASH来进行BOOT,有以下问题。
1.一般支持的SPI FLASH容量是多大?
2.关于SPI Boot Device Configuration的Parameter Table Index应该是怎么配置? 可以看哪份资料有详细的说明?

  • 1、支持接Addr Width为16bit或者24bit,最大容量为16M。

    2、Parameter Table Index来决定从哪个block启动,可以阅读3.8 SPI Bootloader Operation

    The flash connected is also divided in to blocks of 128 bytes and the starting block to be read can be provided by the user through the DEVSTAT register.

    www.ti.com.cn/.../sprugy5c.pdf

  • 关于第2点,

    Parameter Table Index来决定从哪个block启动,那么这个block是FLASH里面的 Sector 的意思吗?  还是subSector?

    我看都对不上哦,16MByte的话,是128Mb,就算按照最大的Sector ,也分了256个Sector,Parameter Table Index只有4bit的配置,最大只能16个?

  • Parameter Table Index在RBL source code中可以找到,该值决定SPI读取数据的起始地址,即SPI boot parameter table中的Read Addr MSW/LSW字段根据该值计算=Parameter table index*128B,之后SPI从该起始地址读取数据。

    tiboot.h中的结构体BOOT_PARAMS_SPI_T有相关定义。

    RBL源码可以从以下链接下载。

    www.ti.com.cn/.../spracn2.pdf