Chipkit + Bootloader Programming

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Chipkit + Bootloader Programming

Post 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.matrixtsl.com/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 8023 times
Also remember to select the correct COM port.
ChipKit2.jpg
ChipKit2.jpg (44.85 KiB) Viewed 8021 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

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: Chipkit + Bootloader Programming

Post by QMESAR »

Thank you very much B :D en and Team this is great news for many users :D

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: Chipkit + Bootloader Programming

Post 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 331 times
1 in 10 people understand binary, the other one doesn't !

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: Chipkit + Bootloader Programming

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Chipkit + Bootloader Programming

Post 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.matrixtsl.com/mmforums/viewt ... 63&t=18209

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: Chipkit + Bootloader Programming

Post 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
Attachments
1.JPG
1.JPG (34.31 KiB) Viewed 7940 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Chipkit + Bootloader Programming

Post 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.

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: Chipkit + Bootloader Programming

Post 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
Attachments
1.JPG
1.JPG (42.36 KiB) Viewed 7923 times

Jacob Christ
Posts: 1
Joined: Tue Dec 06, 2016 7:02 pm
Contact:

Re: Chipkit + Bootloader Programming

Post 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

Post Reply