??? 11/15/04 13:06 Read: times |
#81171 - RE: single byte Responding to: ???'s previous message |
I said:
the problem is that it is not possible to erase only a single byte in flash... Slobodan Mandaric said:
... but no one prevents you to "program" one FFh byte ! That is very true; and, by carefully leaving a few FF bytes at strategic points in yout Flash, you can have the facility to "patch" it without having to erase anything at all! Note that opcode FF is MOV R7,A - so it is quite easy to put these FF bytes at strategic points in yout 8051 code! In fact, you can set any '1' bit to a '0' - so as long as the required "patch" only requires changing '1' bits to zeros, you're fine... |
Topic | Author | Date |
single byte | 01/01/70 00:00 | |
RE: single byte | 01/01/70 00:00 | |
RE: single byte | 01/01/70 00:00 | |
RE: single byte | 01/01/70 00:00 | |
RE: single byte | 01/01/70 00:00 | |
RE: MOV R7,A | 01/01/70 00:00 | |
RE: MOV R7,A | 01/01/70 00:00 | |
RE: MOV R7,A![]() | 01/01/70 00:00 |