ICCARM and flash mamory

Hello!

Every time when I compile (ICCARM 7.02A) my project, I receive an error:

“Unable to fit Cudata section into RAM memory region”

I use too big arrays.

Please tell me how can I put my data in to flash memory?

Thanks!

Your problem is probaly the use of a big array. Try set “static” in front of it, like static int array. This way your array won’t use as much RAM as is needed. Now it will be put your only in your flash memory instead of your RAM 2.