Topic

FAQ
Login Register
I have a question while using "flash_write_page". User area is being used.(TLSR825x)
Dec 21, 2022 05:51

/

A

/A



I have a question while using "flash_write_page". User area is being used.


I understand that I need to erase before writing to Flash.


For example,


if i use from 0x7d000,
Assume that A's data is 10 bytes, and B's data is 7 bytes
A is assigned from 0x7d000 to 0x7d00F
B is assigned from 0x7d010 to 0x7d01F, and each of them is assigned 15byte.
Question :


- Condition : I wrote the data in area A. Read it and checked that it was written normally.
- Situation: Writes data to area B. Read but not written normally.


Q. After one write per sector (4kb), do I have to erase even if it is a different address to write to that sector again?


- If I write A and B at once, it was confirmed that it was used normally.

However,

after writing in area A as above, If i write to area B, the data is not written to area B.


1 replies
TL_Soyo Dec 21, 2022 10:32
0
/A

Hi,

  you dont need erase again if the address is diffrent,does User area Flash sector is normally?