I'm working on a web service with RL-ARM libraries. I want to send some parameters with AJAX as .cgx file and at the same time I want to create a socket and then send a lot of data to the destination.
The problem that is when my microcontroller wants to do these two tasks at the same time; it crashes. I discovered with debug that the process stops at this function: main_TcpNet();.
I also realized the process doesn't stop in these functions:
U16 cgi_func (U8 *env, U8 *buf, U16 buflen, U32 *pcgi){}
and
void cgi_process_data (U8 code, U8 *dat, U16 len) {}
I'm beyond confused because of I don't know what should I do to fix it .
The microcontroller is: LPC1768
The network IC is: DP83848VV