Forum Discussion
Altera_Forum
Honored Contributor
16 years agoAltera TSE driver and example program for lwIP (1.3.2)
After many many requests and complaints about lack of support and/or documentation for support of lwIP for the Altera TSE, I have developed a drop-in TSE driver and example program and made this avai...
Altera_Forum
Honored Contributor
15 years agoHm, there's no such define on lwipopts.h in 1.40.
Could You please check whats defined here:#define MEMP_NUM_SYS_TIMEOUT 3If I leave this number 3, I get the fallowing error:
src/core/init.c:152:4: error:# error "MEMP_NUM_SYS_TIMEOUT is too low to accomodate all required timeouts"
make: *** Error 1
So I've increased it to 5. Maybe I should write to lwIP mailing list? Edit: commenting out those three lines of timers lets the code to compile. The system starts, sees that there is link (I've checked removing cable and it catches that there's no link), but arp doesn't respond. No arp - no ping response. If I create my own function called sys_now() which returns 32bit variable with a number, increased every main cycle - the results are the same.