28335的flash入口地址0x33FFF6的值存放的是什么?是c_init()的地址吗?为什么我用ccs memery看地址0x33FFF6和0x33FFF7的值和c_init()的地址不同呢??
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.
28335的flash入口地址0x33FFF6的值存放的是什么?是c_init()的地址吗?为什么我用ccs memery看地址0x33FFF6和0x33FFF7的值和c_init()的地址不同呢??
存放的应该是这个
.sect "codestart"
code_start:
.if WD_DISABLE == 1
LB wd_disable ;Branch to watchdog disable code
.else
;LB _c_int00 ;Branch to start of boot._asm in RTS library
LB _clearram
.endif
cmd文件里定义了BEGIN对应的内存,codestart放在了BIGIN所指内存,codestart里调用了_c_int00。
如果我写了个底层程序用的codestrat是芯片默认的0x33FFF6,底层程序从串口下载应用程序到flash的另一个区中,那么程序跳转到应用程序的开始codestrat时,codestrat调用的怎么知道是应用程序的_c_int00还是底层程序的_c_int00?????
编译过后的_c_int00对DSP来说只是一个地址,应用程序的_c_int00和底层程序的_c_int00对应不同地址。