Thanks for reply, but it is another case
N.Karakotas wrote: > > Hi, > > > Is your vTaskDelete(0) inside the ppp_input_thread(void *arg) ? > If you see previous threads we discussed about this. > > > -------------------------------------------------- > From: "Alex2051" <[email protected]> > Sent: Thursday, June 07, 2012 8:52 AM > To: <[email protected]> > Subject: [lwip-users] Hard Fault on PPP thread delete > >> >> Hello ALL >> >> I use STM32 micro. LWIP 1.3.2, FreeRTOS 7. Micro connects to internet by >> GPRS modem using PPP. >> It works ok until conection fails and ppp closing. >> I use net_conn API. >> >> static void sys_thread_wrapper(void * arg) >> { >> .... >> sys_thread_timeouts_mark_empty(); >> >> vTaskDelete(0);// after this operator program goes to hard fault >> exeption >> } >> >> I use two separate processes to manage modem and for TCP. And for getting >> iformation is PPP alive or not by using API function pppIOCtl(0, >> PPPCTLG_UPSTATUS, &result); >> >> >> But if I setup low ptimisation for best dubug support I have no fail! It >> means that some memory regions used by another process in good >> optimisation >> are freed by PPP, but must not be freed.. I cant find what I do wrong. >> -- >> View this message in context: >> http://old.nabble.com/Hard-Fault-on-PPP-thread-delete-tp33973941p33973941.html >> Sent from the lwip-users mailing list archive at Nabble.com. >> >> >> _______________________________________________ >> lwip-users mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/lwip-users >> > > _______________________________________________ > lwip-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users > > -- View this message in context: http://old.nabble.com/Hard-Fault-on-PPP-thread-delete-tp33973941p33974086.html Sent from the lwip-users mailing list archive at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
