Page 1 of 1

Chipkit + Bootloader Programming

Posted: Fri Dec 02, 2016 4:42 pm
by Benj
Hello,

For anyone wanting to use a PIC32 ChipKit I have some good news.

We have looked a few times at supporting the ChipKit bootloader and failed. Now I am happy to announce we have finally cracked it.

I have included this fix in the files here: http://www.flowcode.co.uk/mmforums/viewt ... 63&t=18209

If you have an existing project then remember to change the target to the Bootloader version of the chip.
ChipKit.jpg
ChipKit.jpg (64.26 KiB) Viewed 8720 times
Also remember to select the correct COM port.
ChipKit2.jpg
ChipKit2.jpg (44.85 KiB) Viewed 8718 times
This fix should also resolve the spaces in project filename compilation errors.

If you need to restore the Bootloader to your ChipKit then you can do so using a PICkit 3 and the MPLABX IPE software, the bootloader hex file can be found from this page.

http://chipkit.net/wiki/index.php?title=Boards

Re: Chipkit + Bootloader Programming

Posted: Fri Dec 02, 2016 6:21 pm
by QMESAR
Thank you very much B :D en and Team this is great news for many users :D

Re: Chipkit + Bootloader Programming

Posted: Sun Dec 04, 2016 4:26 pm
by JohnCrow
Hi Ben

I've added your new components but I'm not able to get the board to program

C:\Program Files (x86)\Matrix TSL\Flowcode V7\compilers\pic32\bin\xc32-gcc.exe reported error code 255
After pressing compile to chip the window goes blank and shows the above message

I have reloaded the bootloader into my chipkit board using the pickit3 and mplab, as I have previously programmed it with the pickit
Flasher_Fast.fcfx
(5.55 KiB) Downloaded 370 times

Re: Chipkit + Bootloader Programming

Posted: Sun Dec 04, 2016 5:56 pm
by QMESAR
Hi Ben

As John I have reprogrammed my uc32 with the boot loader and when pressing compile to chip in FC, I get the same error
C:\Program Files (x86)\Matrix TSL\Flowcode V7\compilers\pic32\bin\xc32-gcc.exe reported error code 255

Re: Chipkit + Bootloader Programming

Posted: Mon Dec 05, 2016 10:40 am
by Benj
Hi Guys,

Thanks for letting me know. I have now fixed the broken file on the link below and it should now work correctly.

http://www.flowcode.co.uk/mmforums/viewt ... 63&t=18209

Re: Chipkit + Bootloader Programming

Posted: Tue Dec 06, 2016 8:53 am
by QMESAR
Hi Ben

Updated my FC with the new files from the link however when programming then I get the following error message
C:\Program Files (x86)\Flowcode 7\compilers\pic32\bin\pic32prog.exe reported error code -1
do not know if this is a path problem :D I aslo do not locate such a file in my system

Re: Chipkit + Bootloader Programming

Posted: Tue Dec 06, 2016 12:30 pm
by Benj
Hello,

Please can you try the update again I've added the programmer executable now and it hopefully should all work this time.

Re: Chipkit + Bootloader Programming

Posted: Tue Dec 06, 2016 12:40 pm
by QMESAR
Hi Ben
Sorry for this post I did not see the one from John and when I did I downloaded the new files ,
The update is working fine with me :D
Thank you very much

Re: Chipkit + Bootloader Programming

Posted: Tue Dec 06, 2016 7:24 pm
by Jacob Christ
How exactly does this work? It seems like your replacing the bootloader on the board. So you would need a custom bootloader for each chipKIT board, correct?

We make the PONTECH Quick240 (pontech.com / quick240.com) which was based on the chipKIT Max32 but we have a modified bootloader.

Jacob