FEE: can't write data to the same block continuous

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FEE: can't write data to the same block continuous

1,049件の閲覧回数
zp001
Contributor III

Hello NXP team,

I am trying write some value to the D-flash via FEE.

I found that if I wrote the different data into the same fee block continuously, and unsueccessful to read them, It's always 0.

here is my example project.

Thanks

タグ(1)
0 件の賞賛
返信
1 返信

1,015件の閲覧回数
cuongnguyenphu
NXP Employee
NXP Employee

Hi @zp001 ,

As per prototype of Std_ReturnType Fee_Write(uint16 BlockNumber, const uint8 *DataBufferPtr), the buffer data needs to be constant. So please add "const" keyword before data buffer in the definition:
const uint8 DataBlock0[4] = {0x00,0x01,0x02,0x03};
const uint8 DataBlock1[4] = {0xaa,0xbb,0xcc,0xdd};

0 件の賞賛
返信