Hello all.
I´m using MQX 4.2 and CW 10.5. My board use MK60FX512VMD15. I created the BSP and PSP with BSPCloningWizard selecting the Board Base twrk60f120m for being the most similar to my board.
My oscillator is 8 MHz. I have changed the value of CPU_XTAL_CLK_HZ to 8000000U
I'm trying to run the flashx example but not get it to work. When execute the function fgets(buffer, BUFFER_SIZE, stdin), the program jump to:
Can anyone help?
Hi,
The BSP for the twrk60 is configured in order to use a 50 MHz XTAL if your board doesn’t have the same characteristics, then you need to modify the BSP.
Attached to this thread, you can find a document that shows how-to Change Default Clock Settings in Kinetis BSPs.
Please let me know if this helps!!
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you very much for your help.
Regards