Page 9
1
3.1 Programming with mikroBootloader
You can program the microcontroller with a
bootloader which is preprogrammed by default.
To transfer .hex file from a PC to MCU you need
bootloader software (
mikroBootloader USB HID
)
which can be downloaded from:
download.mikroe.com/examples/starter-boards/clicker-2/
pic32mz/clicker-2-pic32mz-mikrobootloader-usb-hid-v100.zip
After the mikroBootloader software is downloaded,
unzip it to desired location and start it.
Figure 3-2: USB HID mikroBootloader window
step 1 – Connecting clicker 2 for PIC32MZ
clicker_2_pic32mz_bootloader.zip
WinRAR ZIP archive
clicker_2_pic32mz_bootloader
File folder
Software
File folder
mikroBootloader USB HID.exe
Bootloader tool for mikroElektron...
mikroElektronika
Clicker 2 PIC32MZ USB HID
Bootloader v1.300.hex
HEX File
Firmware
File folder
1
To start, connect the USB cable, or if already connected
press the
Reset
button on your Clicker 2 for PIC32MZ. Click
the
Connect
button within 5s to enter the bootloader mode,
otherwise existing microcontroller program will execute.