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
Cannot connect to blackfin on 10001 (Read 2112 times)
charleybot
YaBB Newbies
*




Posts: 21
Cannot connect to blackfin on 10001
09/17/10 at 1:00am
 
Hello,  
Recently I purchased a SRV-1 Blackfin camera along with the SRV-1 base expansion module. I already had a new matchport b/g. I was able to setup the matchport and uploaded V6.5.0.GE (080331) firmware to it without any problems. Changed settings on the matchport per instructions found on this forum for the higher speed, the problem is that if I use SRV1Console I get the dreaded "wrote 'I' " messsage with no display. I can see one of the lights on the blackfin blinking, but pretty slowly.
I also used ttermpro to connect to xxx.xxx.xxx.xxx port 10001 which it seems to do, but if I send 'V' then press enter nothing happens, so I know it's a problem with communication from the matchport to the blackfin.
 
Something I just noticed in the online store, it states:
"Note that the SRV-1 Blackfin Camera, when shipped without a Matchport WiFi module, configures UART0 in firmware for 115kbps."
 
I tried setting the matchport to match this baudrate, but when I try to use srvconsole again I still get the "wrote 'I'" messages, but no display and no blinking light from the blackfin board.
 
Is there something I missed? I am wondering if I am supposed to downgrade the firmware on the matchport first, then upgrade the firmware on the blackfin, then upgrade the firmware on the matchport to the 6.5.0.GE??
 
I would appreciate any help on this..
 
 
Back to top
 
« Last Edit: 09/17/10 at 1:01am by charleybot »  
  IP Logged
charleybot
YaBB Newbies
*




Posts: 21
Re: Cannot connect to blackfin on 10001
Reply #1 - 09/17/10 at 8:10am
 
I should of mentioned that this is what I used to flash, I removed the matchport, jumpered 16 & 17 as well:
 
Note that if you are doing this recovery with a direct 3.3V UART connection at 115kbps, use these instructions instead -  
 
1.  Download a special 115kbps version of SRV-1 firmware from here -  
   http://www.surveyor.com/blackfin/srv1.ldr.recovery  
 
2. Download and run http://www.dolomitics.com/downloads/ldrviewer.html  
Load the recovery file  
 
3. Remove jumper on 7/8, then power up Blackfin  
 
4. Run UART Boot, uncheck 'Evaluate CTS'  
click 'Test Port'  
short pins 1/2  
Click Autobaud  
click Send DXE  
wait until you see 'done' and you see the yellow LED's cycle  
 
5. Put jumper back onto 7/8, close ldrViewer  
 
6. Open up a terminal program with baud rate set to 115200, type V to see the version string displayed, then type X, wait for CCCC, then do XModem transfer of correct ldr file.  
Wait until done, then type zZ to save firmware to boot flash sectors  
 
7. Reset or power cycle Blackfin  
 
I guess I am lost when I get to step 6 where I want to send the correct ldr, how do I know which ldr it is?  
 
I have downloaded the most recent build :SRV-1 firmware build for Blackfin - 27 June 2010  , extracted it and there are a few *.ldr files there as well as srv1.bin.  
 
I have tried srv1.ldr, srv1.ldr.115k, srv1.ldr.921k, and srv1.ldr.2500k
 
I'd REALLY appreciate ANY help
Back to top
 
 
  IP Logged
tjump
Global Moderator
*****




Posts: 412
Re: Cannot connect to blackfin on 10001
Reply #2 - 09/18/10 at 11:12am
 
Hi Charleybot,
 
Let's start at the beginning.
 
First, when you are flashing the SRV are you trying to do this via serial port or the Matchport? Do you have the option to flash the SRV via serial or JTAG?
 
Let me know and we will start from there.
 
Cheers,
T. Jump
Back to top
 
 
  IP Logged
charleybot
YaBB Newbies
*




Posts: 21
Re: Cannot connect to blackfin on 10001
Reply #3 - 09/18/10 at 12:52pm
 
Hello...
 
I am flashing the SRV VIA serial port with a usb-rs232 converter (3.3vdc UART). I found that after flashing it with the  srv1.ldr.recovery in LdrViewer, replacing the jumper on 7/8, then without resetting, using terraterm doing a 'V' yields the responce we are looking for. Pressed 'X', started to see mutiple 'CCC', at that point transferred srv1.ldr.recovery using Xmodem, when it was done, got a good responce from the SRV, then pressed 'zZ', it wrote it without any problems. Power cycled the SRV and reconnected to it with terraterm, pressing 'V' responded fine just like before.
 
I am going to jump the gun here for a second.. Once I get everything reconnected(matchport and the SRV) and powered up I can connect to the matchport on port 9999 to change settings, I changed the baud rate on port1 to 115200. when I tried to connect to the SRV via port 10001 I get no responce at all. SRVConsole I get the same result (wrote I).
 
I am starting to that the the matchport b/g module cannot transmit, so I did another test with 2 pc's, with the SRV removed leaving just the expansion board and the matchport, I setup a serial connection, opened up a serial terminal, set the baud to 115200 and connected to the matchport.
 
On another pc I used terratermpro to telnet to the matchport on port 10001, and I am able to send any character and the other pc will receive them, no errors or garbage.
 
here's the kicker... on the pc that is connected to the matchport via serial, I cannot send any characters, the usb converter I have has 2 leds, blue and red, when it transmits the blue led lights up, and it would blink everytime I typed a character. but the other pc would not get anything, so maybe the matchport has a port issue?
 
