Do not get it to work flashx example MQX4.2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Do not get it to work flashx example MQX4.2

689 Views
feraro
Contributor IV

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:

pastedImage_1.png

Can anyone help?

0 Kudos
2 Replies

505 Views
soledad
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

505 Views
feraro
Contributor IV

Thank you very much for your help.

Regards

0 Kudos