-->
Page 1 of 1

close(sta_socket); on frertos

PostPosted: Fri Dec 19, 2014 6:30 am
by alonewolfx2
close(sta_socket); on freertos can't close socket and chip going to reset with fatal exception after sending data. Client can connect server on my pc can send data and can receive data but can't close. What am I missing? Any Help is welcome

Re: close(sta_socket); on frertos

PostPosted: Fri Dec 19, 2014 9:18 am
by Lars R.
For debug purposes, you could put some print functions into the freertos code to see what is going on.

Re: close(sta_socket); on frertos

PostPosted: Fri Dec 19, 2014 10:34 am
by alonewolfx2
Lars R. wrote:For debug purposes, you could put some print functions into the freertos code to see what is going on.

for example?

Re: close(sta_socket); on frertos

PostPosted: Fri Dec 19, 2014 11:26 am
by Lars R.
alonewolfx2 wrote:
Lars R. wrote:For debug purposes, you could put some print functions into the freertos code to see what is going on.

for example?


Doesn't matter. Just to see if you can point to a line in the freertos sources for socket handling that causes the reset.