你好:
目前,我们选择6748选择spi0flash启动的方式:
1.用ais生成bin文件
2.将生成的bin文件烧写入flash中。(flash读写为自己写的程序,flash读写确认无问题)
3.将硬件改为spi0flash启动模式。
4.上电,将dsp复位。
目前出现的问题,板子无法启动,读取bootcfg没问题,但是上电,量取spi0 clk引脚,无波形产生,想请问一下有什么排查手段吗?
感谢!
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.
你好:
目前,我们选择6748选择spi0flash启动的方式:
1.用ais生成bin文件
2.将生成的bin文件烧写入flash中。(flash读写为自己写的程序,flash读写确认无问题)
3.将硬件改为spi0flash启动模式。
4.上电,将dsp复位。
目前出现的问题,板子无法启动,读取bootcfg没问题,但是上电,量取spi0 clk引脚,无波形产生,想请问一下有什么排查手段吗?
感谢!
请先看一下接的spi flash是否满足下面的要求?
9.4 SPI Boot Modes
• All SPI boot modes use the chip select 0 signal. The appropriate pin (SPI0_SCS[0] or SPI1_SCS[0]) must be connected to the external SPI device.
• The SPI EEPROM device must use 16-bit addressing, and its read command must equal 0x03. The bootloader will look for an AIS image at offset 0x00000000.
• The SPI flash device must use 24-bit addressing, and its read command must equal 0x03. The bootloader will look for an AIS image at offset 0x00000000.
https://www.ti.com/lit/an/spraat2f/spraat2f.pdf
如果配置有点问题的话,是否会影响这个flash启动,是否会导致上电无clk?
boot mode管脚配置正确而且flash接的SPI0的cs0片选信号的话,ROM bootloader就会进入spi boot mode,从flash里去读取数据,至少一上电后会有读的时序。
2.我的一些参数放进了DDR中,这是否会影响启动?
如果一个读写时序都没抓到的话,跟DDR没有关系。
所以请确认接的是CS0片选。如果还是不行,建议见仿真器看ROM bootloader运行到哪里到了?
0842.Debugging Boot Issues.zip