Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 10 months ago.
mbed frizing EthernetInterface HTTP file server
I write small HTTP file server that exploring SD card and send web pages to client, using EthernetInterface library. Code work, but sometimes mbed frizing. Always frizing occurs when mbed sent information to HTTP client. Exactly when call function tcpip_apimsg(struct api_msg *apimsg) in file "tcpip.c", after execute row sys_arch_sem_wait(&apimsg->msg.conn->op_completed, 0); Maybe problem is in libs EthernetInterface or RTOS. If somebody can help her will be good. And another question is how to put this code in Thread work together with another Thread manage serial port?