lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] 答复: Does anyone has the a pplication sample on freesca


From: Johan Englund
Subject: Re: [lwip-users] 答复: Does anyone has the a pplication sample on freescale MPC5604E?
Date: Fri, 06 Dec 2013 11:00:54 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1

Hello Cheng,

a little bit depending on what requirements you have, running lwIP without OS can be very simple!

In my current project we are running lwIP without OS and without interrupts. Everything related to ethernet and lwIP is done by polling in the main loop which makes things very clean and easy. This may of course not be a suitable solution for your project.

The most time consuming thing for me has been to code the driver (which I sent you) and MMU protection of the lwIP code since we are using it in a safety project.

If you want to use interrupts for the maintenance of the send and receive buffers you will have to add a little code to the driver and also add correct priority elevation code to sys_arch.c for your CPU.

You probably have a lot of fun coding and testing ahead of you, rejoice!

Johan


On 2013-12-06 01:37, fangcheng_gmail wrote:

Dear Johan,

 

thank you very much.

 

Do you have any idea, what do I have to pay attention to if I integrate LwIP into my project w/o OS (only with interrupts)?

I’m totally freshman in the area of embedded system with TCP/IP.

 

By the way, debugging always brings fun when a problem is fixed, but before that … … J

 

Best regards,

 

Cheng FANG

 

发件人: address@hidden [mailto:address@hidden] 代表 Johan Englund
发送时间: 2013125 18:26
收件人: address@hidden
主题: Re: [lwip-users] 答复: Does anyone has the application sample on freescale MPC5604E?

 

Hello Cheng,

attached is the main part of the hardware driver. It is a little bit dependent on the PCB design so changes will be needed. It is not a complete plug and play solution but I'm sure it will save you a couple of hours of coding/debugging (sorry to spoil all the fun for you)!

Best regards,
Johan


On 2013-12-04 01:57, fangcheng_gmail wrote:

Hello Johan,

 

yes, I think it is almost the same.

 

On the website, I have already downloaded the driver for mcf5223 (mcf5223xif.c, mcf5223xif.h).

 

Anyway, it is still need some modification to integrate the LwIP without OS.

 

So if possible, send me the code.

 

Thank you very much.

 

Best regards,

 

Cheng FANG

 

发件人: address@hidden [mailto:address@hidden] 代表 Johan Englund
发送时间: 2013123 15:16
收件人: address@hidden
主题: Re: [lwip-users] Does anyone has the application sample on freescale MPC5604E?

 

Hello,

I have working code for the MPC5675K if you are interested, I think the FEC is almost identical in these two chips.

Johan

On 2013-12-02 03:51, fangcheng_gmail wrote:

Hi,

 

now I have to integrate the LwIP into my project on the Freescale MPC5604E without operation system.

Does anyone has such experience?

 

Regards,

 

Cheng FANG

ECTEK Automotive Electronics Co., Ltd





_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

 




_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

 



_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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