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.
根据下面链接勘误表的Advisory 8 Multiple PLLs May Not Lock After Power-on Reset Issue,如果芯片工作在I2C或者SPI boot模式,可以启动后在主应用程序初始化之前修正问题。如果是其他boot模式,硬件需要有I2C EEPROM,强制进入I2Cboot修正问题然后重入需要的起动模式。
勘误表:http://www.ti.com/litv/pdf/sprz334c
I2C补丁例子代码: http://processors.wiki.ti.com/images/4/4d/SecondaryBoot_PLLfix.zip
Hi Yu,
我下载了processors.wiki.ti.com/.../SecondaryBoot_PLLfix.zip,但是readme.text中的编译过程写得比较简单。我不知道用什么编译工具编译,如何编译。
我看了IBL如果编译的说明文档,认为这个和PLLfix不相关的,PLLFIX是用于修正勘误表的所说的启动问题,IBL是在芯片正常启动后才执行的。
Hi Xiang Tao,
IBL包含PLLFIX,你可以试试。
SecondaryBoot_PLLfix.zip 比较简单,估计是使用make加TI编译器。然后需要格式转换。不知道别的大侠是否试过。
估计是使用make加TI编译器? 用那个 编译器呢? 有好多的啊
Yu Liu 说:Hi Xiang Tao,
IBL包含PLLFIX,你可以试试。
SecondaryBoot_PLLfix.zip 比较简单,估计是使用make加TI编译器。然后需要格式转换。不知道别的大侠是否试过。
哎呀。不好意思,回的仓促了。
刚才抽时间看了一下感觉直接运行build.bat就可以了。前面使用cl6x进行编译,然后使用编译器自带的hex6x和别的格式转换工具把out文件转换成可以烧写到I2C的格式。转换工具请参考下面链接中的一个附件中的说明文档,虽然是64x+的,但原理一样。
www.deyisupport.com/.../5340.aspx
另外请参考下面帖子中相关常见问题汇总。
www.deyisupport.com/.../955.aspx
下面是build.bat的内容结合理解。
REM Build the I2C secondary boot example program
cl6x -c -mv6400+ -g -as -ss -I C:\CIAPPS\Bootloader\Nyquist\tools\include -DETH reboot.c
cl6x -c -o2 -mv6400+ -g -as -ss delay.s
cl6x -z nysh.cmd -l C:\CIAPPS\Bootloader\Nyquist\tools\lib\rts64plus.lib -m reboot.map -o reboot.out
hex6x -a -boot -bootorg 0x400 -e _c_int00 -order L -memwidth=32 -romwidth=32 -o reboot.btbl reboot.out
bconvert64x -le reboot.btbl reboot.bc.btbl
b2i2c reboot.bc.btbl reboot.bc.btbl.i2c
b2ccs reboot.bc.btbl.i2c reboot.bc.btbl.i2c.ccs
romparse reboot.i2cmap
copy i2crom.ccs i2crom.dat
ccs2bin i2crom.ccs i2crom.bin
ccs2bin -swap i2crom.ccs i2crom.swap.bin