K10 internal flash write fails with ACCERR

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

K10 internal flash write fails with ACCERR

Jump to solution
1,151 Views
renjithvamanan
Contributor III

Hi,

I am using MK10DX128 series.

I am using the Flash driver "Standard Software Driver for C90TFS/FTFx Flash"  provided by Freescale to write to internal flash.

The FlashProgramPhrase() API fails with ACCERR. FlashEraseSector () API called just before this worked.

Went through the data sheet and driver manual. I am having no clue on this.

Any help will be really helpful  :smileyhappy:

Thanks,

Renjith

0 Kudos
Reply
1 Solution
1,022 Views
renjithvamanan
Contributor III

Hi

I solved this issue :smileyhappy:

Program phrase command was not supported in my CPU.

When I used FlashProgramLongword() API, it worked like a charm :smileyhappy:

Thanks,

Renjith

View solution in original post

0 Kudos
Reply
1 Reply
1,023 Views
renjithvamanan
Contributor III

Hi

I solved this issue :smileyhappy:

Program phrase command was not supported in my CPU.

When I used FlashProgramLongword() API, it worked like a charm :smileyhappy:

Thanks,

Renjith

0 Kudos
Reply