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.

TMS570LS3137: Incremental write to data block with FEE driver

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

Hi,

is it possible to incrementally write data into a Data Block?

Example: Several data packets (e.g. 16 bytes) should be written one after the other (incremental) into the same Data Block (2048 bytes).

I could not find anything helpful about this topic in the datasheets, only the functions WriteSync and WriteAsync...

Best regards

  • Hello,
    TI_Fee_WriteSync and TI_Fee_WriteAsync writes a data block into FEE. When you update a block it doesn't necessarily erase the flash. It may make a 2nd copy of the block and then invalidate the old copy. It'll do this until it uses all the flash up within a virtual sector. When you fill a virtual sector, the FEE will copy only the latest (valid) blocks over to the new virtual sector, then it can erase the other one so it can be used again.
    Regarding your question, when you are "updating" data block FEE, driver will write it at a different physical address with the same block number - writing 16 bytes sequentially calling with TI_Fee_Write commands will write data block 16 times.

    More information about FEE driver and how it works can be found in TI FEE User Guide.pdf that is in Docs folder of HALCoGen install folder (For example: "c:\ti\Hercules\HALCoGen\v04.07.01\Docs\")

    Best regards,
    Miro