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

Warning L5 - BL51

Hello,
when I compile my application these warning messages from linker(BL51) are occured:

*** WARNING L5: CODE SPACE MEMORY OVERLAP
FROM: 0043H
TO: 0066H

*** WARNING L5: CODE SPACE MEMORY OVERLAP
FROM: 005BH
TO: 0066H

Can I ask you for advice/suggestion how fix these problems?
Probably some problem with interrupt vectors (0x43H - RF, 0x5BH - Timer3) - but I dont know how to fix it.

Thank you, Bye Peter

  • Look in the map file to see what's overlapping.

  • Thanks.
    From map file(*.m51):
    * OVERLAP * CODE 0043H 0003H ABSOLUTE
    * OVERLAP * CODE 005BH 0003H ABSOLUTE

    I shift the possition of interrupt vectors(INTVECTOR(0x0200)) and the program code (CODE( 0x1000)) in my application. And I use the RF transmission fuctions(SPP protocol) in my program (this function use the interrupts RF(0x43H) and timer3(0x5BH)).But when I make the dump of the memory, these two interrupts are not shifted on the possion 0x2043 and 0x205B but stay on 0x0043H and 0x005B. Maybe this it the problem.How can I fix it?-compile the hal and cul libraries with the other setting?
    Thanks, Peter

  • Sounds like these segments are created in an assembler file. Maybe you should search for CSEG at 0043h and CSEG at 005Bh in your assembler files.

    Jon