??? 04/12/10 01:41 Read: times |
#174984 - this seems to work - any improvements Responding to: ???'s previous message |
Reading the compiler manual (RC51) I can use the at keyword as follows and this seems to do exactly what I want, if there are any suggestions please feel free to let me know.
at DATAFLASHSTART code unsigned char dataflash[DATAFLASHSIZE] = { 8, 15, 99, 99, 99, 99, 0x41, //on every day at 08:15 9, 00, 99, 99, 99, 99, 0x01, //off every dat at 9:00 Regards Marshall |
Topic | Author | Date |
Loading Flash EEPROM with defaults | 01/01/70 00:00 | |
this seems to work - any improvements | 01/01/70 00:00 | |
Always a key requirement! | 01/01/70 00:00 | |
toolchain dependent | 01/01/70 00:00 | |
A couple of points | 01/01/70 00:00 | |
volatile | 01/01/70 00:00 | |
separate source | 01/01/70 00:00 | |
So subtle | 01/01/70 00:00 | |
Excel is (also) among your friends | 01/01/70 00:00 | |
Yes missing initialisers do default to 0 | 01/01/70 00:00 | |
My Method... | 01/01/70 00:00 | |
an alternate suggestion (which I use) | 01/01/70 00:00 | |
That uses more memory | 01/01/70 00:00 | |
Oliver ??? | 01/01/70 00:00 | |
I believe that is what most devices do..![]() | 01/01/70 00:00 |