This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM Compiler L62203E RW_IRAM exceeds limit - 15k size jumps to 35k after adding one line of code

I am troubleshooting a problem exceeding RAM size.  Using Keil and the ARM compiler, I receive a L6220E RM_IRAM exceeds limit error.  The size jumps from 14.5k to 35k when I add one line of code.  Below is ARM documentation on error code and screenshots.  I am using Texas Instruments TIVA C Series LP with CC3100 Booster.

ARM documentation:

L6220E

<type> region <regionname> size (<size> bytes) exceeds limit (<limit> bytes). 

Example:

Execution region ROM_EXEC size (4208184 bytes) exceeds limit (4194304 bytes). 

This can occur where a region has been given an (optional) maximum length in the scatter file, but this size of the code/data being placed in that region has exceeded the given limit. This error is suppressible with --diag_suppress 6220.

For example, this might occur when using .ANYnum selectors with the ALIGN directive in a scatter file to force the linker to insert padding. You might be able to fix this using the --any_contingency option.out.png

over.png