Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bootloader for PIC32
23-12-2011, 09:15 AM,
#1
Bootloader for PIC32
Hi, where can I get PIC32 bootloader?
I have bought PIC32 starter kit using PIC32MX795F512L and I have PICKit3 programmer. I want use that with Pinguino IDE. Before this I have tried bootloader PIC18F4550.
Reply
23-12-2011, 11:46 AM,
#2
RE: Bootloader for PIC32
Try the official SVN repository:
http://code.google.com/p/pinguino32/sour...253Dclosed

I think these should be available in the x.3 release when it is ready.
Reply
23-12-2011, 01:48 PM, (This post was last modified: 23-12-2011, 01:58 PM by pingotg.)
#3
RE: Bootloader for PIC32
Slightly more is involved I think. The bootloader needs to know "enough" about your hardware, which includes knowing the device for I/O with the host (USB, so its address etc) and the CPU's memory map (I expect it needs this) - especially how much flash ROM.

Also, you SHOULD change the USB VID & PID (vendor ID & product ID) - but if you just use it for a hobby there's no need.

There's some detail somewhere. Sorry to be vague! Try one/all of:

http://www.schmalzhaus.com
maybe http://www.schmalzhaus.com/UBW32/FW/HIDB...Boot.X.zip
http://www.themaximitecomputer.com
http://www.thebackshed.com
http://www.kenseglerdesigns.com

and of course microchip's site at http://www.microchip.com/MAL - you're looking for the USB HID boot loader.

The program for reflashing is generally mphidflash whose source is readily found Smile
(ubw32 appears to be just a variant of mphidflash)

John
Reply
23-12-2011, 02:01 PM,
#4
RE: Bootloader for PIC32
I'm not into this much so you may be right. Although in the repo I see three versions: MX440, MX460, MX795 - the last one will probably work with PIC32MX795F512L. If you tried the 8-bit bootloader and the chip is still alive, I think it will not hurt to try - correct me if I'm wrong.
Reply
23-12-2011, 02:06 PM,
#5
RE: Bootloader for PIC32
Yes, it may well work. It would have the "wrong" VID & PID but so long as you are a hobbyist and know what they are then they don't matter (programs such as mphidflash need the VID & PID).

In general, you'd need to change & recompile the boot loader or write your own.

John
Reply
23-12-2011, 02:37 PM,
#6
RE: Bootloader for PIC32
Thanks everyone. I'm just hobbyist. I'm not so urgent and I will try all the resource because I still can use PIC18 Pinguino.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)