Actions

Difference between revisions of "Firmware Update"

From UPHCC

(in progress)
 
Line 8: Line 8:
 
* download and install Microchip's MCHPFSUSB USB Framework. This package includes their USB Firmware bootloader application.
 
* download and install Microchip's MCHPFSUSB USB Framework. This package includes their USB Firmware bootloader application.
 
** http://microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2124&param=en532204&page=wwwFullSpeedUSB
 
** http://microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2124&param=en532204&page=wwwFullSpeedUSB
* run "PICDEM FS USB Demo Tool" (launched with PDFSUSB.exe), choose the bootloader mode.
+
* run "PICDEM FS USB Demo Tool" (launched with PDFSUSB.exe), make sure you are in tab "Bootload Mode"
* load the firmware hexfile downloaded in above steps
+
** click "Load HEX File" to load the firmware hexfile downloaded in above steps
* click 'download or whatever'
+
** click 'Program Device'
  
 
== Firmware Uploading On Linux ==
 
== Firmware Uploading On Linux ==
Line 16: Line 16:
 
** http://www.internetking.org/fsusb/
 
** http://www.internetking.org/fsusb/
 
* make sure you run the program with proper rights to the USB devices. You might have to run it either as root or suid root.
 
* make sure you run the program with proper rights to the USB devices. You might have to run it either as root or suid root.
* commandline: ./fsusb --program firmware_hexfile.hex
+
* commandline: <tt>./fsusb --program firmware_hexfile.hex</tt>
  
  

Revision as of 14:47, 26 March 2008

To install/update the firmware for the UPHCC-* series of boards,

  • first download the appropriate firmware for the board and/or application,
  • run the firmware uploader program for your platform (see below)
  • enter bootloader mode (aka. firmware update mode) on UPHCC-usb,


Firmware Uploading On Windows

Firmware Uploading On Linux

  • download, build, and install fsusb
  • make sure you run the program with proper rights to the USB devices. You might have to run it either as root or suid root.
  • commandline: ./fsusb --program firmware_hexfile.hex


Entering Bootloader Mode

  • turn on UPHCC-usb
  • press RESET button on UPHCC-usb quickly a few times (at least twice; it is important that the time between the last two presses is less than 1/2 of a second)
  • 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.