The TSB Loader tool is used to upgrade the firmware of the internal actuators used in Seed Robotics units with the EROS architecture.
TSB Loader is open source and is written in FreeBasic which makes very easy to compile and port to multiple platforms.
To upgrade Seed Robotics actuators you will need a specially modified TSB Loader tool prepared by Seed Robotics.
TSB Loader is written in Freebasic, so you first need to get the FreeBasic compiler (open source)
Open a console window and extract the files to a local directory.
Next, use the included script to install the compiler into your system folders.
Type sudo ./install.sh -i
Once the script completes you will need to install a few additional packages necessary for compiling under Linux.
A typical command would be:
sudo apt install gcc make lib{ncurses5,gpm,x11,xext,xpm,xrandr,xrender,gl1-mesa,ffi}-dev
(the actual command may need to be adapted depending on your Linux distribution; consult the Freebasic Wiki for more information)
Further information on Installing the FreeBasic Compiler Pre Requisite
If you need further information on installing the FreeBasic compiler, please check the FreeBasic Wiki where you will find a comprehensive explanation on how to install it in various OS'es http://freebasic.net/wiki/wikka.php?wakka=CompilerInstalling
Now that you have FreeBasic Compiler installed on your computer:
tsb.bas
and enter the following command:
fbc -v tsb.bas
In order for the command to run successfully, you may need to specify the full path to the fbc
tool in your system:
In Linux it is usually /usr/local/bin/fbc
but depending on distribution it may vary.
In Windows it is usually C:\Program Files (x86)\FreeBasic\fbc
or C:\Program Files\FreeBasic\fbc
You should now be all done.
Type ./tsb
or just tsb
and you should see a list of options being printed.
Compiling with FreeBasic is usually pretty straightforward.
When compiling the TSB loader tool, we recommend that you don't use any compilation switches, except the -v
(verbose). For example, if you use the -e/-ex/-exx
switches when compiling, the resulting TSB Loader will not work properly.
Apart from this, if you are still running into issues, just send us an email to support@seedrobotics.com