Quantcast
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: Problem with sockets in EXP-MSP430FR5739.

Hi Mike, 

Just had exactly the same indications. I isolated and fixed the problem - the problem was in strcat, strcpy and other string functions. Turns out that if you don't keep track of how big the string becomes further operations overwrite the boundaries you have declared and shove string data into areas it shouldn't go. In my case I just did a memcpy of 0 into each string before I did anything to it.

Good luck,

Peter


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>