??? 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? |
Topic | Author | Date |
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 |