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.

C6678 spi boot problem



您好,

     最近在调试C6678 的SPI BOOT时遇到了一些问题,我用的是自己开发的板子,C6678是PG1.0的,下面是我的加载步骤:

    1.编写待烧写程序,程序中专门写了一段.bootload段,分配在L2的起始地址0x00800000,此段代码的作用就是将Nor Flash(N25Q128A11)中烧写的应用代码按段读到L2中,最后再跳转到入口地址处.

       2.将上面程序的.out文件用工具转换。(没有加boot parameter table).

     3.将程序烧写到Nor Flash中后,BOOTMODE[12:0]=0b0000000100110.

       但是,上电后,PC指针始终指向boot rom,SPI的寄存器表示SPI没有在复位状态,处于使能状态。

     请问,上述步骤哪一步有问题啊?

      SPI BOOT 不需要PLL fix吧?(因为 PLL 是bypass mode).

        到底需不需要加bootparameter table啊?这个事情始终搞不清楚,我看Rom bootloader 中的源代码时,发现默认状态下有一个boot parameter table,但是在这个table中的option的值是0,代表boot parameter table,也就是说仍然需要用户再编写一个boot parameter table,我这样理解正确吗?

     如果需要boot parameter table ,那我的参数表的格式是什么样的呢?能不能给我发一份?

     请各位高手指教一下!谢谢啦!