The firmware of all new SBC65EC boards (Revision 2 boards programmed with a bootloader) can be updated with the
Modtronix Network Bootloader,
no PIC programmer is required! Simply:
For details, see section below! Ensure your computer's network settings are configured correctly so you can access the IP address of the target board! For details, see
Configuring your computer's network settings
The
Modtronix Network Bootloader application is a user friendly program that is used to update the firmware on a Modtronix Ethernet enabled SBC board with bootloader. No PIC programmer is required. The SBC board used must have a bootloader installed on it. Such a board can be identified by a
BLN Vm.nn label on the front of the board - normally stuck on the RTL8019AS 100 pin network chip. Where
Vm.nn is the version number of the bootloader. The image below shows an example of the label on a board with a V1.00 bootloader.
To update the firmware on a local board, follow the following steps:
-
Ensure your SBC65EC is connected to the network, and switched off (no power applied).
-
Download, install and start the Modtronix Network Bootloader application.
-
Enter the target board's current IP address in the "Target IP Address or NetBIOS Name" field. The default IP address for the SBC65EC is "10.1.0.1", and NetBios name is "MXBOARD".
-
Enter the target board's configured IP address in the "Target IP Address for Bootloader" field. The default IP address for the SBC65EC is "10.1.0.1".
-
Load the new firmware (has to be a hex file) by clicking on the "Browse" button. The latest firmware can be downloaded from modtronix.com/prod-oldsite/sbc65ec/firmware.
-
Click on the "Connect" button. This will start sending UDP packets onto the network trying to connect with the bootloader on the SBC65EC.
-
Apply power to your SBC65EC.
-
You should see a message in the "Message Window" stating that a connection has been made with the target board.
-
Click on the "Upgrade Firmware" button. The progress of the firmware upgrade will be shown in the "Message Window".
-
When finished, the SBC65EC will automatically be reset, and will start up with the new firmware.
The firmware can also be updated from a remote location, via the internet for example. For this to be possible, both the target board and Modtronix Network Bootloader should be connected to the same network or the internet. A way is needed to remotely reset the target device so it can enter bootloader mode for the configured time. The Modtronix SBC65EC Web Server has a reset button on the the password protected "System" page of its web interface. The user has to access this page and reset the target by clicking on this button. After resetting the target board, it will remain in bootloader mode for the configured time. The procedure for updating the firmware is:
-
Start the Modtronix Network Bootloader program, select the desired IP address and hex file, and click the "Connect" button. It will now start searching for the bootloader device
-
Reset the target board by clicking on the "Reset" button on the "System" page of the target board's web interface.
-
The Modtronix Network Bootloader should now find the device, and establish a connection.
-
After connected, click on the "Update Firmware" button to update the firmware. After successfully updating the firmware, the target board will be reset.
To update the firmware via the Modtronix Network Bootloader the following must be true:
- We have to know the IP address of the target board.
- The configuration data stored in the target board's EEPROM must not be corrupted. This configuration data is used to set the board's IP address, how long it remains in bootloader mode after power up...
If for some reason, this EEPROM becomes corrupted, or the user does not know the IP address the device is configured for, the device can be powered up in Safemode. For details, see Safemode. When we start the SBC65EC in this mode, it will remain in bootloader mode until it has been programmed via the Modtronix Network Bootloader. We can also use any of the following IP addresses to access it:
- 10.1.0.1
- 192.168.1.1
- 192.168.0.1
The procedure for programming it via the bootloader will be the same as given above in the Updating the firmware on a local target board section.
To be able to use the
Modtronix Network Bootloader to update the firmware on a target Ethernet enabled board, your computer's network settings have to be correct so you can access the target board's IP address. For example, if the target board's IP address is 10.1.0.1, you have to ensure that your computer's IP address is on the same subnet. An example would be to configure your IP address to be 10.1.0.100 and your subnet mask 255.255.255.0.
For troubleshooting and Frequently asked questions when using the "Modtronix Network Bootloader" , see
Programming a board with bootloader might overwrite the bootlader! Only use the Modtronix Network Bootloader to update the firmware on a board with bootloader. Using a PIC programmer will overwrite the bootloader on the board! The bootloader is NOT made available for free, and can only be replaced by returning the board to Modtronix Engineering to have it re-programmed! Some of the older SBC65EC boards were not shipped with bootloaders. To update these boards with the latest firmware, a PIC programmer is required. For details see
Programming Modtronix PIC based boards.