• Memory allocation
    Hello all, I am new to developing code for ARM based processors under the Keil environment and as such finding my way around the IDE. Can someone clarify how to accurately establish the following...
  • Ram allocation for bootloader and application code
    Using STM32F203CB (20KB RAM) Question 1) Do I have to make sure that the RAM required for my bootloader and the RAM required for my application code is less than the 20K available on this device...
  • Memory allocation
    Hello, I want to allocate a memory in a memory pool, so I call "init_mempool" function like this: init_mempool (&XBYTE[0x0400], 0x0C00); How can I know that the memory pool doesn't overlay on other...
  • An error in allocation
    We have an issue with this code struct foo { int NumberOfPointers; char *Pointers[1]; } xx; // Allocate A Block Of Pool With Room For 100 Pointers myHunkyStuff = malloc( sizeof(long) + 100...
  • Dynamic memory allocation
    Hallo, i will use dynamic memory allocation on my AT91SAM7S256. By calling the function init_mempool(..) i have to pass the Startaddress of the memory pool. How can i know the first unused address...