Global Variables changes value? Memory corruption?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Global Variables changes value? Memory corruption?

779 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jaybee on Tue Jul 23 05:01:49 MST 2013
Hi, I am using freeRTOS v7.2, my program has a few global variables which has its value changed constantly.... I have found their memory locations are being used by the lwip functions.... How can I declare a memory location for these global variables so they do not get overwritten?
0 项奖励
回复
1 回复

671 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Tue Jul 23 05:55:11 MST 2013
Most likely cause is stack corruption/overflow caused by providing too small a stack for each task. How much stack space have you allocated (and where) for each of your tasks?
0 项奖励
回复