KSDSK v1.3 flash driver while clock change

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

KSDSK v1.3 flash driver while clock change

Jump to solution
553 Views
renka
Contributor II

Hi,

I'am currently working with K26f processor with KDS3.2 and KSDSK v1.3. Core clock is 180Mhz,Flash Clock is 25.71 Mhz as Processor Expert recommends...  I know that it's a high speed clock mode and any flash activities are prohibited in this mode. In oder to solve it ,i have use by CLOCK_SYS_SetConfiguration()  with core clock 120Mhz,Flash clock is 24Mhz, before starting my flash driver (like Flash erase,flash program) activities.But  any way,i receive Flash ERROR_ACCEER error. It seems like flash driver didn't know about core/flash clock changing....

Please help me.

Labels (1)
0 Kudos
1 Solution
486 Views
mjbcswitzerland
Specialist V

Hi

Make sure that the processor in in RUN mode and not HSRUN mode. In HSRUN mode it will not work, even if the clocks are slow.

Study also the requirement for changing modes and clocks since there are some rules to be observed.

Regards

Mark

View solution in original post

2 Replies
487 Views
mjbcswitzerland
Specialist V

Hi

Make sure that the processor in in RUN mode and not HSRUN mode. In HSRUN mode it will not work, even if the clocks are slow.

Study also the requirement for changing modes and clocks since there are some rules to be observed.

Regards

Mark

486 Views
renka
Contributor II

Thank you.

0 Kudos