??? 11/04/08 22:28 Read: times |
#159665 - RTFM Responding to: ???'s previous message |
i don't understood your post :
... that you use xdata and flash at the same time. when the flash is activated it replaces xdata, thus you can not read xdata and write flash with the flash enabled. when you set the SFR bit (whatever the bit is in your processor) the flash becomes xdata. thus to write flash from xdata you must read the xdata storing the result in RAM (NOT xram) with the bit off, switch the bit on and then move the local value to flash. Erik |