lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] lwip, ucos-ii, hcs12, cs8900 driver.


From: Eric Shufro
Subject: [lwip-users] lwip, ucos-ii, hcs12, cs8900 driver.
Date: Mon, 3 May 2004 21:33:12 -0400

Leon, 

Actually, I started with your driver and kept some of the code, especially
the structure pretty much the same.

Since I was unable to memory map the cs8900 into the hcs12 memory (didn't
think of it when I built the board, newbie here), I use the packetpageread /
packetpagewrite, ioread / iowrite paradigm.

Honestly, I am a rookie programmer, so this isn't great code, and has a lot
of dependencies on the underlying OS and hardware chip, but once I get
things working right, my plan is to reduce this as much as possible and post
it.

So far here is what I have. Maybe it will help others get started?

Btw, I found the stack overflow problem and now have a more stable system.
Although, I need to determine how to get rid of the threads I use for the
timers and make it multi-threading safe. I think this involves a better
understanding of the sys_timeouts and creating threads through the sys_arch
as opposed to with ucos during my startup task.

Pings are still slow however,

Have a good one,

--Eric Shufro


Attachment: cs8900if.c
Description: Text document

Attachment: cs8900if.h
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]