Hi Friends, I am using Phillips 89v51RD2 and i wish to code variables into specific memory address location inside the ROM of 89v51 as my application demands. Is it possible to do so?? If yes please HELP me ...
I was successfully able to erase the program memory and again write into the program memory using IAP.However in 89V51RD erasing program memory takes place sector wise(i.e 0x7F bytes at a time) but my address location unfortunately does not start with multiple of 0x7F .Hence I am mot able to program some bytes.So i wish to relocate entire address of the variables according to my need .I hope you understand my situation ,PLEASE HELP
I'm quite convinced that you do not have any sector block size of 0x7F.
inside the ROM of 89v51 89V51 does not have any ROM
I appreciate the sarcasm but your post actually helped me get closer to the solution. Keep up the good work bro.
"Sector size is really 0x7F bytes . while erasing a sector 89v51 RD2 erases 128 bytes at once "
But if the processor erases 128 bytes at a time, then it is erasing 0x80 bytes at a time. Just that the index of the bytes ranges from 0 to 0x7F (0 to 127 is 128 memory cells).
ha ha ! thanx for pointing that out for me.I actually meant 0x00-0x7F bytes.Seriously ,confusion to its core. Sorry for my ambiguous comments.
Mistakes are easy to make. :)
The problem is just that some readers will not be able to detect what is a mistake which is the reason why I prefer to point them out.