When designing the bootloader for the p.Brain modules, I used MicroSockets PICBoot Tools for Microchip 24H/33F microcontrollers. In order to update or load new firmware you will require this tool which can be downloaded for free here:PICBoot Tools for Microchip 24H/33F microcontrollersPICBoot tool configuration:Under the Configure Tab:
Port: (The serial port you will be using, e.g. COM1)
BaudRate: 38400Under the Program Tab:
Boot Loader Address: 000400
Source File: (Select the firmware file from your local hard drive)PICBoot tool connection:
1) Have your p.Brain-ds24, plugged into your p.Brain-SMB and the logic supply (VL) power off.
2) Connect your serial cable from the p.Brain-SMB RJ11 4/4 connector to your selected PC COM Port.
3) Go to the Configure tab, press the "Init Port" button to open the COM port. If the port opens successfully, a message is displayed next to the "Init Port" button such as "Port 1 is open". The "Init Port" button will also close the port if it is already opened.
4) Once the port is successfully opened, click the "Connect" button in the "Configure" tab. " The area next to the "Connect" button should display "Cycle power to the target board...". The PICBoot tool will search for a connected p.Brain-ds24 for approximately 7 seconds.
5) Switch on the p.Brain-SMB logic power.
6) The PICBoot should now be connected to the p.Brain-ds24, the progress bar area next to the "Connect" button should display "Idle"PICBoot tool Firmware Download:
1) Setup PICBoot comunication settings & firmware file
2) Connect to the p.Brain-ds24
3) Go to the "Program" tab and press the "Program" button. The progress bar should start to increment. Programming takes approximately 60 seconds.
4) Once programmed, power cycle the p.Brain-ds24 to start the new code.