Stock bootloader not working for 22F when application is using PLL clock

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

Stock bootloader not working for 22F when application is using PLL clock

Jump to solution
705 Views
cwati
Contributor III

Hi there,

 

We tried to use Kinetis/NXP stock bootloader 2.0, with stock CDC from the KSDK 1.3.0, on a Freedom 22F board (or mk22fn256vlh12 production board).  And we faced a blocker.

 

When we have to use the high frequency speed (PEE/PLL mode), the transition from bootloader to firmware always got stuck because it's waiting for the PEE bit to get set.
The bootloader code itself seems to work (especially when used with other clock mode like internal 48MHz clock), but it never works with higher speed firmware, ie if we want to fully use 120MHz on the firmware.

 

Is there a known issue with the PLL?  Or are we missing some step for the settings here? Any help is appreciated.

 

Thanks,
Cecylia

Labels (1)
0 Kudos
1 Solution
515 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Cecylia Wati:

Please give a check to the issue described by colleague Bryan Cole in the next document. You can skip most of comments, just go to the last replies by Bryan and Kevin to check if the workaround works for you:

Adapting KDS project for KBOOT flash resident bootloader

In case the problem remains please let me know.


Best Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
516 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Cecylia Wati:

Please give a check to the issue described by colleague Bryan Cole in the next document. You can skip most of comments, just go to the last replies by Bryan and Kevin to check if the workaround works for you:

Adapting KDS project for KBOOT flash resident bootloader

In case the problem remains please let me know.


Best Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

515 Views
cwati
Contributor III

Thank you Jorge! It fixes it =)

0 Kudos