Help with HardFault LPC1769

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help with HardFault LPC1769

600 Views
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 Kudos
Reply
1 Reply

589 Views
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 Kudos
Reply