nobody wrote on Wednesday, May 03, 2006:
I am trying to run the HSC12_small demo application using Freescale’s CSM12C32 module (it has the MC9S12C32 MCU with 48 pins). I have to reassign ports/pins as the original (SofTec) uses the 80pin version, but the rest should be the same, i.e., 2 kB RAM. Nevertheless, the linker complains about not enough RAM for the demo application: “Linker error: L1102: Out of allocation space in segment RAM at address 0xF8E”. RAM is starting at 0x800 and of size 0x800.
As I am sure the application has been tested with 2kB RAM, I assume I am doing something wrong here. Did anybody else experience this and could give me a hint on what to adjust?
Note: The .map file summarizes RAM usage to be 1934 bytes; FreeRTOSConfig.h uses #define configTOTAL_HEAP_SIZE ( ( size_t ) ( 2048 - 256 ) ) which is 1792 bytes. But using 2048 does not make a difference.