Jump to main content

##

# 1.6.4.2 Application project configurations for MIPS based MCUs

Application Settings in MCC System Configuration

- Disable default linker file generation in system settings from MCC, As the application to be bootloaded will be using a custom linker file

MPLAB X Settings

For Bootloading the application using binary file

- Below are the Bootloaders which use application binary (.bin) file as input

  - UART
  - I2C
  - CAN
  - SPI
  - Serial Memory
  - File System
  - OTA

- Specifying post build option to automatically generate the binary file from hex file once the build is complete

    ${MP_CC_DIR}/xc32-objcopy -I ihex -O binary ${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.hex ${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.bin

For Bootloading the application using Normalized Hex file

- Below are the Bootloaders which use Normalized application Hex (.hex) file as input

  - USB Device HID
  - UDP

- Check the Normalize hex file option as shown below, as the Unified bootloader host application takes hex file as an input. Normalizing the hex file will make sure the data in the hex file is arranged sequentially