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 
Send Topic Print
4 hours later, I screwed up (Read 16710 times)
Fledermaus
YaBB Newbies
*




Posts: 42
4 hours later, I screwed up
06/30/08 at 3:55pm
 
Well, today I received my srv-1 blackfin, so it is only a day old and yes, I'm a noob. And while trying to reconfigure it, the battery went flat, I presume. I know it was not so cleaver but since my european adapter didn't arrive yet, I could not resist the temptation to try it out. And now I cannot connect or see the thingie anymore.
 
The blackfin still boots up and can be found in the wireless network list of windows. But there is no way I can browse to it. Led 2 and 3 remain lit up when I power it on.
 
Is there a standard way to restore the default firmware, like by using jumpers or so?  
Back to top
 
 
Fledermaus   IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: 4 hours later, I screwed up
Reply #1 - 06/30/08 at 4:07pm
 
No - it sounds like you will have to reload the firmware.  Here is the procedure -  
    http://www.surveyor.com/cgi-bin/yabb2/YaBB.pl?num=1205225367
Back to top
 
 

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




Posts: 42
Re: 4 hours later, I screwed up
Reply #2 - 06/30/08 at 11:58pm
 
ok, thanks for the quick response. Here we go, my first restore !
Back to top
 
 
Fledermaus   IP Logged
Fledermaus
YaBB Newbies
*




Posts: 42
Re: 4 hours later, I screwed up
Reply #3 - 07/01/08 at 12:20am
 
Mmm, when at step 1, I install the windows software, go in the command console and start the loader. Then it only gives a list of the commands and also the supported LDR targets. I guess I need to connect to the robot another way first, like with the little usb-board or so?
 
I'm unable to connect to the srv1 network at the moment, although it is still broadcasting. I guess the firmware is set to infrastructure or so (I'm not getting an IP from the robot).
 
Sorry for the trouble !!!
Back to top
 
 
Fledermaus   IP Logged
Fledermaus
YaBB Newbies
*




Posts: 42
Re: 4 hours later, I screwed up
Reply #4 - 07/01/08 at 12:54am
 
Ok, this is weird: all of the sudden I was able to contact the thingie again on 169.254.0.10 and right away I restored the default factory settings. When I checked the WAN settings, neither Ad hoc nor Infrastructure were selected?!
 
Back to top
 
 
Fledermaus   IP Logged
Fledermaus
YaBB Newbies
*




Posts: 42
Re: 4 hours later, I screwed up
Reply #5 - 07/01/08 at 2:14am
 
UPDATE: I see the network again but I'm think that the dhcp of the robot ain't working no more.
 
Why do I think that?
 
Well:  
 
Robot:  
IP: 169.254.0.10
SM: 0.0.0.0
DG: 0.0.0.0
 
PC:
IP:169.254.192.38 (varies)
SM:255.255.0.0
DG: empty
 
While I have access to the robot using 169.254.0.10 in my browser, is there anything usefull I can do to restore everything so it works again?
Back to top
 
 
Fledermaus   IP Logged
Fledermaus
YaBB Newbies
*




Posts: 42
Re: 4 hours later, I screwed up
Reply #6 - 07/01/08 at 5:17am
 
Well, I surely want to restore or renew the flashthing using http://www.surveyor.com/cgi-bin/yabb2/YaBB.pl?num=1205225367
 
But even before step one: what actions do I need to take, how do I connect to the mobile robot? Is there a starters guide or some help on how to prepare the whole deal before step zero?
Back to top
 
 
Fledermaus   IP Logged
NickK1066
Senior Member
****




Posts: 299
Re: 4 hours later, I screwed up
Reply #7 - 07/01/08 at 5:55am
 
