TI中文支持网
TI专业的中文技术问题搜集分享网站

AMIC110: AM335x烧写工具与bootloader的问题。

Part Number:AMIC110

AM335x的spi boot支持的flash型号有哪些,我查了很多文档都没有查到。

我在使用pdk里面的flash烧录工具的时候,提示不支持我们用的‘S25FL064L’的flash,我对烧录了代码进行了一点修改之后,CCS打印了烧录成功的log。

但是我在重启开发板之后,烧录的bootloader并没有打印出正常启动的log。

好像它并没有运行。

Shine:

因为memory更新换代比较快,所以我们没有memory list,具体要咨询memory厂家。AM335x bootloader对SPI memory的要求如下26.1.8.6 SPIThe boot devices must be connected to chip select 0 and must support the read command (03h).https://www.ti.com/lit/ug/spruh73q/spruh73q.pdf建议烧写后,连上仿真器去跟踪一下boot过程。

"Load Symbols" instead of "Load Program"When debugging an application from flash, you want to let the application boot in its normal manner. If you select "load program" in CCS then you are overwriting the application that loaded from flash and not debugging the code as it runs normally. You should instead do "load symbols" in CCS and then select your .out file. This will allow you to debug your code using variable/function names without overwriting the code that boots from the flash.CCS 3.3: Go to File -> Load Symbols -> Load Symbols OnlyCCS 4.x: Right-click on the project and select Debug Options. On the "Debugger" tab choose "Load Symbols" instead of "Load Program"CCS 5.x: In the "Debug View" tab choose "Run"–> "Load" –> "Load Symbols"

,

yq Hsu:

       我按照您说的方法在开发板和我们自己的板卡上load了bootloader.out,AMIC110开发板打印出了bootloader的log,而我们自己的板卡在run的时候没有任何反应,好像卡死在某个地方了。。。

       我现在不太清楚怎么在pdk中构建出bootloader的源码。。。我的pdk版本是pdk_am335x_1_0_17

       

,

Shine:

代码卡在哪里?是没进入SPI mode吗?

,

yq Hsu:

在boot的时候应该是进入spi mode了,但是好像bootlader没有通过BOARDInit函数。

,

yq Hsu:

这个函数的内容是auto_detect出board的参数,然后设置硬件初始化的软件环境。 我试了手动指定参数,但是没什么效果。

,

Shine:

ROM bootloader能加载SBL了是么?现在的问题时SBL没有跑起来?

,

yq Hsu:

SBL跑起来了,但是在某些地方卡死,我现在重写了Bootloader的部分代码。

赞(0)
未经允许不得转载:TI中文支持网 » AMIC110: AM335x烧写工具与bootloader的问题。
分享到: 更多 (0)