Updating Probe Firmware

Top  Previous  Next

The Monitor/Loader

The application firmware of Bus Probes is updated with the aid of a resident firmware called the Monitor/Loader (M/L).  

The M/L is launched every time a Bus Probe is powered up or reboots. When happens next depends on whether the MD button is pressed at the moment the M/L starts running:

If the MD button is not pressed, the M/L verifies the sanity of and launches the application firmware.

If the MD button is pressed, the M/L enters the firmware update mode. This mode is for updating the application firmware of Bus Probes. The firmware is updated via the RS485 port of Bus Probes, using the XModem communications protocol.

 

Prerequisites

To update a Bus Probe's firmware, you must have the firmware file you will be sending into that Bus Probe. BP firmware is published here: [SPECIFY]. A single firmware file covers all BP models.

Perhaps the most convenient way of updating the application firmware of Bus Probes is by using a TPS2(G2) system running one of the two Bus Probe testing apps provided by Tibbo.

If you don't have a TPS(G2) device you can perform a firmware upgrade from your PC.

 

To perform an Xmodem serial upgrade from a PC:

You must have a USB-to-RS485 cable. We successfully tested DigiFusion "FTDI-based" USB-to-RS485 cable.  

You must have a DC power source providing clean power in the 5~12V range.

You will need a "terminal" software supporting XModem file transfers. Any "terminal" software capable of sending files using XModem protocol will do. For example, you can employ Tibbo's own IO Ninja software. You can download it here: http://ioninja.com/downloads.html.

 

Update procedure

Connect the USB-to-RS485 cable to your PC.

Interconnect the RS485+ and RS485- terminals of your Bus Probe with corresponding terminals on the USB-to-RS485 cable.

Connect the power source to +V and GND terminals of the Bus Probe. Keep the supply voltage in the 5~12V range.

Turn off the power.

Run IO Ninja software.

 

bp_uploading_with_ninja

IO Ninja toolbar

 

Click New Session, then choose Serial.

Click New Layer and add the XModem layer.

Click Settings and make sure that:

oCorrect Port is selected;

oThe Baud rate is 38400;

oThe number of Data Bits is set to 8;

oThe number of Stop Bits is set to 1; and

oParity is set to None.

oThe flow control is set to None.

 

bp_ninja_settings

 

Click Open.

Click Transmit File With XModem, select the firmware file to send, and click Open.

Press and hold the MD button on the Bus Probe.

Apply power to the Bus Probe. The upload should start. You may release the MD button at this point.

During the upload, the status LEDs will be showing the following patterns:

opat_receiving — the Probe is receiving and storing the file;

opat_ok — XModem transmission completed;

oA number of error patterns may also be displayed. Please refer to the status LEDs topic for more info.

After the upload completes, power-cycle the Probe. The newly loaded application firmware will start executing.

 

Updating the Monitor/Loader

It is also possible to update the M/L itself. M/L updates are distributed as application firmware files. The sole function of a M/L updater firmware is to update the M/L (with the M/L code contained within the firmware). The latest M/L updater firmware for Bus Probes can be found here: [SPECIFY].

 

To update the M/L:

Upload this updater firmware in the same manner used to upload the application firmware (explained above).

Reboot your Bus Probe and let the updater firmware execute.

The updater firmware will go through displaying three distinctive status LED patterns:

opat_preparing_to_update — the Probe is preparing to update the M/L. Do not turn off the power.

opat_updating_ml — the Probe is updating the M/L. Do not turn off the power.

opat_update_completed — the M/L has been updated. You can now safely turn off the power or reboot the Probe.

Upload the application firmware to make the Probe operational.