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

Which is the Mapfile in project directory?

hi,

I use Keil uVision4.
I got the sample code 8051_BITIO.ZIP on Keil website
http://www.keil.com/download/docs/84.asp

and ,I got HEX file via excuting compile.

I want to confirm Mapfile for code location.

Which is the file for address map in project directory?

Parents
  • hi,

    Thank you for your reply.
    I can confirm my code's address located on memory via the file BitIO.M51.

    LINK MAP OF MODULE: BitIO (MAIN)

    TYPE BASE LENGTH RELOCATION SEGMENT NAME
    -----------------------------------------------------

    * * * * * * * D A T A M E M O R Y * * * * * * *
    REG 0000H 0008H ABSOLUTE "REG BANK 0"
    IDATA 0008H 0001H UNIT ?STACK

    * * * * * * * C O D E M E M O R Y * * * * * * *
    CODE 0000H 0003H ABSOLUTE
    CODE 0003H 000CH UNIT ?C_C51STARTUP
    CODE 000FH 0008H UNIT ?PR?MAIN?MAIN

    If I want to change my code's location on memory, is it possible that my code move to 1000H address?

    kenji

Reply
  • hi,

    Thank you for your reply.
    I can confirm my code's address located on memory via the file BitIO.M51.

    LINK MAP OF MODULE: BitIO (MAIN)

    TYPE BASE LENGTH RELOCATION SEGMENT NAME
    -----------------------------------------------------

    * * * * * * * D A T A M E M O R Y * * * * * * *
    REG 0000H 0008H ABSOLUTE "REG BANK 0"
    IDATA 0008H 0001H UNIT ?STACK

    * * * * * * * C O D E M E M O R Y * * * * * * *
    CODE 0000H 0003H ABSOLUTE
    CODE 0003H 000CH UNIT ?C_C51STARTUP
    CODE 000FH 0008H UNIT ?PR?MAIN?MAIN

    If I want to change my code's location on memory, is it possible that my code move to 1000H address?

    kenji

Children