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

i sent this to Keil support, maybe someone here can do better (faster)

I am using e-mail because your 'gateway' does not allow attachments

For product info etc refer to call 334462 (a solved issue of mine)

I have used

c:\tools\keil\c51\bin\bl51 SLVstart.obj, SLVisr.obj, SLViic.obj, ...
                           SLVmain.obj, SLVxdata.obj, SLVzdata.obj, ...
                           SLVUmain.obj, as.lib, c51s.lib TO as.omf ...
                           RS(256) IX >protl.log

without any problems for a while.
Now I want to add a bootloader and try to the best of my understanding of the CO description in the manual this which gives errors

c:\tools\keil\c51\bin\bl51 SLVstart.obj, SLVisr.obj, SLViic.obj, ...
                           SLVmain.obj, SLVxdata.obj, SLVzdata.obj, ...
                           SLVUmain.obj, as.lib, c51s.lib ...
                           CO ( ?PR?SLVUmain?SLVUMAIN (0xe000), ?PR?CUP*) ...
                           TO as.omf RS(256) IX >protl.log

.src of the first (SLVUmain) and one consecutive module is attached

The intention is to locate SLVUmain at 0xe000 and the CUP* functions following it

In advance, thanks

Erik

Note
This message was edited to reduce width.

Parents
  • I wonder, do you need the address qualifiers for addresses on the command line with BL51 as well?

    No, you don't.

    The BL51 Linker has segment-specific directives (CODE, XDATA, DATA, IDATA, and so on) that you use to specify the addresses for segments in these areas.

    The LX51 Linker uses a generic SEGMENTS directive for all segment types. And, you need to specify qualified addresses (with the segment prefix).

    Jon

Reply
  • I wonder, do you need the address qualifiers for addresses on the command line with BL51 as well?

    No, you don't.

    The BL51 Linker has segment-specific directives (CODE, XDATA, DATA, IDATA, and so on) that you use to specify the addresses for segments in these areas.

    The LX51 Linker uses a generic SEGMENTS directive for all segment types. And, you need to specify qualified addresses (with the segment prefix).

    Jon

Children
No data