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 2 3 4 5 6 
Send Topic Print
restoring SRV-1 Blackfin flash firmware (Read 61957 times)
Robolab
YaBB Newbies
*




Posts: 17
Re: restoring SRV-1 Blackfin flash firmware
Reply #45 - 03/03/10 at 1:08am
 
Im sorry, i wasent using the toolchain, i used the ldr-utils.
I have no idea how to "install" the toolchain.
Your hompage says install it from /, i used untar from / via "sudo tar -xjf /drectories/filename", but then cant use the mentioned programs (bfin-*).
 
another problem is that i dont have lsz, but sz or sx (i installed lrzsz via synaptic).
 
while using ldr (from ldr-utils) i still get a send autobaud error for invalid arguments.  
Quote:

robiwan@schleppi:~/Desktop/Blackfin/Firmware/blackfin/srv$ ldr -l -v srv1.ldr.recovery  169.254.0.10:10001
Loading LDR srv1.ldr.recovery ... auto detected LDR as 'BF537'
OK!
Connecting to remote target '169.254.0.10' on port '10001' ... OK!
Trying to send autobaud ... fdatasync failed: Invalid argument
OK!
Trying to read autobaud ... OK!
Checking autobaud ... OK!
Autobaud result: 50bps 0.18mhz (header:0xBF DLL:0x17 DLH:0x00 fin:0x00)
Sending blocks of DXE 1 ... [10:7360 bytes] [1/fdatasync failed: Invalid argument
4] (25%)fdatasync failed: Invalid argument
[10:9364 bytes] [2/fdatasync failed: Invalid argument
[10:32768 bytes] [3/fdatasync failed: Invalid argument
4] (75%)fdatasync failed: Invalid argument
[10:3180 bytes] [4/fdatasync failed: Invalid argument
4] (100%)fdatasync failed: Invalid argument
[board said: #f##Version - TVM SRV-1 Blackfin - 08:06:54 - May  8 2008
]
OK!
You may want to run minicom or kermit now
Quick tip: run 'ldr <ldr> <tty> && minicom'

 
Also i have to momentarily place the jumper to pins 1-2 before initiating the transfer, otherwise i get a timeout while reading autobaud.
 
the rest of the instructions are working without errors (while using sx instead of lsz). But after storing the firmware with zZ i tried verifieng the version, but it responds with the build date "May 8 2008" for firmware "srv-blackfin-020910"
 
So it seems its still not working at all.
Back to top
 
 
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: restoring SRV-1 Blackfin flash firmware
Reply #46 - 03/03/10 at 8:20am
 
You're almost there.  I don't know about the error messages, but the upload appears to have worked.  The version you saved was srv1.ldr.recovery, which is dated May 8, 2008.
 
Now you can complete the final steps, using 'sx' instead of 'lsz' (they are the same program) to upload and save the new srv1.ldr
Back to top
 
« Last Edit: 03/03/10 at 8:21am by admin »  

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




Posts: 17
Re: restoring SRV-1 Blackfin flash firmware
Reply #47 - 03/04/10 at 6:41am
 
Now i tried to use 'ldr for windows' and it seemed to work. i get the following message
Quote:

F:\Firmware Blackfin\srv-blackfin-020910\blackfin\srv>ldr -l -v srv1.ldr.recovery 169.254.0.10:10001
Loading LDR srv1.ldr.recovery ... auto detected LDR as 'BF537'
OK!
Connecting to remote target '169.254.0.10' on port '10001' ... OK!
Trying to send autobaud ... OK!
Trying to read autobaud ... OK!
Checking autobaud ... OK!
Autobaud result: 0bps 0.0mhz (header:0xBF DLL:0x17 DLH:0x00 fin:0x00)
Sending blocks of DXE 1 ... [10:7360 bytes] [10:9364 bytes] [10:32768 bytes] [3/[10:3180 bytes] [4/4] (100%)[board said: #f##Version - TVM SRV-1 Blackfin - 08:0
6:54 - May  8 2008
]
OK!
You may want to run minicom or kermit now
Quick tip: run 'ldr <ldr> <tty> && minicom'

 
Now i tried to transfer the srv1.ldr file via tera term with the config
Server: 169.254.0.10
Port: 10001
protocol: UNSPEC
unchecked Telnet
 
tera term connects, but i can't type 'V' or 'X'. with windows hyperterminal it works and i get '##Version - TVM SRV-1 Blackfin - 08:06:54 - May 8 2008' as version string. if i type 'X' in hyperterminal and close it rapidly and open the connection with tera term, i get the 'CCC'-string, but i can't send the srv1.ldr file. are there any special settings in tera term i have to do?
Back to top
 
 
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: restoring SRV-1 Blackfin flash firmware
Reply #48 - 03/04/10 at 9:24am
 
You can send the 'X' from TeraTerm.  The file transfer setup is  
     File .. Transfer .. XMODEM .. Send  ... select file
 
and select your file, or from the keyboard, use these shortcuts:
     ALT-F .. T .. X .. S
Back to top
 
 

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




Posts: 4
Re: restoring SRV-1 Blackfin flash firmware
Reply #49 - 03/04/10 at 11:06am
 
Hi, I'm trying to restore firmware. Everything seem to work, I'm even able to control robot in step 7 with Java console. But after step 10 and reseting I can't get connection with Java console or TeraTerm.
 
My matchport settings after step 10:
Baudrate (9600) ?
I/F Mode (4C) ?
Flow (02) ?
Port No (10001) ?
ConnectMode (C0) ?
Send '+++' in Modem Mode  (Y) ?
Show IP addr after 'RING'  (Y) ?
Auto increment source port  (N) ?
Remote IP Address : (000) .(000) .(000) .(000)
Remote Port  (0) ?
DisConnMode (00) ?
FlushMode   (80) ?
Pack Cntrl  (C0) ?
DisConnTime (00:00) ?:
SendChar 1  (00) ?
SendChar 2  (00) ?
Back to top
 
 
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: restoring SRV-1 Blackfin flash firmware
Reply #50 - 03/04/10 at 11:30am
 
Set your baud rate to -1 with clock divisor of 2.  That should fix things.  Full settings are:
 
  Expert (5) -  
     for CPU performance, enter FF
     for clk?, enter 81
     change MTU Size from 1400 to 1024
     skip the rest of the options
  Channel 1 Serial (1) -  
     for Baudrate, enter -1
     for divisor, enter 2
     for flow control, enter 2
     further down, for FlushMode, enter 80
     for Pack Cntrl, enter C0
     for InterCh Time, enter 3
     skip the rest of the options
  Save and exit (9)
 
Back to top
 
 

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




Posts: 4
Re: restoring SRV-1 Blackfin flash firmware
Reply #51 - 03/04/10 at 11:58am
 
I have probably bad version of Matchport (Software version V6.5.0.6 (070703))
It doesn't allow me to enter "-1" to Baudrate or "FF" to CPU performance :/
Back to top
 
 
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: restoring SRV-1 Blackfin flash firmware
Reply #52 - 03/04/10 at 12:17pm
 
You need Matchport firmware version 6500GE.  Here are the update instructions -  
    http://www.surveyor.com/cgi-bin/yabb2/YaBB.pl?num=1202655400
Back to top
 
 

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




Posts: 4
Re: restoring SRV-1 Blackfin flash firmware
Reply #53 - 03/04/10 at 12:45pm
 
Thanks, that was it. Wink
Back to top
 
 
  IP Logged
Robolab
YaBB Newbies
*




Posts: 17
Re: restoring SRV-1 Blackfin flash firmware
Reply #54 - 03/08/10 at 1:18am
 
Quote:
tera term connects, but i can't type 'V' or 'X'. with windows hyperterminal it works and i get '##Version - TVM SRV-1 Blackfin - 08:06:54 - May 8 2008' as version string. if i type 'X' in hyperterminal and close it rapidly and open the connection with tera term, i get the 'CCC'-string, but i can't send the srv1.ldr file. are there any special settings in tera term i have to do?

 
 
Wich version of tera term worked for you?
Back to top
 
 
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: restoring SRV-1 Blackfin flash firmware
Reply #55 - 03/08/10 at 9:59am
 
The version shouldn't matter, but you need to make certain you have the "telnet" mode disabled.  In one version, there is a "telnet" checkbox, and in the other version, I think you select "other" instead of SSL.
Back to top
 
 

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




Posts: 5
Re: restoring SRV-1 Blackfin flash firmware
Reply #56 - 03/15/10 at 2:27pm
 
Hello everyone,
 
first apologize for my English, I try to explain my problems with the firmware update SRV1.
 
Through all the steps perfectly, in fact, after running the zZ command on a firmware upgrade, sometimes the firmware works perfectly (the least) and sometimes (most common), the robot after restart it does not answer to any command.
 
I have a week with this little problem and no longer to try more options.
 
Greetings
Back to top
 
 
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: restoring SRV-1 Blackfin flash firmware
Reply #57 - 03/15/10 at 2:44pm
 
The only reason why it might work sometimes and not others is due to complete or incomplete transfer of srv1.ldr image to the Blackfin.  Perhaps you could post a screen capture corresponding to a successful upload session vs an unsuccessful upload session.
Back to top
 
 

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




Posts: 5
Re: restoring SRV-1 Blackfin flash firmware
Reply #58 - 03/16/10 at 2:12am
 
Hello again,
 
I was doing some tests and some screenshots on the first link is the catch of a firmware load failed.
 
http://triplete.27400.com/srv1/fail1.png
 
The following is a snapshot in which it functions correctly
 
http://triplete.27400.com/srv1/ok1.png
 
What surprises me is that if, when loading the srv1.ldr instead of that, use the srv1.ldr.115k always work and if they just send the srv1.ldr goes sometimes.
 
Here's the capture of what I commented
 
http://triplete.27400.com/srv1/115K.png
 
My question would be, how can i do to recompile with "make clean" and "make" file is generated srv1.ldr115k
 
Thanks a lot
Back to top
 
 
  IP Logged
josepino
YaBB Newbies
*




Posts: 5
Re: restoring SRV-1 Blackfin flash firmware
Reply #59 - 03/16/10 at 2:33am
 
Fixed,
 
I am a bit silly, I remembered matchport change settings to stop working to 115200. I made the settings in the security and matchport of channel 1 and it works perfectly.
 
Thank you very much for the help!
Back to top
 
 
  IP Logged
Pages: 1 2 3 4 5 6 
Send Topic Print