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.
我用的ti\TivaWare_C_Series-2.1.1.71\examples\boards\dk-tm4c123g\boot_serial例子修改的升级程序,参考boot_demo1修改的应用程序,在keil MDK环境下可以实现程序的正常升级,应用程序也运行正常,所有的中断都可以进入,但同样的程序移植到CCS7.4后,升级程序正常,但应用程序无法进入中断,是所有的中断都无法响应,包括定时器中断,是不是中断的入口要重新设置呀,我在boot_demo1和boot_demo2中都没有找到解决问题的方法。
下面是tm4c123gh6pm.cmd的代码
#define APP_BASE 0x00002800 #define RAM_BASE 0x20000000 /* System memory map */ MEMORY { /* Application stored in and executes from internal flash */ FLASH (RX) : origin = APP_BASE, length = 0x0003d800 /* Application uses internal RAM for data */ SRAM (RWX) : origin = 0x20000000, length = 0x00008000 } /* Section allocation in memory */ SECTIONS { .intvecs: > APP_BASE .text : > FLASH .const : > FLASH .cinit : > FLASH .pinit : > FLASH .init_array : > FLASH .vtable : > RAM_BASE .data : > SRAM .bss : > SRAM .sysmem : > SRAM .stack : > SRAM } __STACK_TOP = __stack + 1024;
下面是startup_ccs.c的代码