Hi Steve,
I attached three projects in zip files. The first one "M3_1.rar" is the working code with the heap size 20480. The second one "M3_2.rar" is the project which I changed the heap size to 40960 and this one can not be built as shown in figure 1. Yesterday, I found out the reason why I got the error shown in figure 2. That is because I incresed the size of C02SRAM in the linker file (TMDXDOCKH52C1, can also been seen from figure 2). The original size is below.
MEMORY
{
BOOTROM (RX) : origin = 0x0, length = 0x10000
FLASH_BOOT (RWX): origin = 0x200030, length = 0x4
FLASH (RWX) : origin = 0x200034, length = 0x7FF9C
C03SRAM (RWX) : origin = 0x20000000, length = 0x08000
S07SHRAM (RWX) : origin = 0x20008000, length = 0x10000
CTOMMSGRAM (R) : origin = 0x2007F000, length = 0x800
MTOCMSGRAM (RW) : origin = 0x2007F800, length = 0x800
}
I am just wondering now if that is possible to increase the heap size to 40960 or not ?
Thanks,
Ben
(Please visit the site to view this file)
(Please visit the site to view this file)
(Please visit the site to view this file)
Figure 1
Figure 2