• 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...
  • How can I relocate Stack?
    Hi Members, I have developed many products based on MCS51, but this is a peculiar one. This product is AT89S52 based. All of the global variables are in Internal RAM, I do not have any external RAM...
  • 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...
  • How can I relocate Stack?
    Hi Members, I have developed many products based on MCS51, but this is a peculiar one. This product is AT89S52 based. All of the global variables are in Internal RAM, I do not have any external RAM...
  • 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...