Created Fri, 31 Mar 2017 12:49:25 +0000 by WorkInProgress
Fri, 31 Mar 2017 12:49:25 +0000
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-boards-in-mplabx/ manual. When building the project i get following error code from it:
"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/detpic32-bootloader/Bootloader_GUIDE_r1.0.pdf).
I hope some more experienced coder out there can help,
cheers
Fri, 31 Mar 2017 13:14:06 +0000
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