Other Parts Discussed in Thread: SYSCONFIG
Hi,
I'm using DMTIMER0, but when it starts I (usually) get a hard fault. When I don't have startTimer checked in sysconofig and call TimerP_start(gTimerBaseAddr[CONFIG_TIMER0]); it will usually either explicitly hard fault at that point of execution, or it will run the timer but the task that started the timer will be blocked indefinitely.
When I check startTimer in Sysconfig and remove the TimerP_start calls, the core will 50/50 either:
- hard fault after I continue execution at the main() breakpoint and it won't show a CIO console
- it will run without a problem with the global counter in the callback function incrementing as expected.
I've tried to change the interrupt priority, but it makes no difference to the reliability of starting successfully.
This seems to be replicated across any core I try to configure with any DM timer, also. Any help is greatly appreciated.
R50_1 is missing due to the hard fault at boot:
Here's the Sysconfig. There's not much to get wrong.