I started a thread here:MQX BSP code stuck on "Wait until external reference clock is selected as MCG output" on a Tower K7... ...about my code (well, Freescale MQX BSP code) getting stuck in a while loop waiting (it looks like) for hardware / clocks to become ready. I figured it was the BSP so it was particular to the K70 board/processor. But I see that others have talked about getting stuck in code here. So, just in case, I'm cross posting in case anyone here in MQX land can point me in the right direction. I really would like to get this problem solved quickly.
-thanks
Solved! Go to Solution.
Hello Rick,
If you are using a Freescale board and you double checked the jumper configurations like Luis Casado mentioned, then maybe something in the BSP was modified and this is the issue.
Could you please try the following test?
If this doesn’t work, please try uninstalling and installing again MQX, this is in order to have a clean BSP.
Build all the libraries and try again with a new MQX project.
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Rick,
If you are using a Freescale board and you double checked the jumper configurations like Luis Casado mentioned, then maybe something in the BSP was modified and this is the issue.
Could you please try the following test?
If this doesn’t work, please try uninstalling and installing again MQX, this is in order to have a clean BSP.
Build all the libraries and try again with a new MQX project.
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Follow up. I do not have control over the modifications (if any) to the MQX libraries for this project. What I did was to set all the software aside and pulled in fresh software from Freescale and compiled the HelloWorld example. That worked. It printed out "Hello World". And I was able to break on the once offending line.
I then grabbed a newer copy of the common software for this project which includes the MQX code. That worked as well. So, I figure I was unlucky and grabbed the common code when someone was in the middle of messing with it the first go around.