Flash write for KE

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

Flash write for KE

Jump to solution
537 Views
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

Labels (1)
Tags (1)
0 Kudos
1 Solution
399 Views
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

View solution in original post

0 Kudos
2 Replies
400 Views
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 Kudos
399 Views
pietrodicastri
Senior Contributor II

You are right.

Now it is fine,,,

Thank You

0 Kudos