Bootloading onto FubarinoSD error

Post Reply
WorkInProgress
Posts: 1
Joined: Fri Mar 31, 2017 1:27 pm

Bootloading onto FubarinoSD error

Post by WorkInProgress » Fri Mar 31, 2017 1:49 pm

Hello community,

I ve been trying to load my .hex file (created in mplab X) onto my Fubarino mini SD (pic32MX795F512H). After quite some research i found and followed the http://chipkit.net/programming-chipkit- ... in-mplabx/ manual. When building the project i get following error code from it:

Code: Select all

"User defined post-build step: 
["C:\Programme\Microchip\MPLABX\v3.55\mplab_ide\bin\avrdude.exe" -C C:\Programme\Microchip\MPLABX\v3.55\mplab_ide\bin\avrdude.conf" -v -p32MX795F512H -cstk500v2 -P COM4 -b 115200 -U flash:w:"dist\default\production\FubarHaendisch.X.production.hex" ]"

nbproject/Makefile-default.mk:97: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/XXX/MPLABXProjects/FubarHaendisch.X'

nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

make[1]: *** [.build-conf] Error -1073741515

make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 1s)
I backtraced my steps through the tutorial twice making sure i didnt screw up, yet the error persists. I ve tried bootloading an (almost) empty .hex project to eliminate an error in the coding, yet the error persists. My next steps would be writing my own bootloader, which i d love to avoid (http://ppedreiras.av.it.pt/resources/de ... E_r1.0.pdf).

I hope some more experienced coder out there can help,

cheers

EmbeddedMan
Posts: 597
Joined: Tue May 24, 2011 9:24 pm
Location: Minneapolis, MN
Contact:

Re: Bootloading onto FubarinoSD error

Post by EmbeddedMan » Fri Mar 31, 2017 2:14 pm

WorkInProgress,

If you can hold on for just a little bit, there is going to be a new MPLAB X chipKIT importer released from Microchip that may make your task far, far easier. It allows you to pull in an Arduino project into MPLABX, and do all of your editing/building/uploading right from within X.

Other than that, you may want to use the latest chipKIT-core files (v1.4.0) rather than MPIDE to pull your linker scripts and such from, as MPIDE is no longer being developed, while chipKIT-core is and has more recent files.

*Brian

Post Reply