2023-02-17 01:30 AM
Is there any way to erase 32bytes in flash?
Solved! Go to Solution.
2023-02-20 05:51 AM
2023-02-17 01:55 AM
What chip exactly?
2023-02-17 02:02 AM
Based on flash type and ECC support you can once write into one empty element . Size may differ and is based on bits ...
2023-02-19 09:44 PM
STM32WB55VGY6TR
2023-02-19 09:49 PM
Is there any way to erase 32bytes in flash?
2023-02-20 05:51 AM
no
2023-02-20 11:36 PM
ok thank you
2023-03-07 03:31 AM
Is there any way where we can write a bin file without affecting other memory locations?
2023-03-07 06:33 AM
Yes. Given that the space for the binary is already erased.
Is there any way to write 32 bytes in flash without affecting the other memory elements? Yes.
Is there any way to erase 32bytes in flash? No.
2023-03-07 06:42 AM
No you can not do it. You can erase sector. This is how every flash memory works.
With internal flash you can only write each 8 bytes once because there are error correcting code.
With external flash you may write many times the same place. Write basically turns ones to zeros, not otherwise (AND operation). This is very useful feature often.