大家好!请问一下DM365支持从st的M25P16VMN6TD这款spi flash启动吗?通过烧录器直接将ubl烧写进spi flash从uart0看不见任何打印信息,是不是通过烧录器直接将bin文件烧写进 spi flash不能启动ubl?
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.
大家好!请问一下DM365支持从st的M25P16VMN6TD这款spi flash启动吗?通过烧录器直接将ubl烧写进spi flash从uart0看不见任何打印信息,是不是通过烧录器直接将bin文件烧写进 spi flash不能启动ubl?
你好,
需要的spi flash支持下面的特性:
• Master interface to a serial EEPROM / Flash for initial code load
• Support for fast boot mode through UBL descriptor
• Support for prescaler through UBL descriptor
• Support for 16-bit and 24-bit addressable EEPROMs through the UBL descriptor
• Support for 4-pin SPI (CS, CLK, serial input, serial output)
请注意还需要正确烧写spi启动需要的User Bootloader (UBL) Descriptor for SPI Mode。具体请参考DM36x ARM subsystem guide里面的章节11.2.5 ARM ROM SPI Mode。
问题已解决!DM365支持M25P16VMN6TD从spi启动,
通过j-link查看寄存器,objdump查看ubl发现,从nand ubl的 boot段地址为0x100,修改链接文件让boot段,的链接地址为0x20, 添加头描述符为:
{0x00,0xED,0xAC,0xA1,
0x20,0x00,0x00,0x00,
0x00,0x00,0xA2,0x00,
0x05,
0x00,
0x00,0x00,
0x20,0x00,0x00,0x00,
0x20,0x00,0x000x00,
0x00,0x00,0x000x00,
0x00,0x00,0x000x00,};
问题已解决,st 的m25p16支持DM365 从spi启动
通过j-link查看寄存器,objdump查看ubl发现,从nand ubl的 boot段地址为0x100,修改链接文件让boot段,的链接地址为0x20, 添加头描述符为:
{0x00,0xED,0xAC,0xA1,
0x20,0x00,0x00,0x00,
0x00,0x00,0xA2,0x00,
0x05,
0x00,
0x00,0x00,
0x20,0x00,0x00,0x00,
0x20,0x00,0x000x00,
0x00,0x00,0x000x00,
0x00,0x00,0x000x00,};