I have purchased 2 nos of FRDM-K64F development kit from freescale. I am trying out example demo code given on keil website for FRDM-K64F development kit.
www2.keil.com/.../
Initial steps i.e simple blinky and RTOS thread are working fine. But when I move ahead with adding support for magnetometer and accelometer, programs compiles successfully. When I start debugging the same, programs stuck into hardware_init function. If I comments, hardware_init function and run the code, code stuck into osDelay function. I have observed "System and thread viewer", threads are not running.
I have tried with both the boards assuming problems with hardware, but no success.
I have followed each and every steps mentioned in demo example.
Please provide the solution for the same.
Thanks in advance.
- Maheshwar
Commenting out the required code will not help!
Try to follow the steps mentioned on the link very carefully (as it involves integration of various middleware components) and debug the issue.