Creating an absolutely placed, checksum-protected library

Technical Note 71483

Arkitekturer:

ARM

Komponent:

linker

Uppdaterad:

2018-05-31 09:14

Introduction

This Technical Note shows how to create an absolutely placed library (functions and data), that can be integrity-checked using a checksum.

Applies to

This Technical Note applies to IAR Embedded Workbench for ARM. And it focuses on the Cortex-M core.

Background

The idea is that the library can be separately verified and possibly certified once, and later on used by other applications. The library is compiled and linked in a separate Embedded Workbench project.

The output is one ordinary ELF (or HEX) file, and one output file containing the exported symbols. The symbols are exported using the “isymexport“-tool, described in the C/C++ Development Guide, chapter “The IAR Absolute Symbol Exporter - isymexport”.

Solution

See the pdf document Creating an absolutely placed library and the example project Example project (IAR Embedded Workbench for ARM 6.30.7) 2.zip.

 

All product names are trademarks or registered trademarks of their respective owners.

Det här innehållet finns tyvärr inte på svenska.

Vår webbplats finns främst på vårt koncernspråk engelska, förutom det innehåll för investerare som vi är lagstadgade att kommunicera på svenska. Vi rekommenderar att du besöker vår globala webbplats på engelska för att få en bättre upplevelse.

Vi stöder inte längre Internet Explorer. För att få bästa möjliga upplevelse av iar.com rekommenderar vi att du uppgraderar till en modern webbläsare som Chrome eller Edge.