Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/05/08 14:39
Modified:
  06/05/08 14:42

Read: times


 
#155534 - Defining constants in flash memory
Hi, I want to define a 4004 constant unsigned integer array in the flash memory of a P89V51RD2.I am using the Keil uVision3 compiler. I have tried defining it as :-

const unsigned int array[4004];


However, this gives a message that DATA: segment is too large.

Does using the XDATA segment help in any way? Will it necessarily require an external memory chip, or can it be configured to work with the internal flash memory?



List of 7 messages in thread
TopicAuthorDate
Defining constants in flash memory            01/01/70 00:00      
   code            01/01/70 00:00      
   is it const or code            01/01/70 00:00      
      Depends on the compiler            01/01/70 00:00      
   Ripped from the Keil help file            01/01/70 00:00      
      Links            01/01/70 00:00      
         ignore this a misplaced post, sorry            01/01/70 00:00      

Back to Subject List