Hello,
I am trying a few things out with the trial version on a LPC4357.
I have downloaded embOS_CortexM_GCC_emIDE_Trial_V416.zip
The example for NXP LPC4357 is working fine, and I am extending it now to test some stuff of my own.
I enlarged the stack for HPTask and used it as starting point for my own code.
My own code will create a thread, this already gave some problems, I disabled LPTask and the thread would go oserror 0x80 but after re-enable LPTask again it worked.
In LPTask and HPTask I can do both OS_Delay without any problem, but in the thread I created myself inside HPTask if I execute OS_Delay it gives a hardfault.
I temporarily fixed this by using OS_Delayus which works without any problems.
Then the second issue I came across is that OS_EVENT_WaitTimed will end up in the hardfault handler with following stacktrace:
I guess this maybe has to do something with the same problem as OS_Delay.
Am I forgetting something, or using something in the wrong way?
Cheers,
Gerard
I am trying a few things out with the trial version on a LPC4357.
I have downloaded embOS_CortexM_GCC_emIDE_Trial_V416.zip
The example for NXP LPC4357 is working fine, and I am extending it now to test some stuff of my own.
I enlarged the stack for HPTask and used it as starting point for my own code.
My own code will create a thread, this already gave some problems, I disabled LPTask and the thread would go oserror 0x80 but after re-enable LPTask again it worked.
In LPTask and HPTask I can do both OS_Delay without any problem, but in the thread I created myself inside HPTask if I execute OS_Delay it gives a hardfault.
I temporarily fixed this by using OS_Delayus which works without any problems.
Then the second issue I came across is that OS_EVENT_WaitTimed will end up in the hardfault handler with following stacktrace:
I guess this maybe has to do something with the same problem as OS_Delay.
Am I forgetting something, or using something in the wrong way?
Cheers,
Gerard