lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Hard Fault on PPP thread delete


From: N.Karakotas
Subject: Re: [lwip-users] Hard Fault on PPP thread delete
Date: Thu, 7 Jun 2012 09:32:09 +0300

Hi,


Is your vTaskDelete(0) inside the ppp_input_thread(void *arg) ?
If you see previous threads we discussed about this.


--------------------------------------------------
From: "Alex2051" <address@hidden>
Sent: Thursday, June 07, 2012 8:52 AM
To: <address@hidden>
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]