|
地板

楼主 |
发表于 2018-11-18 16:59:51
|
只看该作者
您好,
我把一个 采用Timer0中断闪烁LED 的例子和一个 DA输出 的例子结合到一块输出一个方波。
1. link时如果采用2837xD_RAM_lnk_cpu1.cmd,
1.1 有1个Warning:Description Resource Path Location Type
#10247-D null: creating output section "ramfuncs" without a SECTIONS specification DA_SQR_INT C/C++ Problem
1.2 debug,显示
“C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.”
可以运行,LED闪烁,DA输出方波。但是load后,LED不闪,DA无输出。
2. link时如果采用2837xD_FLASH_lnk_cpu1.cmd,
2.1 Debug时显示与1.2同样的内容,运行时LED不闪,DA无输出,自动打开F2837xD_DefaultISR.c,位置在interrupt void ILLEGAL_ISR(void)。
2.2 Load, 不运行。
请问可能是哪里出了问题?谢谢! |
|