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.

Memcopy和initflash顺序问题

Other Parts Discussed in Thread: CONTROLSUITE

InitFlash(); // Call the flash wrapper init function
MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart); 

请教各位,这两句代码顺序。有人说initFLASH得放在后面,可是放在后面,我程序跑到delayus函数就非法中断了。放到前面,我程序能跑

看到论坛中,有人放在前面,说是程序采样出错。。。这是闹那样啊,不明白了。。。

而且同一个Memcopy,定义

extern Uint16 RamfuncsLoadStart, RamfuncsLoadEnd, RamfuncsRunStart;时,同样6.4.1的编译器,ccs6.1.2只认这个

而ccs6.2.0认可

extern Uint16 *RamfuncsLoadStart, *RamfuncsLoadEnd, *RamfuncsRunStart;用上面语句,就是乱码