This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GCC RAM length problem for 51822 QFAC

I'm using 51822 QFAC, SDK11 S130 2.0.0,  and GCC to make the files.

In the configuration .ld file, I put FLASH ORIGIN = 0x1b000, LENGTH = 0x25000.   RAM ORIGIN = 0x20002800.

From my understanding, I have 32K RAM to use, so the max RAM length will be 0x7D00. But the problem is whenever I put the RAM LENGTH larger than 0x5500, although I can successfully make the files, the code doesn't work on the chip. It works well when RAM length is below 0x5500. The actual RAM size I want to use is about 25K (as shown in bss after make ), but now I can only use less than 20K. What am I missing? thanks!

Related