Thanks for the response #define APP_BASE 0x00000000 #define RAM_BASE 0x20000000 MEMORY { FLASH (RX) : origin = APP_BASE, length = 0x00100000 SRAM (RWX) : origin = 0x20000000, length = 0x00040000 } 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; In my previous post, I have mentioned application code .cmd file where APP_BASE address starts from 0x00008000. As per your suggestion, I have removed .intvecs from application code .cmd file, now it’s error free but I amn’t able to achieve my ultimate goal i.e sleep mode I am trying to implement sleep mode in our micro-controller by referring example code sleep_modes , where sleep and deep_sleep are available, but I am trying only sleep mode. For the same, I have created a new task where based on button (Port P, pin 0) press (interrupt), system will switch from run to sleep mode and vice-versa, so here one interrupt is required
↧