Hi I used to use Code vision for programing AVR micro controllers and I'm familiar with flash variables in that. All I needed to do was to declare an unsigned char variable and add a flash prefix before it. like: flash unsigned char i[]={10,20,30,40}; so the four numbers above saved in flash memory of my AVR chip. I tried to use flash prefix in keil too but it seems that flash is not a reserved word in this compiler. I need to store large amount of data in flash memory of my AT91sam7X256 chip. because I need to store a Bitmap picture and then read it and draw it on LCD whenever program starts. Can I use const reserved word for it? if not so which command will solve my problem? Thanks for your attention. Ario
Thank you All guys. That helps me a lot. I will check map file, And I will check that default linker setting is to place constants in flash memory. So I think it's SOLVED.