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

location of program code

Hi,

can me help anybody ? How can I affect location of program code in memory (e.g. Program SRAM, External memory, Flash,...)? I use uVision 3 and Keil MCB-XC167 Basic. Thx !

Parents
  • you have to setup the User Classes in the L166-Locate section (target options).

    ICODE  (0x000000-0x007FFF),
    NCODE  (0x000000-0x003FFF),
    ...
    

    Do not forget to setup the Interrupt Vector Table Adress at L166-Misc section if you change the base adress of the code.

    Bye
    ...Leo

Reply
  • you have to setup the User Classes in the L166-Locate section (target options).

    ICODE  (0x000000-0x007FFF),
    NCODE  (0x000000-0x003FFF),
    ...
    

    Do not forget to setup the Interrupt Vector Table Adress at L166-Misc section if you change the base adress of the code.

    Bye
    ...Leo

Children
No data