KSDSK v1.3 flash driver while clock change

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

KSDSK v1.3 flash driver while clock change

跳至解决方案
646 次查看
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.

标签 (1)
0 项奖励
回复
1 解答
579 次查看
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

在原帖中查看解决方案

2 回复数
580 次查看
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

579 次查看
renka
Contributor II

Thank you.

0 项奖励
回复