4.2.4. Loading an image to a target that supports TrustZone technology

When you load an image to a target that supports TrustZone technology, then the image is loaded to the current world by default.

To load an image to the other world on a target that supports TrustZone technology:

  1. See Before you load an image.

  2. Select Target → Load Image... from the Code window main menu to open the Load Image dialog box. Figure 4.1 shows an example.

  3. Locate the executable image that you want to load.

  4. If you want to load sections of the image, then enter the sections in the Sections field. This must be a comma-separated list without any spaces, for example, ER_RW,ER_RO,ER_ZI.

  5. If your image accepts arguments, then enter the values for the arguments in the Arguments field. This must be a space separated list, for example, 100 2 "Y".

  6. If you are loading a relocatable image, enter the address offset in the Offset field that has the prefix for the other world. For example, if the current world is Secure, then:

    • to load an image at the image entry point in the Normal World, enter N:0

    • to load a position-independent image at an offset of 0x1000 in the Normal World, enter N:0x1000.

    Note

    To explicitly load an image to an address in the current world, specify the address prefix for the current world, for example, S:0.

  7. Click Open to load the image.

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111