element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Technical Library
  • Products
  • Dev Tools
  • Technical Library
  • More
  • Cancel
Technical Library
Documents ARM: Multi-Application Programming for ARM from KEIL
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Technical Library to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: atomar
  • Date Created: 13 Jan 2012 3:21 AM Date Created
  • Last Updated Last Updated: 8 Oct 2021 6:17 AM
  • Views 523 views
  • Likes 0 likes
  • Comments 0 comments
Related
Recommended

ARM: Multi-Application Programming for ARM from KEIL

The example shows how you can split a project into two parts that can be developed independent from each other.

The application implements a classic Blinky example, but the part that performs the LED blinky is in a separate project that can be translated independent from the Main Program.

The Main.uv2 project contains for convenience both parts Main Part and AddOn and is configured in two targets:

  • Main Program which allows to generate the Main Program and is configured for program debugging.
  • Addon Function which allows to create the program part that contains the add on function.

The Addon.uv2 project contains only the Addon and shows how to configure a project that hides theMain Program.

Project Generation

The Main Part exports the symbols to AddOn via the --symdefs directive of the RealView Linker. In this case the file main.obj is created which is a standard text file. It should be noted that main.obj is a two way file - only the symbols that are contained in this file are updated which allows you to hide symbols form the Main Part. If you delete main.obj all symbols of the Main Part are exported to main.obj.

In the Addon project, the linker reads main.obj as object file to get the symbol values of the Main Program. This means that Addon can use all these symbols as if they were part of the application.

Memory Setup

For the Main Part the standard uVision method is used to configure the linker. The memory definitions under Project - Options - Target exclude the memory used by the add-on extension.

For the AddOn the linker scatter file .\Addon.SCT is used that specifies the memory regions available for the add-on extension.

Debugging and Flash Programming

The target Main Program is configured for Debugging and Flash Programming of the complete application. The Addon is loaded in the Initialization File Sim.ini and Flash.ini using the LOAD debugger command with the option INCREMENTAL. This gives access to all symbols of the Main Part and the Addon during debugging and downloads the complete application to Flash ROM.

Attachments:
ARM.Application_Library.zip
  • Application Library
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube