AnsweredAssumed Answered

How to write data flash in K40?

Question asked by donden on Jul 16, 2013
Latest reply on Jul 30, 2015 by dmitriyc

How do I write data flash when FTFL_FCCOBn only provides 24-bits of address, and data flash is at 0x1000_0000?

 

I have a bare metal bootloader that needs to access three sectors of data flash, which start at 0x1000_0000.

The K40 reference manual  says that the FTFL_CCOBn registers are used to write to program and data flash.

These registers work fine for program flash, but since FTFL_CCOB0 has 8-bits for the command and only 24-bits

for address, it cannot access data flash properly.

 

What is the correct method to write to data flash on a bare metal embedded system?

 

Don dT

Outcomes