Global Variables changes value? Memory corruption?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Global Variables changes value? Memory corruption?

706件の閲覧回数
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 返信

598件の閲覧回数
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 件の賞賛
返信