We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
It's somewhat like look-up table of assembly. I defined an array in header file of C program like this: unsigned char code volt_2_freq[5]= { 100, 200, 300, 400, 500 }; Can I put it in a specific address of code memory ? I use Phillip LPC900 series MCU and want to set security bits of "MOVC disable" in certain program memory blocks which the array can't be put in. Does keyword "_at_" work ? Thanks~
willy
"This question is asked so frequently that it's amazing that Keil haven't removed the restriction yet!"
In fact, the version of _at_ in the ARM compiler does allow initialisation: http://www.keil.com/support/man/docs/ca/ca_le_absvarloc.htm
So why can't C51 allow it??