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.

SPI boot



您好,Ti的专家:

       有关C6657的SPI boot的问题想请教一下,现在cmd里面没有DDR3段的boot已经实现,现在想实现带DDR3段的boot,在论坛看了一些帖子,没怎么搞懂参数表头里面的配置, 参考过tiboot.h;wiki里面下载的SPIboot_with_DDR_UserGuide.docx文档,看的不是很懂,因为我是自己的板子,需要自己修改参数,问题:

  1. 想请问一下如下红色标记的16个字节具体代表什么意思?
  2. 这个表头里面没有修Level,能确保数据的正确性么?

//6657DDR3 boot参数表头配置

00 00 00 70   //ddr 表头字节数 7*16+4+4 = 120字节

00 8F FD 20   // where to load ddr table to L2   load地址  注:6657没有文档说明

02 42 80 F5   // config select  找不到/* Bit map defining which registers to set */

00 00 00 00   // 

00 00 00 10   // 

00 00 00 01   // 

61 23 BD 5A   // sd ram config  get

00 00 00 00   // sd ram config2   dont care

00 00 51 61   // sdram fresh cntrl  get

11 13 78 3C   // sdram timing 1  保留

30 4F 55 23   // sdram timing 2  get

55 95 06 AF   // sdram timing 3  get

00 00 00 00   // lpDdrNvmTiming   dont care

00 00 00 00   // powerManageCtl   dont care

00 00 00 00   // iODFTTestLogic   dont care

00 01 00 00   // perform count config  get   dont care

00 00 00 00   // performCountMstRegSel   dont care

00 00 00 00   // readIdleCtl   dont care

00 00 00 00   // sysVbusmIntEnSet    dont care

70 07 32 14   // sdramout imped Calcfg   找不到   dont care

00 00 00 00   // tempAlterCfg    dont care

00 10 01 0D   // ddr phy control 1 保留

00 00 00 00   // ddrPhyCtl2      dont care

00 00 00 00   // priClassSvceMap   dont care

00 00 00 00   // mstId2ClsSvce1Map  dont care

00 00 00 00   // mstId2ClsSvce2Map   dont care

10 00 00 00   // ecc cntrl  保留    dont care

00 00 00 00   // ecc range1    dont care

00 00 00 00   // ecc range2    dont care

00 00 03 05   // rdWrtExcThresh  保留    dont care

 

  • 1. 可以看一下SPIboot_with_DDR_UserGuide.docx文档里的DDR configuration table for C6657说明,bitmap对应表里的哪些寄存器要配置,置1表示要配置的寄存器,0表示对应的寄存器不需要配置。
    Bits 31:0 of the PLL/EMIF enable bitmap. Bit 0 corresponds to the PLL config, Bit 1 to the SDRAM config register. There are 24 valid bits in this field (with the MSB corresponding to Rw/exc thresh)
    Bits 31:0 of the chip level register enable bit map. Bit 0 corresponds to chip level config register 0
    Bits 60:32 of the chip level register enable bit map. Bit 0 corresponds to chip level config register 32

    2. ROM bootloader不支持DDR level,如果加载失败,可以先降低DDR clock,等代码加载完后在代码里再改DDR clock。