1

My team is using the microblaze and we're having some trouble with the ip stack.
I am usually not an embedded programmer but I would like to learn how to help.
Are there any tutorials about IP stacks? What are they? How are they programmed? How can I troubleshoot problems in the IP stack?
Basically any info would help me.

Thanks in advance,
Omer.

Edit:
According to our electronic engineer this is the problem:
We are using lwIP on the Spartan-3A DSP S3D1800A circut while using BSB and it microblaze on it.
We're trying to use the Echo Server demo that has been given to us and it's supposed to open a port to telnet and echo any message recivied from there but it doesn't do that.
We have absolutly no idea what's wrong there.

the_drow
  • 18,571
  • 25
  • 126
  • 193
  • 1
    You don't say what sort of trouble you're having, so it's a little hard to give useful advice on troubleshooting. Are you seeing memory leaks, protocol violations, performance issues, system integration issues? – Craig McQueen Dec 01 '09 at 15:43
  • It's the 'I have no clue what is wrong' trouble. Nothing that you mentioned though, it just doesn't ping. – the_drow Dec 01 '09 at 23:09
  • Why not just put Linux: http://www.monstr.eu/wiki/doku.php on it? – Maciek Sawicki Dec 02 '09 at 05:05
  • @Maciek Sawicki: Is the Linux microblaze port stable? Can it be used in commercial products? – the_drow Dec 02 '09 at 09:25

3 Answers3

2

TCP/IP lean by Jeremy Bentham

http://www.iosoft.co.uk/tcplean.php

Tim Williscroft
  • 3,705
  • 24
  • 37
  • Is there any free e-book/tutorial on the internet? – the_drow Dec 01 '09 at 08:38
  • The RFC's are quite readable. Other books to consider: Comer & Stevens "Internetworking with TCP/IP" volume II , ANSI C version. This book is very complete, but is not stripped down at all for small devices. – Tim Williscroft Dec 01 '09 at 22:08
1

First, it's good to know which IP stack you're using. Are you using e.g. lwIP stack or uIP stack? They are popular stacks for embedded platforms. You could have a look at the documentation for those stacks, for an introduction to the main concepts. There are functional examples around for those stacks on a variety of platforms.

lwIP

Craig McQueen
  • 41,871
  • 30
  • 130
  • 181
  • I am using lwIP but I haven't found any useful documentation on any of their sites (there is an old version and a new one) – the_drow Dec 02 '09 at 09:26
  • Okay, I've added a link to an lwIP documentation wiki. It's a bit sparse perhaps. – Craig McQueen Dec 03 '09 at 08:30
  • The documentation wiki looks useless and we've already read the Xilinx manual, the first demo is actually what we're trying to run. The doxygen documentation might be useful. – the_drow Dec 03 '09 at 09:07
1

As far as troubleshooting goes, you can search for relevant keywords on Xilinx forum. Different IP stack implementations for Microblaze have been around for a few years, so chances are you'll find a lot of useful stuff there.

OutputLogic
  • 756
  • 4
  • 12