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

TMS570LC4357-EP: TMS570LC4357 片外如何启动程序,程序放在FPGA挂载的SDRAM里

Part Number:TMS570LC4357-EPOther Parts Discussed in Thread:TMS570LC4357

想利用EMIF通信方式让TMS570LC4357和FPGA进行通信,MCU的应用程序放在FPGA挂载的片外SDRAM上,MCU上电后直接在SDRAM(FPGA的)里运行应用程序。应该怎么操作呢?

我查阅了下资料,可以修改CMD文件,定义好应用程序的起始地址,这个地址是填SDRAM的吗?

我在bootloader里使能EMIF总线后,还需要做什么操作吗?

MEMORY
[
    VECTORS (X)  : origin=0x00000000 length=0x00000020
    FLASH0  (RX) : origin=0x00000020 length=0x0007FFE0
    FLASH1  (RX) : origin=0x00080000 length=0x00080000
    FLASH2  (RX) : origin=0x00100000 length=0x00080000
    FLASH3  (RX) : origin=0x00180000 length=0x00080000
    EXTFLASH (RX) : origin=0x60000000 length=0x00080000    //  这个起始地址是填FPGA挂载SDRAM的地址吗
    STACKS  (RW) : origin=0x08000000 length=0x00001500
    RAM     (RW) : origin=0x08001500 length=0x00026B00
]

Yale Li:

我已经询问了相关工程师:

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1236647/tms570lc4357-ep-how-to-start-the-off-chip-program-the-program-is-placed-in-the-sdram-mounted-on-the-fpga

,

chen weiyi:

没有看到回复

,

chen weiyi:

刚刚看到工程师回复了。还有个问题,如果我想操作SRAM,不用SDRAM了,也是一样的操作吗。?

,

Yale Li:

好的,我跟进过去了

,

Yale Li:

This device doesn't support booting from SRAM. 

The device should boot from flash, and bootloader can upload the application to flash through DCAN, UART, SPI, Ethrenet etc.

If you'd like to execute the code in SRAM, you need to copy the code from flash to external SRAM. The SRAM has to be configured as normal memory type. Instructions cannot be executed from regions with Device or Strongly-Ordered memory type attributes.

赞(0)
未经允许不得转载:TI中文支持网 » TMS570LC4357-EP: TMS570LC4357 片外如何启动程序,程序放在FPGA挂载的SDRAM里
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1