Actions

Difference between revisions of "Firmware Update"

From UPHCC

(in progress)
 
(updated link)
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
== Firmware Uploading On Windows ==
 
== Firmware Uploading On Windows ==
 
* 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
+
** <strike>http://microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2124&param=en532204&page=wwwFullSpeedUSB</strike> (old link)
* run "PICDEM FS USB Demo Tool" (launched with PDFSUSB.exe), choose the bootloader mode.
+
** http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2680&dDocName=en537044
* load the firmware hexfile downloaded in above steps
+
* run "PICDEM FS USB Demo Tool" (launched with PDFSUSB.exe), make sure you are in tab "Bootload Mode"
* click 'download or whatever'
+
** click "Load HEX File" to load the firmware hexfile downloaded in above steps
 +
** click 'Program Device'
  
 
== Firmware Uploading On Linux ==
 
== Firmware Uploading On Linux ==
Line 16: Line 17:
 
** 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>
  
  

Latest revision as of 23:06, 28 April 2010

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.