HexEngine Firmware Update Guide Updated: 30-Jun-2009 This guide will explain how to update the firmware on our p.Brain-HexEngine, or p.Brain-µHexEngine. Note: The p.Brain-HexEngine runs on the p.Brain-ds24 and p.Brain-SMB combo. The p.Brain-µHexEngine runs on the p.Brain-µ24. Make sure you are using the correct firmware file for your p.Brain board! Print this document with the following settings: Paper A4 or Letter, Margins 0.4", Scale 70%. tested in IE7 & Firefox 3.0.1 Index
|
|
|||||||||||||||||||
|
When designing the bootloader for the p.Brain modules, I used MicroSockets PICBoot Tools for Microchip 24H/33F micro controllers. In order to update or load new firmware you will require this tool which can be downloaded for free here: You will also require:
|
|||||||||||||||||||
|
|
||||||||||||||||||||
|
Start the PICBoot tool, and configure the tool as follows: Under the Configure Tab: (Image 01) |
|||||||||||||||||||
|
|
|||||||||||||||||||
|
Go to the "Program" tab and press the "Program" button. The progress bar should start to increment. Programming takes approximately 60 seconds.
Image 04: The black connector to the top right of the p.Brain-SMB is the RS232 RJ11 4/4 socket. Servo pictured is not necessary. Power in this example is being fed through the VS pins of the terminal connector, with JP3 jumper between 1-2. Power supply is 6V DC. Image 05: The black connector to the right of the p.Brain-µ24 is the RS232 RJ11 4/4 socket. | |||||||||||||||||||
|
Your new firmware has now been uploaded to the HexEngine. Some firmware updates have additional CONFIG parameters that will need to be configured prior to running the new firmware. In order to do this, close the PICBoot software, and open terminal software such as terraterm or hyperterm. Connect to the HexEngine using the same COM port used for firmware update, and your currently configured BAUD (Default = 115200,N,8,1) . Now cycle power to the HexEngine, you should see the boot screen appear in the terminal reflecting the updated firmware revision in the top left of the screen. If the new firmware has additional configuration settings, a warning message will have been displayed informing you that the configuration file size has changed, this means you will need to enter "CONFIG" mode and set the new parameters. New parameters are described within the update file included with the firmware update. Once these have been set, exit "CONFIG" mode and save the configuration file, the warning message should no longer be displayed. |
|||||||||||||||||||