• Relocate Stack Start Address
    Hi all, I wonder if anyone could help me with moving the start address of my stack for a test. I have added STARTUP.A51 from the kiel library to my local project and have it in the build tree. ...
  • Relocate Stack Start Address
    Hi all, I wonder if anyone could help me with moving the start address of my stack for a test. I have added STARTUP.A51 from the kiel library to my local project and have it in the build tree. ...
  • Stack relocation using scatter file
    I want to protect myself from stack overflow. From several articles I got the idea that I can locate the stack in the bottom of the RAM, before .bss section. Since on Cortex M stack grows down, on stack...
  • Stack relocation using scatter file
    I want to protect myself from stack overflow. From several articles I got the idea that I can locate the stack in the bottom of the RAM, before .bss section. Since on Cortex M stack grows down, on stack...
  • Problem with stack variables in functions relocated to RAM at runtime?
    Dear All, I have the following function relocated to RAM and running from RAM: u32 ReadOTPData(u8 FMI_OTPAddress) { u32 OTP_Data = 0x0; *(vu16 *)(FMI_BANK_1) = 0x98; // issue "read OTP" command...