Hi again. I have a custom 8051 processor which has defined a series of sfr, such as "sfr id_custom = 0x32" in the header reg51.h file. When I tried to access from C, throws the error "Error 146: Invalid Base Address". As I can do to disable this protection? or enabling the access to these registers? Thanks.
PS: Sorry about my english. =)
My guess.. Have you read MFQ? Nowhere does it say that I am trying to bit address the sfr. The access is doing by: id_custom = some_val; thanks for your answer.
Have you read MFQ? Nowhere does it say that I am trying to bit address the sfr.
Neither does it say anything about how you do access it.
id_custom = some_val;
So how else other than by guessing was anyone supposed to know that?
Have you read MFQ? no, I have not, I have no idea what it is
Erik