问题解决了,将程序配置到FLASH中执行就行了,但分析console中的信息时,最后出现:
Using restricted address range 0x10000000 to 0x1000FFFF
Programming file F:\Freescale06-21\krtrtr\FLASH\krtrtr.elf
Auto-detection is successful.
File is of type Elf Format.
0 Bytes Programmed, Check Restricted Address Range
Program Command Succeeded
当时不太明白,后来查阅芯片手册,发现 0x10000000 to 0x1000FFFF 的地址范围是FlexNVM的大小(64KB),因为代码在PFLASH中写入完成,没必要存储在FlexNVM中了,而且PFLASH和FlexNVM的地址是不连续的,一个函数不能分开存放在这两个地方。 |