twr-k64f120m development board, transplant web_hvac example, but in the process of running, the system downtime, there mqx_unhandled_interrupt (0x0041) error, what is the possible reason? How to find the wrong? Thank you.
Hi L w:
Several reasons may lead to a hard fault, for example, calling a function pointer with an invalid address, stack overflow, trying to read or write to an on-chip peripheral that is powered down or not being clocked, accessing non-mapped memory etc.
I would suggest you debug this issue with MQX task aware debugging.
- Which tasks are running.
- Task states
- Check for identified errors
- Look for stack overflows
Regards
Daniel
Hello ,
Please share more information about your problem.
Is it a SDK demo ? Which one ?
Which IDE and version ?
Provide the error when build .
And others useful .
BR
Alice
Hi,
My development board is twr-k64f120m, the development tool for the Kinetis Design Studio 3 IDE, and the ported package is shown in Figure 1. At the beginning of the system after the start of the system can run, but I increased the processing task after the system crashes, there mqx_unhandled_interrupt (0x0041) error, but I shield the uart task after the error is still, that is, using the original main file does not work The What is the reason for this? Debug serial port without any information output. Some useful information that appears during debugging is shown in the figure.
I would like to be related to the interruption, but no way to start, anyone can provide some help? Thank you
Hi,
It seems this is a MQX question, so I help you porting it to the MQX thread https://community.nxp.com/community/mqx .
BR
Alice