Help with HardFault LPC1769

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

Help with HardFault LPC1769

641 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lucasmf004 on Wed Nov 11 20:15:22 MST 2015
Hi,

I'm doing a basic program that shows a number in two 7 segments display. The problem is when I use the "vTaskDelayUntil()" of FreeRTOS because I get a HarFault and I can't resolve it. I've tried many things but I didn't have success. Do you know what it could be? Here yo have a print screen.

0 项奖励
回复
1 回复

630 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 8473 on Thu Nov 12 04:51:57 MST 2015
Hello,

are you sure the first argument passed to vTaskDelayUntil is of type "TickType_t *"?
I suspect you're passing a wrong pointer (xDisplayCambio's value instead of its address) - giving you a HardFault on access.

(Just guessing, the screenshot doesn't include the declaration..)

0 项奖励
回复