Welcome, Guest. Please Login.
Surveyor Corporation Surveyor SRV-1
Home Help Search Login

Surveyor Robotics Forum

Welcome to the user support forum for Surveyor SRV-1 robots, SRV-1 robot controllers and SVS stereo vision systems. To register for this forum, please send an email to support@surveyor.com which includes your desired forum user name, your registration email address, and a brief explanation of why you wish to join, and we will create a forum account for you.

Please note that there is a Search button in the forum toolbar for forum topics. Another effective search method for the entire surveyor.com site is to use Google, e.g. "xyz site://www.surveyor.com" where "xyz" is the search topic.



Pages: 1
Send Topic Print
Compiling SRV-1 Blackfin firmware on Windows (Read 11708 times)
admin
YaBB Administrator
*****




Posts: 3675
Compiling SRV-1 Blackfin firmware on Windows
11/29/07 at 8:04am
 
The current version of the Blackfin compiler toolchain runs on Windows and can be used to compile srv1.ldr.
 
Here is the download link for the most recent toolchain-  
http://blackfin.uclinux.org/gf/download/frsrelease/392/5211/blackfin-toolchain-w in32-2008R1.5.exe
 
Important note - you will see the following message during installation:
Quote:
---------------------------
ADI Blackfin Toolchain 2008R1.5 Setup
---------------------------
Your system does not appear to have LibUsb-Win32 installed.
You need to have this installed if you wish to use USB based JTAG tools.

Do you wish to install LibUsb-Win32?
---------------------------
Yes   No    
---------------------------

 !!! DO NOT INSTALL IT. YOU WILL HAVE TROUBLES WITH USB !!!
This LibUsb-Win32 is not required.
 
The SRV-1/SVS firmware image is built using a Windows command prompt ("Start" "Run"  
"Cmd"), using the "make" command on "Makefile" that is included with the SRV-1/SVS source code archive.  The source code will be found in  
    http://www.surveyor.com/blackfin/srv-blackfin-xxxxxx.zip
 
Links to firmware archives will be found on this forum and  
    http://www.surveyor.com/blackfin/#blackfin3
 
You may have to install "make.exe" from the Mingw32 package.  You can download the package here -  
    http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=23918& amp;release_id=587379
 
Once you have installed, you can rename mingw32-make.exe to make.exe.  You need to put make.exe in your execution path, though it might be easiest just to copy make.exe into the same directory where bfin-elf-gcc.exe is installed.
 
Once everything is installed, you can "cd" (change directory) to the location of the SRV-1/SVS source code files and type "make".  Before starting, delete all of the *.o and *.bin files.
 
*** UPDATE ***
Forum member Lefteris has written a tutorial for building SRV-1 firmware on Windows -  
    http://lefteris.realintelligence.net/?p=17
Back to top
 
« Last Edit: 02/09/10 at 9:48am by admin »  

SRV-1 Development Team
Surveyor Corporation
Email WWW   IP Logged
gmonnat
YaBB Newbies
*




Posts: 5
Re: Compiling SRV-1 Blackfin firmware on Windows
Reply #1 - 01/28/10 at 2:32pm
 
I followed Lefteris's most excellent tutorial for building SRV-1 firmware on Windows, and got the “mingw32-make” and Tera Term stuff compiling and talking to the SRV-1.  For the mingw32-make.exe, I only downloaded the smaller, newer one, mingw32-make-3.81-20080326-3.tar.gz.  For Tera Term, I made the following changes to TERATERM.INI and thought I'd share them here for others.  It's basic stuff, but maybe it'll help someone.
 
* To change the default TCP/IP host, change the Host1 line (in my case to 192.168.200.100, which I copied from my srv.config line "network.srv.host=192.168.200.100").  The [Hosts] section was last in my TERATERM.INI.
 
Code:
;[Hosts]
;	Host name
;Host1=myhost.mydomain
;	IP address
;Host2=111.11.1.1
;	Host name with option
;Host3=myhost.mydomain /F=myhost.ini
;	COM1 port
;Host4=/C=1
;	Replay a file
;Host5=/R=readme.txt

[Hosts]
Host1=192.168.200.100
Host2=111.11.1.1
Host3=myhost.mydomain /F=myhost.ini
Host4=/C=1 ;serial port
Host5=/R=readme.txt ;replay a file 


 
 
* To change the default TCP/IP port number and to keep the Telnet box unchecked (as a default), change the following two lines under "TCP/IP parameters" (about a 1/3 of the way down in my TERATERM.INI).  I changed mine to TCPPort=10001 (which I copied from my srv.config line "network.srv.port=10001") and Telnet=off.
 
Code:
;	TCP/IP parameters
;	  TCP port#
;TCPPort=23
TCPPort=10001
;	  Telnet flag (on/off)
;Telnet=on
Telnet=off 

Back to top
 
 
  IP Logged
Pages: 1
Send Topic Print