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