Author Topic: PIC18F Bootloader - any recommendations?  (Read 2387 times)

0 Members and 1 Guest are viewing this topic.

Offline voltsandjoltsTopic starter

  • Supporter
  • ****
  • Posts: 2300
  • Country: gb
PIC18F Bootloader - any recommendations?
« on: November 17, 2017, 08:46:32 am »
Using PIC18F for first time in a one off* project (18F46K40), so I'm just finding my way around.
XC8 looks reasonably solid.

I see the Microchip MCC can generate a bootloader but I haven't tried it yet - should I pursue this or is there something better out there?

Edit:
* When I say one off, I mean one design but hundreds of boards.
« Last Edit: November 17, 2017, 11:06:39 am by voltsandjolts »
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12859
Re: PIC18F Bootloader - any recommendations?
« Reply #1 on: November 17, 2017, 10:36:52 am »
Don't bother for a one-off unless its going to be difficult to get to the board with an ICSP lead.  A bootloader introduces unnecessary complexity, and unless carefully implemented, can significantly decrease reliability.  Also keeping the matching PC app current so it runs on new OS versions is a PITA. 
 

Offline voltsandjoltsTopic starter

  • Supporter
  • ****
  • Posts: 2300
  • Country: gb
Re: PIC18F Bootloader - any recommendations?
« Reply #2 on: November 17, 2017, 10:46:47 am »
Wise words indeed but unfortunately mechanical assembly and client dictate requirement for in situ firmware updates over UART.
 

Online jaromir

  • Supporter
  • ****
  • Posts: 338
  • Country: sk
Re: PIC18F Bootloader - any recommendations?
« Reply #3 on: November 17, 2017, 11:01:33 am »
There was exactly one occasion when I needed generic UART bootloader in my project (though I wrote at least dozen of application-specific FLASH loaders for PIC devices), I used this one https://picbootloader.com/ for PIC18F2420. Not sure how much work is needed to port it to 'K40, but it will not be probably very complicated task.
 

Offline voltsandjoltsTopic starter

  • Supporter
  • ****
  • Posts: 2300
  • Country: gb
Re: PIC18F Bootloader - any recommendations?
« Reply #4 on: November 17, 2017, 02:14:49 pm »
Thanks, I'll look into that.
I see the same guy has https://www.ds30loader.com which offers commercial support.
 

Online jc101

  • Frequent Contributor
  • **
  • Posts: 624
  • Country: gb
Re: PIC18F Bootloader - any recommendations?
« Reply #5 on: November 17, 2017, 02:34:30 pm »
Thanks, I'll look into that.
I see the same guy has https://www.ds30loader.com which offers commercial support.

That chap does indeed offer great support for his boot loaders, I'd recommend them if you didn't want to roll your own.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf