[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Kernel Implementation into a Blackfin Processor
From: |
Paul C |
Subject: |
Re: [lwip-users] Kernel Implementation into a Blackfin Processor |
Date: |
Thu, 06 Jan 2005 08:31:20 +1030 |
Hi
If you read through Adam's examples, he explains how
to write a single threaded application by using
defines and function stubs for the semaphores and
mailboxes. If you have to change the LWIP code then
there is a good chance that you are doing something
wrong.
If you are starting out then it is best to turn on
all the debugging output. First thing you want to
do is write your main application as an endless
loop which calls lwip. Then you need to debug
your ethernet/slip/ppp/loopback input/output code so
that lwip receives and responds to pings.
Once that is working you will need to use a timer
to call the tcp code every 100ms. Then LWIP is
pretty much done, go and write your application!
Paul
On Wed, 5 Jan 2005 18:22:57 -0200, "Fabio Yamada"
<address@hidden> said:
> Happy new year for everybody! : )
>
> I would like to implement the LwIP into a DSP from Blackfin
> family. I don't want to use the thread aproach, though. I read in
> Adam's home page (http://www.sics.se/~adam/lwip/os.html) that for a
> single threaded core I don't need to implement the semaphores and
> mailboxes.
>
> My question is: Can I just erase all the mailboxes and semaphores
> from the stack? Will it keep the consistence?
>
> My experiences with TCP/IP stack aren't so big, this is the first
> time I'm dealing with it and I'm a bit lost. :-) I have decided that
> high level software development is not so challengeful and I decided
> migrate to the embeded world (type of new years resolution...).
>
> I appreciate any help and documentation that might support me to
> acomplish this task.
>
> Thanks in advance and have a nice day.
>
> Yamada
> The crazy brazilian.
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users