Bootloader

Introduction

The bootloader consists out of two parts:

Some Modtronix Ethernet enabled boards are programmed with a network bootloader for updating firmware. When powering up the board, the network bootloader program will be executed for a configured time. During this time, it will look for connection messages received via UDP port 54211 from the Modtronix Network Bootloader Application. If found, the target board will remain in bootloader mode and wait for further instructions from the Modtronix Network Bootloader. If not found, it will jump to and start executing the user program.

Updating the Firmware with the Modtronix Network Bootloader

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 shown an example of the label on a board with a V1.00 bootloader.
label.jpg

For the latest version of the Modtronix Network Bootloader application, please go to www.modtronix.com/soft/netloader.

Updating the firmware on a local target board

To update the firmware on a local board, follow the following steps:

Updating the firmware on a remote target board

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 TCP/IP Stack 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:

Updating the firmware on a faulty board

To update the firmware via the Modtronix Network Bootloader the following must be true:

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 target board 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:

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.


Generated on Wed Jul 11 11:34:38 2007 for Example Projects by  doxygen 1.5.2