Chipkit Wifire Bootloader

Post Reply
The_YongGrand
Posts: 9
Joined: Tue May 30, 2017 1:56 am

Chipkit Wifire Bootloader

Post by The_YongGrand » Tue May 30, 2017 2:07 am

Hello there,

Is the bootloader in the Chipkit WiFire located entirely in the 160KB boot-flash and also being write protected?

User avatar
majenko
Site Admin
Posts: 2179
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Chipkit Wifire Bootloader

Post by majenko » Tue May 30, 2017 10:24 am

I think it actually fits entirely within just one of the two 80k blocks that comprise the boot flash area.

Code Protection is not turned on, and I don't believe there is any software protection of the boot flash to prevent it overwriting itself.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

The_YongGrand
Posts: 9
Joined: Tue May 30, 2017 1:56 am

Re: Chipkit Wifire Bootloader

Post by The_YongGrand » Thu Jun 01, 2017 4:06 am

majenko wrote:I think it actually fits entirely within just one of the two 80k blocks that comprise the boot flash area.

Code Protection is not turned on, and I don't believe there is any software protection of the boot flash to prevent it overwriting itself.
Thanks for the reply. By the way, which compiler and the MPLAB X IDE versions you compile the bootloader in? I tried finding in the Github but to no avail.

Could the newer versions of the Chipkit Wifire bootloader includes this boot-flash write protection feature? If so, it'll prevent accidental erasure of the bootloader.

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

Re: Chipkit Wifire Bootloader

Post by EmbeddedMan » Thu Jun 01, 2017 3:46 pm

The bootloader can be built with the XC32 compiler or the chipKIT compiler (for this purpose, they are basically identical).

Feel free to suggest changes/features for the bootloader as issues on the bootloader GitHub site!

*Brian

User avatar
majenko
Site Admin
Posts: 2179
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Chipkit Wifire Bootloader

Post by majenko » Thu Jun 01, 2017 4:27 pm

Be aware, however, that the chipKIT bootloader is not the same as the Digilent bootloader. chipKIT was forked from Digilent some time back and already has much more functionality than the Digilent one. Digilent refuse to use our bootloader and insist on using their own, so don't expect any changes submitted to our repo to make it into future Diggilent boards. All the other boards, though, use the chipKIT bootloader, so they would get new features as they are implemented.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

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

Re: Chipkit Wifire Bootloader

Post by EmbeddedMan » Thu Jun 01, 2017 5:13 pm

Also be aware that Digilent has added additional functionality to their bootloader as well. Both have diverged from each other in different ways. (at least, that's the impression I've gotten from Digilent - I have not closely tracked their changes.)

*Brian

The_YongGrand
Posts: 9
Joined: Tue May 30, 2017 1:56 am

Re: Chipkit Wifire Bootloader

Post by The_YongGrand » Fri Jun 02, 2017 2:35 am

Thanks, I'll try using the Chipkit bootloader and compile it from there. :)

Post Reply