Thank you for your help....
 
 
Quote from tjump on 09/18/10 at 11:12am:
Hi Charleybot,

Let's start at the beginning.

First, when you are flashing the SRV are you trying to do this via serial port or the Matchport? Do you have the option to flash the SRV via serial or JTAG?

Let me know and we will start from there.

Cheers,
T. Jump

Back to top
 
 
  IP Logged
charleybot
YaBB Newbies
*




Posts: 21
Re: Cannot connect to blackfin on 10001
Reply #4 - 09/18/10 at 8:28pm
 
Just wanted to post an update...
 
I think I have pretty much confirmed that the matchport is defective, it can receive, just can't transmit.
 
I was able to upgrade the SRV to the latest firmware via usb-serial adapter, wrote the flash (zZ)
 
after hooking everything back up I was able to telnet to the SRV at port 10001
I sent the command $!, and wouldn't you know it, the yellow light went out and then the SRV did it's normal light show and then one of the 2 yellow lights went out.
 
I still cannot see any video via SRV1Console, just get the "wrote I" message
if I telnet to the SRV at port 10001 and type 'V', nothing happens
 
is there anything else I can check, is it possible there is a problem with the SRV camera??
 
I've been at this for days now, I guess on the good side of things, at least I can send commands to the SRV.....
 
 
 
 
Back to top
 
 
  IP Logged
tjump
Global Moderator
*****




Posts: 412
Re: Cannot connect to blackfin on 10001
Reply #5 - 09/19/10 at 4:37am
 
Hi Charleybot,
 
Do you get the set-up menu below when you go to edit Matchport settings?  
 
Change Setup:  
0 Server  
1 Channel 1  
2 Channel 2  
3 E-mail  
4 WLAN  
5 Expert  
6 Security  
7 Defaults  
8 Exit without save  
9 Save and exit  
 
If no, then you need to reflash the Matchport firmware with the version, and as described here.
 
http://www.surveyor.com/cgi-bin/yabb2/YaBB.pl?num=1202655400
 
(You may want to do this anyway just as a redundant check.)
 
 
If yes, start by choosing 7 then 9 to reset the Matchport to defaults.  
 
Next go into 0 and set your network (IP address, Gateway, Subnet Mask);  
Next go into 4 and set your WLAN settings (SSID and infrastructure);  
Choose 9.  
 
Set up this way the Matchport should communicate fine with the SRV, but let me know your results.
 
Also, are you flashing the Matchport via serial as described here (http://www.surveyor.com/cgi-bin/yabb2/YaBB.pl?num=1200515001) or some other way?
 
T. Jump  
Back to top
 
 
  IP Logged
charleybot
YaBB Newbies
*




Posts: 21
Re: Cannot connect to blackfin on 10001
Reply #6 - 09/19/10 at 7:06am
 
good morning!!
I upgraded the firmware on the matchport via the lantronix device installer utility when I first got it..
 
I am able to get to the setup menu for the matchport without any problem, and I actually did re-flash it again just to make sure, as well as resetting defaults and then inputting the proper settings for the SRV.
 
Come to think of it, I have never been able to flash the matchport via usb-serial(3.3vdc), was never able to get it to go.
 
Something else I tried just this morning was to flash the matchport back to the stock firmware(non-srv). Without the SRV attached and just using the matchport I connected a gps unit that I know is working(it's a 3vdc device which made it easy to interface). Set the matchport up for the baud rate and what not, and connected to the matchport via TerraTerm, I tried the GPS on both ports 1 and 2, and got the same result, nothing. The gps unit is always outputting text so I know that it's sending, it's just that the matchport is not sending out anything which really sucks, and I am finding it hard to believe that the matchport can't send but only receive, I am very careful with these devices and I think it's the first time I had a bad one. It's too bad there wasn't a fuse or something on the matchport that could be replaced(I bought it over a year ago)....
 
Thanks again for your help...
 
Quote from tjump on 09/19/10 at 4:37am:
Hi Charleybot,

Do you get the set-up menu below when you go to edit Matchport settings?

Change Setup:
0 Server
1 Channel 1
2 Channel 2
3 E-mail
4 WLAN
5 Expert
6 Security
7 Defaults
8 Exit without save
9 Save and exit

If no, then you need to reflash the Matchport firmware with the version, and as described here.

http://www.surveyor.com/cgi-bin/yabb2/YaBB.pl?num=1202655400

(You may want to do this anyway just as a redundant check.)


If yes, start by choosing 7 then 9 to reset the Matchport to defaults.

Next go into 0 and set your network (IP address, Gateway, Subnet Mask);
Next go into 4 and set your WLAN settings (SSID and infrastructure);
Choose 9.

Set up this way the Matchport should communicate fine with the SRV, but let me know your results.

Also, are you flashing the Matchport via serial as described here (http://www.surveyor.com/cgi-bin/yabb2/YaBB.pl?num=1200515001) or some other way?

T. Jump

Back to top
 
 
  IP Logged
charleybot
YaBB Newbies
*




Posts: 21
Re: Cannot connect to blackfin on 10001
Reply #7 - 09/23/10 at 11:48am
 
Just wanted to post an update on the problem I was having.
 
The matchport b/g module I had purchased was defective, just received a new one today and now the SRV1 is working great!! Now to remember what I was doing before all of this...
 
Back to top
 
 
  IP Logged
Pages: 1
Send Topic Print