QL Ethernet expansion card project

Nagging hardware related question? Post here!
User avatar
ppe
Brittle Membrane
Posts: 108
Joined: Tue Dec 14, 2010 10:48 am
Location: Espoo, Finland

QL Ethernet expansion card project

Postby ppe » Wed Feb 15, 2012 10:42 pm

Hi everyone,

thought I would post this here as well in case someone is not on the QL users email list.

I just managed to finish a second prototype of an ethernet expansion card for the QL with an onboard TCP/IP chip. There's a picture here: http://www.flickr.com/photos/petrip/6883064083/

The TCP/IP module is the WizNet W5300 and I'm using the prototyping breakout board called WIZ830MJ. It can handle eight simultaneous socket connections and has 128kbytes of socket buffer memory. More details can be found here: http://www.wiznet.co.kr/sub_modules/en/product/Product_Detail.asp?cate1=5&cate2=7&cate3=25&pid=1012

Now that I have a working prototype available I can start putting together the software side of things. There's a rather rudimentary socket driver available for the WizNet chip and I was planning to use it to create a very simplistic HTTP client that could be used to e.g. download files to the QL. If that goes well then next steps would probably be a more comprehensive networking library that ideally should be compatible with the existing socket library. And then maybe a Twitter client ;)

At some point I would also like to design a proper PCB based version so that if someone wants one they can easily build it...

Cheers,
Petri


User avatar
vanpeebles
Commissario Pebbli
Posts: 2548
Joined: Sat Nov 20, 2010 7:13 pm
Location: North East UK

Re: QL Ethernet expansion card project

Postby vanpeebles » Thu Feb 16, 2012 9:29 am

Looks impressive! Superb work :)


thorsinclair
Trump Card
Posts: 185
Joined: Mon Jan 10, 2011 5:08 pm

Re: QL Ethernet expansion card project

Postby thorsinclair » Thu Feb 16, 2012 10:10 am

Compliments, this is fantastic ! Best of success for your project and please keep us informed. There is a lot of movement in the QL hardware development - great! We have SD cards and USB hardware, various QL clones under development ... I'm happy to see that so many talented people is around here!

;)


RWAP
RWAP Master
Posts: 2746
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: QL Ethernet expansion card project

Postby RWAP » Thu Feb 16, 2012 11:53 am

That is really good news indeed - let's hope the software is not TOO much of a problem.

The main problem with a twitter client is that it will soon need to use HTTPS protocol and authentication, which is a real pain!


User avatar
ppe
Brittle Membrane
Posts: 108
Joined: Tue Dec 14, 2010 10:48 am
Location: Espoo, Finland

Re: QL Ethernet expansion card project

Postby ppe » Tue Feb 21, 2012 9:37 pm

Hi everyone and thanks for the encouraging words.

Just a quick update: just created and ran a standalone DNS client successfully through the card which means that UDP works bidirectionally. Happy days :) Next small test is a bare-bones NTP client to sync QL clock with an external time server.


RWAP
RWAP Master
Posts: 2746
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: QL Ethernet expansion card project

Postby RWAP » Wed Feb 22, 2012 12:21 am

Great news - keep up the good work...


User avatar
ppe
Brittle Membrane
Posts: 108
Joined: Tue Dec 14, 2010 10:48 am
Location: Espoo, Finland

Re: QL Ethernet expansion card project

Postby ppe » Wed Feb 22, 2012 10:54 pm

Another update: just implemented an NTP client and was actually able to set the QL time (correctly) over network, yay. Baby steps.... No time zone support or any kind of configuration support yet, though. It's all prototyping.

Now that I'm quite happy that UDP works and have something useful implemented over it I'm going to tackle TCP next. I'm thinking of some kind of HTTP client so I can e.g. fetch files from my PC.

Cheers,
Petri


IanJ
200th!
Posts: 34
Joined: Fri Jan 17, 2014 8:07 pm
Location: Stonehaven, Scotland

Re: QL Ethernet expansion card project

Postby IanJ » Fri Jan 17, 2014 9:22 pm

ppe wrote:Another update: just implemented an NTP client and was actually able to set the QL time (correctly) over network, yay. Baby steps.... No time zone support or any kind of configuration support yet, though. It's all prototyping.

Now that I'm quite happy that UDP works and have something useful implemented over it I'm going to tackle TCP next. I'm thinking of some kind of HTTP client so I can e.g. fetch files from my PC.

Cheers,
Petri


Petri,

I am quite interested in building up your ethernet card.......would you be interested in sharing the design and code. I've been looking for a way to build a QL based web server just for fun.

Ian
www.ianjohnston.com


User avatar
vanpeebles
Commissario Pebbli
Posts: 2548
Joined: Sat Nov 20, 2010 7:13 pm
Location: North East UK

Re: QL Ethernet expansion card project

Postby vanpeebles » Fri Jan 17, 2014 9:24 pm

Welcome Ian, you are our 200th user!!!


User avatar
Dave
SandySuperQDave
Posts: 2547
Joined: Sat Jan 22, 2011 6:52 am
Location: Austin, TX
Contact:

Re: QL Ethernet expansion card project

Postby Dave » Sat Jan 18, 2014 5:20 am

Welcome Ian.

ppe's ethernet card is the Wiznet 5300 IC and a simple decoder. He hasn't made any real progress on a driver. There is possibly hardware coming on the UltraQBoard that may incorporate this chip.

Without drivers, nothing will happen.

If anyone is interested in writing drivers for the WizNet WS5300 (or the 5500 SPI version) Nasta and me should be of some assistance.



Who is online

Users browsing this forum: No registered users and 10 guests