IVT Export

These options allow the user to export different images.

The currently available export options are:

The export options are different from the other tools like Pins, Clocks and Peripherals. The import/export options for IVT image, along with export Blob image option can be found under the Boot Configuration and Interface selection menus, while for Application Bootloader subimage.

  1. Exporting IVT Image
    Figure 1. Boot Configuration

    To proceed, click on export and a pop-up window will appear on screen.

    This window allows the user to choose one of the available formats and shows a preview of the data that will be exported.

    For the binary format, the export data is represented by the raw bytes of the IVT image.

    The export preview design is similar to hexdump for increased legibility.

    Figure 2. Binary export preview

    For the C format, the exported value will be a C code that contains an array of bytes, the same bytes as in the binary format.

    This format takes advantage of the linker to export the image to the board, so it does not need to be manually flashed.

    The bytes will be separated in groups, corresponding to different components, with comment descriptions for increased legibility.

    Figure 3. C export preview

    After chosing the desired format, press "OK" to proceed.

    You will see a file chooser dialog where you can specify the name and location for the file you want to save.

  2. Exporting Blob Image

    Exporting the Blob image means exporting the IVT Image as binary along with all the images of the pointers which have a valid loaded file assigned.

    Loading images to pointers example:

    Load the images you desire to export in the corresponding IVT Pointers as described below:

    Figure 4. DCD Pointer without image
    • Make sure the Pointer is in “On” state, not “Reserved”, as it appears in the upper left corner of the DCD pointer. To do so, simply click on the Radio button to toggle between these states.
    • Click on the “Browse” button to load a saved DCD Image.
    • Because the “Size in bytes” may change, solve the eventual incoming problems.
    Figure 5. DCD Pointer with image set

    Repeat this process with as many pointers as you want.

    Finally, click on the “Export Blob Image” button to proceed. A file saving dialog will appear on the screen.

    Note: When You set multiple images to export in the blob, the memory gaps between them will automatically be filled with the default value 0xFF.

    Configuration example:

    Figure 6. IVT configuration with loaded image files

    In the configuration above (Figure: IVT configuration with loaded image files) there are 4 available (“On”) pointers: DCD, DCD (Backup), HSE and HSE (Backup) of which just two have images set : DCD and DCD (Backup).

    The exported blob image will contain the following:

    [ 0x0 – 0xFF ] : IVT Image binary

    [ 0x100 – 0x127 ] : DCD Image binary ( loaded from “C:\S32CT_Workspace\dcd” )

    [ 0x128 – 0x14F ] : Empty ( 0xFF ) as HSE and HSE Backup have no loaded images

    [ 0x150 – 0x177 ] : DCD (backup) Image binary ( loaded from “C:\S32CT_Workspace\dcd” )

  3. Exporting Application Bootloader sub-images

    The IVT tool has an option for exporting the Application Bootloader (and Application Bootloader backup) images.

    To work with the export option of the Application Bootloader you can either:

    • load an existing image, the same as you would with another IVT Pointer, using the “Browse” button.
      Figure 7. Loaded Application bootloader image

      Modify the desired fields (ex. RAM start pointer), then click “Export Image” which will bring a pop-up of a file chooser dialog.

    • Set the desired RAM start pointer, RAM entry pointer and Code length then export the image.
      Figure 8. Empty bootloader image

      After pressing the “Export Image” button, the tool will show a warning pop-up, telling you that the image that is going to be created will have no attached code, and the code segment will automatically be empty ( filled with 0xFF ).

      Figure 9. Empty Application bootloader image export warning

    Later, you can load the exported image back using the “Browse” button.