FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2014 Threads] Using lwIP for UDP, TCPPosted by zealhero on October 6, 2014 I'm using FreeRTOS 8.1.2 and lwip 1.4.1 for CortexR5. I've used UDP, TCP communication well with lwip on my system without FreeRTOS. I'm trying to use UDP, TCP on FreeRTOS now. I made few files for connecting lwip with FreeRTOS like 'sysarch.c'. I reffered ARM7 example project in FreeRTOS demo. So it can work on the task used 'systhreadnew()'. But 'netconnsend()' for data sending by udp in the thread is not working.
It works in ISR using interrupt when there is no OS. I tried it same way and other ways in this system that use FreeRTOS. But It can't send a message, though I got a normal return value from 'netconn_send().
I don't know how it works on FreeRTOS. I've not understood communicatino procedure fully in FreeRTOS with lwip. Please give me a tip.
Best Regards,
Wonjae
Using lwIP for UDP, TCPPosted by rtel on October 6, 2014 An old reference FreeRTOS/lwIP integration can be found on the following link. Note the CLI code used by the project is not the same as the code eventually released as FreeRTOS+CLI: http://interactive.freertos.org/entries/20290712-FreeRTOS-Win32-project-with-lwIP-web-server
Regards.
Using lwIP for UDP, TCPPosted by zealhero on October 7, 2014 Is it make a sense to use ISR seperated from OS? I think that the rx or tx interrupt handler is needed for ethernet communication. but they are not related FreeRTOS.. Other things as semaphore or queues are connected to lwIP already. so I confused.. The ISRs are used in FreeRTOS project same with the project what doesn't have OS now.
Regards.
Using lwIP for UDP, TCPPosted by zealhero on October 14, 2014 Hello
I'm still in the stuck.. I've understood what I asked. But there are some new questions.
There are 2 threads in my system as tcpipthread(basic) and Socket UDP what it sends a simple message. I can check that they works well using the 'FreeRTOS+Trace'. But sending message is not working, but it is another problem(related TI chip) so skip this part.
My question is that it goes to resetEntry(c_int00) when some message(e.g. ping) comes to my system. It goes to dataEntry if I resume it when it occured.
I don't know how can I find the cause because it is appeared when I give some message to it. I was guessed that it is related to ISR, so I made a breakpoint at there and follow the codes. But it did go well.
Please give me some tips for debugging this problem.
Best Regards,
Wonjae.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|