1.2.5.1 Configuration Options

Default configuration options window for bootloader is shown below

Enable Console option

Information on bootloader activities will printed into console using SERCOM UART. By Default, this option is enabled (In the current version disble option is not provided). Make sure to connect the UART dependency in the bootloader with the SERCOM UART.

ECC Public Key

By default, ECC Public key is 0xc2,0x81,0x8f,0xbb,0x28,0x61,0x47,0x8b,0xa2,0x53,0x37,0x79,0xd4,0x63,0x18,0x7c,0x8b,0x41,0x59,0xa9,0x5f,0x0b,0x6b,0x94,0x4e,0xb9,0x57,0xa1,0x03,0xfe,0x20,0xbf,0x2b,0xb8,0x14,0x2a,0x64,0xb5,0xae,0x4a,0x83,0x80,0xdd,0xe6,0xee,0x29,0x89,0xdd,0xa0,0x9a,0xc7,0xda,0x82,0xeb,0x56,0x62,0x90,0x5d,0x66,0xc5,0xbc,0x30,0x3c,0x84

User should be able to change this key by changing the text box.

Supported Authentication Methods

Three methods of authentication is supported in the bootloader
  • None
  • ECDSA-p256
  • ECDSA-p384

By Default, all these three modes are enabled. If customer want to use a specific authentication alone for security aspect, they can choose that alone

Enable Bootloader UART DFU option

By defualt UART DFU (Device Firmware Upgrade) functionality will be enabled in the bootloader. DFU can be used to upgrade firmware on a target device through serially (UART). Make sure to connect the UART dependency in the bootloader with the SERCOM UART.

UART DFU Modes -
  • GPIO Trigger DFU Mode

DFU : GPIO Trigger DFU Mode

GPIO Trigger DFU Mode

In this mode, DFU functionality is enabled when you hold the GPIO button and press reset button to put the bootloader into the DFU mode.

Use GPIO Port and Pin option to change the port and pin based on the board . With PIC32CXBZ2 Curiosity board, GPIO PB4 is used as user button. The above default settings are based on this. User can change if different board is used