chipKIT® Development Platform

Inspired by Arduino™

Bootloader Bypass/Hex files Direct Burn

Created Fri, 10 Apr 2015 22:59:10 +0000 by tudilol95


tudilol95

Fri, 10 Apr 2015 22:59:10 +0000

Whilst trying to program my Chipkit wifire using a pgm programmer(the new generation of the pickkit3) because of the excruciating number of program modifications and consequent recompilations needed, I felt the need to compile directly without the bootloader.The reason is simple, the time it took. How can i burn the project without a bootloader? If I want to burn the hex files generated by Mplabide how must I configure MplabIpe to do so, again bypassing the bootloader?. :D :D

With kindest respect in advance for any answer.

P.S. : The initial problem is that it takes to much (~1min) for each recompilation which is really frustrating. :D


majenko

Fri, 10 Apr 2015 23:34:54 +0000

Two things you can do:

  1. Switch to UECIDE - it has an option to compile and use the pickit2 programmer - just don't use it to upload. That way it will use the right linker script.
  2. Switch to UECIDE - compilation is about 1,000,000 x faster due to advanced caching.

But for programming 100% in MPLAB-X you can either just completely ignore the bootloader and wipe it off - just treat the board like a plain blank chip and program it accordingly. Or you can make sure you use a bootloader aware linker script - you could use the ones in MPIDE as a basis to start from - but be warned, there may well be some incompatibilities between pic32-tools and xc32 that mean you can't just use the MPIDE linker scripts verbatim.


tudilol95

Sat, 11 Apr 2015 14:53:38 +0000

The thing is I managed to compile faster with the Microsoft Visual Studio+Visual Micro suite and I would really like to upload it as well faster and not have to move the code from one place to another :D :D