• Stack and Heap in Scatter loading file
    Dear all, I use the new AT91Lib 1.5 that includes some Keil samples. These samples use a scatter loading file with the foloowing memory definitions: Load_region 0x100000 0x80000 { Fixed_region...
  • How to load and execute from RAM
    As I understand we must define both RAM_MODE and REMAP in ASM settings, but what about the linker settings ?
  • heap
    Simple question probably.. I have define my heap in the startup.s Heap_Size EQU 0x00001032 In a function I use: void SST25_EditEXTStr(...) { unsigned char *buffer; buffer = malloc(0x1000...
  • Heap region gets removed when scatter-loading
    I'm playing around with scatter-loading in Keil 5.25 with armcc compiler. Now I have a dummy project that allocates stack and heap in 'default' startup assembly file: Stack_Size EQU 0x00000400 ...
  • load region and execute region
    can the execute region address exceed the range specified by the load region base address and max size setting?