19. Program SPI/EEPROM

The Program SPI/EEPROM feature has a wizard like structure that guides users through all the necessary steps to program a .hex/.bin file to the SPI/EEPROM memory.

In this page users select a .hex/.bin file to be programmed from the wizard. After selection users have 3 options on how to program the selected file.

../_images/mkImage_intro.png

Figure 85 Program SPI/EEPROM wizard: Intro page

  • Do not modify: Using this option no modifications are applied to the contents of the source file. Optionally, if the Bootable option is checked, a bootable header can be added to the contents of the input file.

  • Make single image: If this option is selected then a single image of the file will be created. Users have the option to encrypt the final image.

  • Make multi image: Users have the option to create an image containing two source files. Also, a secondary bootloader may be included.

Note

Options make single/multi image may change also the source file.

A work-flow of the wizard is presented below.

../_images/mkImage_workflow.png

Figure 86 Program SPI/EEPROM wizard: Work-flow

In this page users may select to encrypt the final image. Users may provide their own key and IV (Initial Value) or use the default ones.

../_images/mkImage_encryption.png

Figure 87 Program SPI/EEPROM wizard: Encryption page

In this page users provide the second image to be program on memory.

../_images/mkImage_multi.png

Figure 88 Program SPI/EEPROM wizard: Multi image page

In this page users may select to add secondary bootloader to the image. Users can ether use the default secondary bootloader just by clicking on the check box or they can provide their custom one by providing the path through the Browse button.

../_images/mkImage_bootloader.png

Figure 89 Program SPI/EEPROM wizard: Bootloader page

In this page users may configure the memory layout of the image.

../_images/mkImage_offsets.png

Figure 90 Program SPI/EEPROM wizard: Offsets page

On the final page of the wizard there is a summary of all the user choices regarding the creation of the image.