Hi,
I am using TMS470R1B1M. I need to write 1K bytes of data into the same block of the chip's internal F05 flash memory once every 4 seconds. Is there any code I can use?
Thanks,
Jian
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am using TMS470R1B1M. I need to write 1K bytes of data into the same block of the chip's internal F05 flash memory once every 4 seconds. Is there any code I can use?
Thanks,
Jian
Hi Jian,
The F05 flash API provided by TI includes the routines you need to use to erase and program the flash. The minimum amount of memory that you must erase is one sector. The R1B1M device has all 64KB sectors, so that you have to erase 64KB at least each time before you program the updated 1KB.
Regards,
Sunil
Hi Sunil,
Do you know how long it takes to erase the 64KB and then rewrite 1KB? We need to rewrite 1KB data every 5 seconds. The re-writing time has to be less than 300ms.
I downloaded F05a v36 flashAPI folder. Still do not know how to get started. Can you provide a small module to show how to write 1KB to TMS470R1B0M flash?
Thanks, Jian