We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,All I has a big problem at coding C51. Put program at specific address in assembler is easy ,it just set org 0xXXXX in progarm. but How to do this in the C51. Thanks
Hi,Andy Could you get me a sample example, I had read the Absolute Variable Location in C51 document.but it seen only define data's address not program's. Thanks a lot.
My object is let void main(void) start in address 0x8000 and any program start after 0x8000 not less than 0x8000.
You need to look in the Linker Manual
This would be a issue for startup.a51 (Search for CSEG at 0)
oki where is the full manual of the linker LB51 ?? Personnaly, I want to put the normal program between 0x0000 and 0xDF7F and the boot between 0xE000 and 0xEDFF. The problem is, I have to use only one .hex at the output ti use a owner PC soft. So I have to parameterize the embedded soft + the linker to repect the mapping of the memory code I need. But how ?? I can't find
That's BL51. Look on the 'Books' tab in the uVision Project window.
"This would be a issue for startup.a51 (Search for CSEG at 0)" That just controls where it puts the jump into the startup code - I don't think it would force the Linker to put the whole thing above 8K? (or at any other specific address).
Thanks a lot, I has solution.