First thing I did was move from adhoc to infrastructure and use my wireless router as the base station. I made the robot a static IP address on my home IP address. This means that any computer connected to the home network can connect to the robot rather than faffing with adhoc (although adhoc is better if you're moving around with both the robot and computer).
 
It seems odd that your PC is has a class B address (255.255.0.0) and the robot is a class A (0.0.0.0).
 
Usually people use a a subnet mask of 255.255.255.0 (class C). This means that you network is identified by three bytes and the computer is identified by the 4th on the IP address.
 
Traffic is probably being routed all over the place - hence your issues.
 
Personally I would setup the PC network to be a class C and also the robot. You shouldn't have problems then, for example:
 
This assumes your internal LAN is 196.254.0.0 and the robot is being connected in infrastructure mode and that you have full control over the LAN it's connected too.
 
Robot
SSID: MyWirelessLAN (or whatever your wireless LAN SSID is.
IP: 196.254.0.10 (static)
subnet mask: 255.255.255.0
gateway: 196.254.0.1 (or whatever the LAN side address of your gateway router is)
 
PC
IP: 196.254.0.x (set up DHCP on the gateway for 100-200 address range for dynamic IP)
subnet mask: 255.255.255.0
gateway: 196.254.0.1 (again - to match the LAN side address of the gateway)
 
Gateway
Internal LAN IP: 196.254.0.1
Internal LAN subnet mask: 255.255.255.0
Internal LAN DHCP address range: 100-255 (this stops the DHCP from attempting to allocate '10' which is the IP address of the rover at any point in time)
<your external WAN addresses should not need changing)
 
There may be differences with what you require to use but you see that the subnet masks match (same subnet) and the gateways are the same.
 
If you have anything else connected to the LAN then it should pick up the changes from DHCP but may need a poke to reapply for an IP address.
Back to top
 
« Last Edit: 07/01/08 at 6:03am by NickK1066 »  

  IP Logged
Fledermaus
YaBB Newbies
*




Posts: 42
Re: 4 hours later, I screwed up
Reply #8 - 07/01/08 at 6:03am
 
hey thank you fo your help:
 
So I will try to set the ip and subnetmask to the infrastructure here.
 
robot:
ip: 192.168.0.110
sm: 255.255.255.0
gateway: 192.168.0.1
 
pc1: 192.168.0.xxx (dhcp)
and the rest the same
 
The dhcp range is from 192.168.0.100 to 150 so that can't be a problem. Mac address control: I added the robot's macaddress.
 
About resetting the firmware on the robot: you don't happen to know where I can find jumper J1 on the robot? Should I completly disassembel it?
Back to top
 
 
Fledermaus   IP Logged
NickK1066
Senior Member
****




Posts: 299
Re: 4 hours later, I screwed up
Reply #9 - 07/01/08 at 6:05am
 
No - all you need todo is to reconfigure the IP addresses initially.
 
The IP address (which the Matchport provides) will allow access to the blackfin board.
 
Let's get your IP addresses set up first and work from there.
Back to top
 
 

  IP Logged
Fledermaus
YaBB Newbies
*




Posts: 42
Re: 4 hours later, I screwed up
Reply #10 - 07/01/08 at 6:23am
 
ok,ok, we are getting there my friend !
 
STEP 1:
ping 192.168.0.110:
Pinging 192.168.0.110 with 32 bytes of data:
Reply from 192.168.0.110: bytes=32 time=302ms TTL=64
Reply from 192.168.0.110: bytes=32 time=129ms TTL=64
Reply from 192.168.0.110: bytes=32 time=153ms TTL=64
Reply from 192.168.0.110: bytes=32 time=177ms TTL=64
 
Ping statistics for 192.168.0.110:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 129ms, Maximum = 302ms, Average = 190ms
 
STEP 2: check the router to see what macaddress is connected to the ip ...110:
that's ok, the right mac so the robot is connected.
 
STEP 3:
adjust srv.config and try to connect...
...
comport=Network
button.columns=6
wcs.server=localhost
wcs.port=8888
wcs.pass=srv
wcs.camID=1.jpeg
network.srv.host=192.168.0.110
network.srv.port=10001
 
I saved that file and tried to connect. It sends write 'I' or something the whole time but nothing happens, no images, no controls...
Back to top
 
 
Fledermaus   IP Logged
NickK1066
Senior Member
****




Posts: 299
Re: 4 hours later, I screwed up
Reply #11 - 07/01/08 at 6:29am
 
Ok, looking good. So we now have:
 
[pc] --{IP LAN}--> [router] --{wireless IP LAN}--> [MatchPort] --{serial}--> [BlackFin]
 
So the ping means we have got from the PC to the MatchPort. It's the MatchPort that is responding to the ping (it implements the IP stack on the srv-1).
 
This means the next point to check and set up is the MatchPort - the serial link and ensuring that the Blackfin is also setup to communicate with the MatchPort. This means getting the right serial communication speed.
 
What settings have you got on the MatchPort? Specifically which MatchPort firmware (ie 912Kbit or 2500Kbit ?).
 
If you telnet to 196.168.0.110 port 9999 then you should log onto the MatchPort itself. And look like:
Code:
MrFlibble:~ Nick$ telnet 196.168.0.10 9999
Trying 196.168.0.10...
Connected to 196.168.0.10.
Escape character is '^]'.

MAC address 00204AAE4106
Software version V6.5.0.0GE (080331) 

Press Enter for Setup Mode 
 


Back to top
 
« Last Edit: 07/01/08 at 6:35am by NickK1066 »  

  IP Logged
Fledermaus
YaBB Newbies
*




Posts: 42
Re: 4 hours later, I screwed up
Reply #12 - 07/01/08 at 6:34am
 
Wow ! Ok ! Say what ?
 
Assuming the matchport is the link between the robot and the camera, I will login to 192.168.0.110.
Then I see this:
 
Firmware Version: V6.5.0.0GE  
MAC Address: 00-20-4A-A7-02-31  
 
Is that what you wanted to know? Or where can I find that information?
 
Hey -> really thanks for the help, I was about to give up on this nice robot thingie Wink
Back to top
 
 
Fledermaus   IP Logged
NickK1066
Senior Member
****




Posts: 299
Re: 4 hours later, I screwed up
Reply #13 - 07/01/08 at 6:40am
 
Yup, the MatchPort is the wireless component - it looks after the wireless LAN to serial bits and bobs.
 
Ok, next it would be good if you could enter the setup mode and copy out the parameters for "Channel 1", "Expert" (we don't need the others and posting the wireless details would be a security risk).
Code:
*** Channel 1
Baudrate divisor 2, I/F Mode 4C, Flow 02
Port 10001
Connect Mode : C0
Send '+++' in Modem Mode enabled
Show IP addr after 'RING' enabled
Auto increment source port disabled
Remote IP Adr: --- none ---, Port 00000
Disconn Mode : 00
Flush   Mode : 80
Pack Cntrl   : C0
...
*** Expert
TCP Keepalive    : 45s
ARP cache timeout: 600s
CPU performance: Regular, clk 81
Monitor Mode @ bootup : enabled
HTTP Port Number : 80
SMTP Port Number : 25
MTU Size: 1024
Alternate MAC: disabled
Ethernet connection type: auto-negotiate
 


 
The settings I have above may differ - I'm running 2500Kbit. but lets see if we can get you working first.
Back to top
 
« Last Edit: 07/01/08 at 6:41am by NickK1066 »  

  IP Logged
Fledermaus
YaBB Newbies
*




Posts: 42
Re: 4 hours later, I screwed up
Reply #14 - 07/01/08 at 6:47am
 
ok I'm really sorry but you lost me here.
 
When I go to the 192.168.0.110 address, click on connection under channel one, I see a lot of things but they do not look the same as what you sent and I don't see expert mode.
 
Also, if you mean to go to 192.168.0.110:8888 I get an error saying "The webpage cannot be displayed".
 
I actually think the matchport is not working at all or something like that...
Back to top
 
 
Fledermaus   IP Logged
Pages: 1 2 3 
Send Topic Print