Skip to content

B-Loco motor controller board firmware for YP-Spur. (B-Loco has been almost obsolete.)

Notifications You must be signed in to change notification settings

openspur/bloco-firmware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bloco-firmware

B-Loco motor controller board firmware for YP-Spur. (B-Loco has been almost obsolete.)

This project was split from YP-Spur.

build

$ autoreconf -vfi
$ mkdir build
$ cd build
$ ../configure
$ make

dependencies

  • SH-2 cross compiler
$ cd /tmp
$ wget https://openspur.org/tools/sh-elf-4.7.1.i686.tar.bz2
$ tar xjfv sh-elf-4.7.1.i686.tar.bz2
$ sudo mv sh-elf /usr/local/
$ echo "export PATH=$PATH:/usr/local/sh-elf/bin" >> ~/.bashrc
$ exit
  • SH-2 programmer
$ wget https://openspur.org/tools/sh7045writer-1.0.3.tar.gz
$ tar xzfv sh7045writer-1.0.3.tar.gz
$ cd sh7045writer-1.0.3
$ ./configure
$ make
$ sudo make install

program

  1. Connect board by using RS-232c port
  2. Set board into boot mode (short boot jumper)
  3. Write new firmware
    $ cd (ypspur build directory)
    $ sh7045writer --port=/dev/ttyUSB0 target-sh/sh-vel.mot

About

B-Loco motor controller board firmware for YP-Spur. (B-Loco has been almost obsolete.)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published