12.3.6.6 Upgradable image .bin file generation

Referring to Project Properties Configuration for Current image, "SignFirmware" and "OTA" bin generation MPLABX script is added into OTA project. "OTA" window in project properties is used for OTA DFU image generation.

  1. After making the new upgrdabe application keep the new upgradable image version number not same as current running image version. The version number has to be taken care in DIS Service in new firmware as well as "Firmware Rev" in "SignFirmware" window. For example, new image Firmware Rev is chosen as 1.0.0.1 and same in DIS Firmware version in the project.

    1. Follow step 1 in Project Properties Configuration for Current image to open "SignFirmware" properties window.
    2. Change the Firmware Rev and then click on Apply.
    3. Compile the project.

  2. Follow step 1 in Project Properties Configuration for Current image to open "OTA" properties window.
    1. "OTA" window has few configurations.
      • Output File Name - Name of the image.

      • Output File Encryption - Image is encrypted or plain image.

      • Output File Type - Choose "BLE OTA File" type for BLE based OTAU.

      • Flash Image ID - Refer to Enable Flash Image ID for details.

    2. After the configurations, click on Create OTA File. The Upgradable .bin image with selected "Output File Name" will be created in .X folder. This is the image stored in OTAU Manager to send to OTAU Target.