Difference between revisions of "Bootloader Update"
From UPHCC
(→Howto) |
(updated link) |
||
Line 10: | Line 10: | ||
** cable to connect programmer to UPHCC-usb board with correct pinout | ** cable to connect programmer to UPHCC-usb board with correct pinout | ||
* Programming software | * Programming software | ||
− | ** for Windows: [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId= | + | ** for Windows: [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2680&dDocName=en537044 Microchips FullSpeed USB Framework] (download the <tt>MCHPFSUSB_Setup_v1.2.exe</tt> file) |
** for Linux: [http://www.internetking.org/fsusb/ fsusb] | ** for Linux: [http://www.internetking.org/fsusb/ fsusb] | ||
+ | === Howto === | ||
− | + | * Entering bootloader mode ....... | |
+ | |||
+ | '''Connecting the UPHCC-usb to a PIC programmer:''' | ||
+ | [[Image:UPHCC-usb_bootloader_update.jpg|frame|150px|center|PIC programmer connection to UPHCC-usb]] | ||
+ | |||
+ | * the bootloader should come up with USB Vendor:Product IDs of: <tt>04d8:000b</tt> | ||
+ | ** The UPHCC application firmwares have a Vendor ID of <tt>16c0</tt> and a Product ID in the range of <tt>096a</tt> to <tt>0973</tt> | ||
+ | |||
+ | Programming Cable Pinout: [[UPHCC Pinouts#UPHCC-usb_ICSP_PIC_Programming_pinout|ICSP pinout]] |
Latest revision as of 23:08, 28 April 2010
Bootloader Update
The USB-based bootloader in UPHCC-usb usually does not require updates. However, if you built a UPHCC-usb board yourself, you need to program the PIC microcontroller with the bootloader to be able to upload firmware into the PIC via USB. Below are the steps required to perform this bootloader update.
What you need
- Hexfile of bootloader:
- Note: the original Microchip bootloader will not work with this hardware. You need to use my version that uses a different pinout, and more importantly, it uses a completely different bootloader entry method.
- ICSP-capable PIC Programmer
- cable to connect programmer to UPHCC-usb board with correct pinout
- Programming software
- for Windows: Microchips FullSpeed USB Framework (download the MCHPFSUSB_Setup_v1.2.exe file)
- for Linux: fsusb
Howto
- Entering bootloader mode .......
Connecting the UPHCC-usb to a PIC programmer:
- the bootloader should come up with USB Vendor:Product IDs of: 04d8:000b
- The UPHCC application firmwares have a Vendor ID of 16c0 and a Product ID in the range of 096a to 0973
Programming Cable Pinout: ICSP pinout