Hello everybody,
I can't managed to get the TCP_M3.lib and an LPC1788 working together. I included the library within my uVision project, I compile it, load the application to the LPC. But when I start a ping command I get no response from the LPC.
It seems that the LPC never gets into the interrupt routine.
Has anyone got an example with these two components working together?
Here is my main:
#include "lpc177x_8x.h" #include <RTL.h> U64 tcp_stack[800/8]; __task void timer_task(void) { os_itv_set(10); while (1) { timer_tick(); os_itv_wait(); } } __task void tcp_task(void) { while(1) { NVIC_EnableIRQ(ENET_IRQn); main_TcpNet(); os_tsk_pass(); } } __task void init_task(void) { init_TcpNet(); os_tsk_prio_self(100); os_tsk_create(timer_task, 30); os_tsk_create_user(tcp_task, 0, &tcp_stack, sizeof(tcp_stack)); os_tsk_delete_self(); } int main(void) { os_sys_init(init_task); while(1); }