Flash write for KE

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

Flash write for KE

跳至解决方案
1,186 次查看
pietrodicastri
Senior Contributor II

Good morning

I use the KE processor on the TWR-KE18F board, and I try to write in the flash. I used fluently the C90TFS driver for the K64, without any issues. Now I cannot erase, I get the error 0x20, Access violation.

I used the same settings as in the K64, it seems they are compatible in terms of the fields in the FLASH_SSD_CONFIG structure, the difference is the ability of the FLEXNVM which I am not interested on.

But no way to have it working. I tested also the example and nothing. 

I need a suggestion. 

Thank You

Pietro

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,048 次查看
mjbcswitzerland
Specialist V

Hi Pietro

Are you using the KE18F in HSRUN mode because Flash operations can't be performed in this mode:

pastedImage_1.png


Regards

Mark


uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)
Kinetis: http://www.utasker.com/kinetis.html

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,049 次查看
mjbcswitzerland
Specialist V

Hi Pietro

Are you using the KE18F in HSRUN mode because Flash operations can't be performed in this mode:

pastedImage_1.png


Regards

Mark


uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)
Kinetis: http://www.utasker.com/kinetis.html

0 项奖励
回复
1,048 次查看
pietrodicastri
Senior Contributor II

You are right.

Now it is fine,,,

Thank You

0 项奖励
回复