DCF Export Image

This option allows the user to export the configured DCF binary image.

There are two exportable formats available:

  • Binary format
  • C format

The export option is different from the other tools like Pins, Clocks and Peripherals. The import/export options can be found in the Binary View.

Figure 1. Binary View

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 DCF image.

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

Figure 2. Binary export preview

The sections of the exported binary image are highlighted using different colors and hovering over each byte will display the image section/record that the byte is part of.

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 choosing 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.