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

_AT_ without the IDE

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

  • Thanks Jon.

    I tried and my best (failed) attempt has been sent to support.us@keil.com

    Erik

  • "...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)

    Erik

    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*)

    Erik

  • 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

    Erik

    PS an error message in this case from Keil would have been nice