Part Number:TMS570LC4357-EP
我在TMS570的EMIF CS2上外挂一片SRAM。现在在TMS570片内flash上烧写boot程序,通过sci将应用程序的bin文件写入片外SRAM的起始地址,写入完成后跳转至SRAM的起始地址,程序未运行。我猜测是跳转产生软复位,但此时中断向量表映射的是片内flash地址,而不是SRAM地址,所以程序无法运行。如何是这样,我要如何将SRAM地址映射到0地址?如果不是,那是什么原因造成的
Susan Yang:
我会在和同事确认后给您回复
,
Susan Yang:
以下是相关回复:
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.