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.
I need to locate 3 modules above 0xe000 and I have find manr 'recipes' but all refer to the stupid IDE which i can not use.
Anyone have (a link to) an example of doing it via commandline?
Erik
See the last example in:
http://www.keil.com/support/man/docs/bl51/bl51_code.htm
Jon
Thanks Jon.
I tried and my best (failed) attempt has been sent to support.us@keil.com
"...but all refer to the stupid IDE which i can not use."
Note that the IDE (uVision) always tells you the command line that it's used.
Couldn't you take one of the IDE examples, and just look at the command lines that it generates?
I have not used the IDE for years because of its inability to generate multiple versions from one set of source files (file selections, parameter insertion, version names etc) and to try to relearn the IDE just to get a command string seems a bit much.
Yes, I know that if I am willing to maintain 47 almost identical 'projects' and on every update go through them all, it can be done, but that is ridiculous.
I have mailed my failed attempt to the support guys and awaut the response (I do not need it NOW, just in a couple of days)
PS if anyone intend to 'prove' that I can use the IDE, I have no problem sending them my .bat
I got this one from Keil support and there is no error but, alas, no relocation
C:\TOOLS\KEIL\C51\BIN\BL51 SLVSTART.OBJ, SLVISR.OBJ, SLVIIC.OBJ, SLVMAIN.OBJ, SLVXDATA.OBJ, SLVZDATA.OBJ, SLVUMAIN.OBJ, >> SLVUFLSH.OBJ, AS.LIB, C51S.LIB TO AS.OMF RS (256) IX CO (?PR?SLVUMAIN?SLVUMAIN (0XE000), ?PR?CUP*)
I got it solved at the SILabs forum
stupid mistake Thanks Tsuneo That you 'proved it working' made me triple check which did not help, but a quadruple check (running with SRC once more) did the trick.
I do not run #pragma SRC for obvious reasons (but ran it once to get the segment name) and what happened was that adding a variable inserted a '_' in the name of the segment. I missed that detail in every check so far, but now it works
Thanx a whole lot
PS an error message in this case from Keil would have been nice