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.

C6746 部分程序放在SDRAM中执行

1)想在线用debug的方式,把一小段计算的程序分配到SDRAM去验证,如下配置
MEMORY
{
... ...
SDRAM: o = 0x40000000 l = 0x02000000
... ...
}
SECTIONS
{
... ...
.sdram > SDRAM
... ...
}
程序通过如下命令分配
#pragma CODE_SECTION(pragram,".sdram");

gel文件中配置了和sdram相关的各种初始化,程序卡在 这个语句:"Setup Power Modules (All on)... ",请问是什么原因?

2)假如gel文件中不调用各种初始化,把程序放在sdram中执行,有时正确,有时程序跑飞,这是哪方面的原因引起的?