Hello,
I already used the "help"-function in the "Options for Target x"-dialog and the internet to get more information, what the different adjustments are for, but I didn't find anything specific for this dialog... Is there anything like a manual? I'm especially interested in the "BL51 Locate"-section.
Best regards, Stefan
http://www.keil.com/support/man/docs/uv4/uv4_dg_options.htm
Thanks! In my program i need a few variables in the xdata-memory with using the _at_ keyword for accessing these variables from pc. Do I have to change any settings in the "Target" or in the "BL51 Locate"-tab?
Regards, Stefan
No ideas?
The _at_ keyword lets you locate variables at specific memory locations without specifically locating them using the linker. How do you see this helping you to access them from a PC?
I have a program, which can read the value of a variable at a given address. So when I use the _at_ keyword, I can use this program to read the values...
> The _at_ keyword lets you locate variables at specific memory locations > without specifically locating them using the linker.
So I do not need any entries in the "memory-part" of the "Target"-tab and no entries in the "BL51 Locate"-tab at all?
huhuuu
Group the variables into a struct. Have the 8051 make use of a pointer to this struct to retrieve bytes relative to the start of the struct, instead of retrieving bytes with absolute address. Then you get the freedom that you may move them structure in memory without affecting the PC. Too hard coupling between the PC and 8051 code will cost you extra time, money and grief at a future time when the customer is unhappy and you don't really have the time to fix the problem.