lwip

hi

i have a quick question:

do i have to use lwip_init() for raw_api mode as well or do i have to call all the mem_init() etc. seperatly?

when using the raw mode and calling all the init functions as in the xilinx example a call to sys_new_thread() wont start the new thread and it looks likte the function doesn't do anything. could somebody help me out here please?

thanks urban

Reply to
u_stadler
Loading thread data ...

Hi, There are 2 modes of operation for lwIP stack - RAW API, Sockets API. The initializations are different based on the mode chosen. Please take a look at the lwIP documentation that is part of the EDK release. Look for the lwIP chapter in the OS & Libraries guide.

Sathya

u snipped-for-privacy@yahoo.de wrote:

Reply to
Sathya

hi

thanks. i did take a look into those pdf's and i initialized the raw api mode according to the example in this pdf. but it didn't work. can't i use raw api mode with xilkernel and use the function "sys_thread_new()" ?

Reply to
u_stadler

hi

thanks for the answer. i did look at those pdfs and initialised the raw mode according to the manual. still the sys_thread_new function dosen't work. can't i use raw mode with the xilkernel?

Reply to
u_stadler

In short, the answer is no. RAW API mode does not require any kernel services. The sockets mode is implemented using kernel features and hence you need xilkernel when using Sockets mode.

Sathya

u snipped-for-privacy@yahoo.de wrote:

Reply to
Sathya

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.