Installing the 2B Bootloader

The bootloader is a small separate program which resides on the more modern 2B's (Firmware V2.104 and above) which allows you to update the main Firmware program quickly and easily. Older versions of 2B firmware have the bootloader within the main firmware. and will need to be updated to the new system. This page describes the process.

 Uplink2 is designed to operate with 2B’s with the bootloader installed, and will not work correctly until a bootloader is installed. Generally if you have a 2B running 2.104 or above, there is no need to install or attempt to re-install the bootloader.

 

Install the USB Drivers

Visit the drivers page at https://e-stim.info/downloads/drivers and download and install the latest Digital Link Interface USB drivers. If you are running the latest version of Windows 10, or the currently supported versions of macOS, then you should find the drivers are picked up automatically. The USB Drivers must be installed correctly BEFORE the digital interface and thus Uplink2 will work correctly.

Check for Latest Version

The Uplink2 program can be found on the memory stick supplied with the digital link interface, or, if you have purchased an older version of the Digital Link Interface System and UpLink, then we can send you a copy via email. This program is not generally available and should not be distributed or otherwise published. Before using UpLink always visit the uplink webpage to check you are running the latest version. More details can be found on our Downloads Page.

UpLink Not Connected

Does my 2B have a bootloader?

If you are running a 2B with at least firmware version 2.104, then you should have a bootloader. However to check

  1. Switch your 2B off
  2. disconnect the digital link cable (if connected) from the 2B.
  3. Press and hold the select button on the 2B, and then switch the 2B on. Once the screen has lit up, release the select button.
  4. If you see the bootloader screen below then you already have the bootloader installed and THERE IS NO NEED TO PROCEED.

bootloader installed

If you see anything like the following

bootloader not installed

Then you have an older firmware without the bootloader and you will need to install the bootloader FIRST.

Switch your 2B off.

Warning

Installing the bootloader is a critical operation. If you interrupt the installation of the bootloader, or fail to follow any of the instructions correctly, or you are just unlucky then it is possible to render your 2B useless. If this occurs the only options you will have is to either order a replacement IC, or return the 2B to our workshops for upgrade, both of these options are chargeable and not covered by your lifetime guarantee. If you are not sure then ask us BEFORE continuing.

Check Battery Level

As installing the bootloader correctly is critical, ensuring you have enough battery power to operate the 2B during the update process is very important. Before starting ensure you are working with a fresh battery, or have connected your 2B to the mains via the PSU.

Installation Procedure

  1. Copy the compressed (.zip) UpLink file to your computer, and uncompress the folder.
  1. Visit our web page and download the latest version of the bootloader. You will find this at https://e-stim.info/downloads/bootloader
  1. Save this file onto your computer.
  1. Switch your 2B on and wait for it to start up.
  1. Using the normal select and adjust controls select the UpLink Mode

select uplink

  1. Press the Select button and then use the adjust knob to select the Yes option,

select uplink

  1. Press Select to confirm you wish to enter UpLink mode.
  1. You should now see the screen below.

uplinking

    This indicates that your 2B is waiting for a connection.

Your 2B will stay in this mode until data transfer is complete, when it should reset or you power cycle the 2B manually. It is only safe to power cycle your 2B if no data has been transferred or you are sure that the transfer has been successful. (normally indicated by a message from UpLink and no errors being shown.

If you cannot find the UpLink Mode, then you probably already have the bootloader installed or you have a very old version of the Firmware installed. Check the previous instructions to see if you already have the bootloader installed.

  1. Plug in the digital link cable into the centre socket on the 2B, and a spare USB socket on your computer. If you have installed the drivers correctly your computer should reconsise the digital link cable.
  1. Run the UpLink2 program.

not collected

  1. On the UpLink program console select the port the digital link cable is connected to.

select port

  1. Select the 2B Type. As you are installing the bootloader, select 'pre v2.104'

select version

  1. Press the connect button button.

This will open the USB Port.

  1. Press the version button button

  1. You should now see the update program looking for and detecting the 2B. You should get one of several responses.

detected

This is what you should get. Click ok to exit.

If you get the following response then check your, click OK connections and try again. It may take several attempts to gain a response.

no response

Possible reasons for no response

  • Cables not correctly connected
  • Incorrect COM port selected
  • Incorrect 2B Type Selected
  • 2B running unsupported firmware
  • 2B running corrupted firmware
  • 2B switched off
  • Low Battery

If you get no response at this point then it is safe to stop. Contact us for more information.

If you get the following screen

already installed

Then you already have a bootloader installed and there is no need to attempt to install another.

Assuming you have the correct response then everything is now up and working. If you wish to install the bootloader then continue to follow the instructions below. You will need to check the version every time you connect in order to ensure all the communication system is working before attempting any transfer.

Transfer bootloader File

Press the transfer button button, and by using the standard computer file dialogue screen,  select the bootloader file you previously downloaded. It should be called something like bootloader14.2bfx. Do not attempt to edit this file as it is encrypted and any edits will cause corruption and possibly damage your 2B.

The file will be loaded and checked. You will get a dialog such as that below

md5 check

The MD5 Digest is a unique code to every file that indicates that the file is correct and hasn't been tampered with. We publish the MD5 Digest code on our website together with the bootloader file. Select Yes if the MD5 Digest matches the code on the website.

The bootloader should now start to download. The UpLink screen will display the progress of the download as well as giving you an estimation of the time left to complete the download. Do NOT disconnect or turn off your 2B while updating the bootloader.

transfer

DO NOT INTERRUPT THIS PROCESS. DOING SO WILL 'BRICK' YOUR 2B AND MAY REQUIRE A RETURN TO OUR WORKSHOPS OR THE FITTING OF A REPLACEMENT IC. IF THIS OCCURS THEN THIS IS A CHARGEABLE REPAIR AND IS NOT COVERED BY YOUR LIFETIME GUARANTEE.

Transferring the Bootloader should take approximately 2 minutes. Once the download has completed you should see the following on your computer, and your 2B should be resetting.

transfer complete

Because you have downloaded a new bootloader the main memory  of your 2B will be corrupted and you may see dark text/ black squares and an odd display -  this is normal.

  1. Switch your 2B off
  2. Disconnect the digital link cable from the 2B.
  3. Press and hold the select button on the 2B, and then switch the 2B on.
  4. You should see the screen light up and the bootloader screen display.

bootloader installed

If this is what you see, then you have sucessfully installed the bootloader and all is well. You can now proceed to install the new firmware.

Problems?  Confused?

In the event of problems, you can try our support forum at https://www.e-stim.net or email us directly at This email address is being protected from spambots. You need JavaScript enabled to view it.. We generally ask for a copy of the debug log and any further details as to what process you followed.