6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 08, 2024 10:44 pm

All times are UTC




Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject:
PostPosted: Fri Jan 06, 2012 9:38 pm 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
How hard would it be to connect to EhBasic via ssh/putty(using the mentioned module)?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jan 06, 2012 9:42 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10975
Location: England
ssh is hard! Even telnet involves a bit of startup negotiation. But putty can connect using 'Raw' (as can netcat) so that would be dead simple - just like a uart.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jan 08, 2012 8:32 pm 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
What do you suggest, should i give it a try with this module?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jan 08, 2012 9:59 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10975
Location: England
if you're OK with the possibility that it can't be done, yes! Say it's 80%-90% likely that it should work.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 09, 2012 5:07 am 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
I've found a cheaper module, but i can't find what is the difference between the two(the previous one and this): (datasheet)http://www.megaupload.com/?d=U1LCW40H
Only RS232 version?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 09, 2012 9:15 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10975
Location: England
The thing is, the 8-page documentation makes it very much a puzzle. You might have something wonderful, or might have a brick. This one, unlike the other one, mentions a web mode and mentions PPPoE. If it works, that might make it more sophisticated. It hints that it can also be used in a simple way - but it isn't at all clear. You must be prepared to lose the money, and to lose a weekend on it. Could be great, could be a dud.

Could you post a link to the sales site?

Cheers
Ed


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 09, 2012 1:43 pm 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
It is on ebay, but there is not much more info available, i might ask the seller to get some more info if possible.
http://www.ebay.com/itm/1pcs-new-RS232-serial-TTL-ethernet-tcp-ip-converter-module-WL-/220909000097?pt=LH_DefaultDomain_0&hash=item336f33d5a1


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 09, 2012 2:34 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10975
Location: England
Ok, same picture seen here
http://www.aliexpress.com/product-fm/50 ... alers.html
altho the price is higher.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 10, 2012 3:18 am 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
I ordered the module from ebay, now i just have to wait for it for a month. When it comes, i plan to connect it with a usb to ttl serial module i bought previously. By doing that i could test the module and find out what it can do using only my pc. When i figure it out then i can connect it with my sbc, and start writing code... Is there any good program with which i can send data packets, and other kind of stuff so that i can test the module?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 10, 2012 6:11 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10975
Location: England
I think these modules come with test programs (for Windows)

Then there's putty in raw mode (Windows), and netcat (any platform)

You might want to use tcpdump or tethereal (linux) or Network Monitor (Windows) to see what packets are on the wire.

Should be interesting.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 25, 2012 10:51 am 
Offline
User avatar

Joined: Tue Sep 11, 2007 8:48 am
Posts: 27
Location: Pruszków/Poland
This may be slightly off-topic, but....
FPGACircuit ("domain name expired on Jan 11 2012" hahahaha) used to sell Spartacus FPGA board + Ethernet daughterboard. The demo design was 6502 (yes !) and uIP (or LWIP) serving a simple web page.

_________________
Practice safe HEX !


Top
 Profile  
Reply with quote  
 Post subject: Re: 6502 sbc with web
PostPosted: Thu May 03, 2012 1:26 am 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
I finally got the module. I managed to get it working in udp mode, but i am having trouble with tpc, putty keeps crashing when i set to raw, and the program that i got with it won't connect to it via tpc either. What could i be doing wrong?

Edit: I got Java talking to the module in udp mode.


Top
 Profile  
Reply with quote  
 Post subject: Re: 6502 sbc with web
PostPosted: Thu May 03, 2012 5:45 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10975
Location: England
Which one did you get - could you point at, or attach, the documentation?

Putty really shouldn't crash, under any circumstance. You should have a look at this process.

If you take a packet capture using one of the tools I mentioned earlier, I can cast an eye over it.


Top
 Profile  
Reply with quote  
 Post subject: Re: 6502 sbc with web
PostPosted: Thu May 03, 2012 1:36 pm 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
Here is the manual.
How is a tpc connection established in general?


Attachments:
RS232 to TCPIP.rar [4.35 MiB]
Downloaded 81 times
Top
 Profile  
Reply with quote  
 Post subject: Re: 6502 sbc with web
PostPosted: Thu May 03, 2012 7:47 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10975
Location: England
Have a look at this doc or similar ones. See attached picture of a packet capture of the start of a successful connection. I used microsoft's network monitor but I've also used wireshark in the past.

Thanks for the PDF doc - so the part you have is ETH2232X from hiersun-wintech, it does DHCP and PPPoE. (I see pdf attachment is not allowed)


Attachments:
ssh-capture.png
ssh-capture.png [ 80.59 KiB | Viewed 745 times ]
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: