This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Explanation of "Options for Target x"-dialog in µVision3

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

Parents
  • 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.

Reply
  • 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.

Children
No data