chipKIT® Development Platform

Inspired by Arduino™

Mikromedia PIC32MX with MPIDE

Created Sun, 19 Apr 2015 08:26:20 +0000 by PacoP


PacoP

Sun, 19 Apr 2015 08:26:20 +0000

Hello,

I have a Mikromedia PIC32 board by MikroElektronika. I saw that this board is present on the tool>board>mikroelektronika menu in MPIDE.

Just a few newbie questions :

  • I wrote a simple "blink" example, now I need to upload in the Mikromedia board. Does I need to change the original Mikroe bootloader ? I suppose that MPIDE uses only the ChipKit bootloader ? or not .

Mikroelektronika uses an application to upload the hex file, with their bootloader. this application is called "mikroBootloader USB HID" and it is free from their web site.

  • If I will be able to extract the hex file from MPIDE ( some changes in preferences.txt to applied before ), could I upload this hex file with the "mikroBootloader USB HID" application ?

Not sure if someone has already tried. Thanks


majenko

Sun, 19 Apr 2015 11:31:38 +0000

To use the MikroE bootloader you have to ensure the linker script is set up the right way for it to work. You would need to take the existing linker script for a similar board from MPIDE and adjust it to have the right addressing structure for the MikroE bootloader - not a very easy job for a beginner.

It would be far simpler, if you have a hardware programmer, to replace the bootloader with a chipKIT bootloader.