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: Regarding FEE_BLOCK_CONFIGURATION IN FEE_EEPROM

Part Number: TMS570LS3137

Hello .,

Iam working on the project which uses TMS570LS3137 Development kit., I want to use the eeprom in the flash i.e., bank7(64KB) to write and read data

i make 2 virtual sectors (virtual sector 0 and virtual sector  1 each of 32KB memory capacity),I want to make 2 blocks in each virtual sector with maximum storage and I need to store two variable data in each block.,Iam unable to configure blocks and sectors and having the following blanks ?

1.FAPI_SECTOR_TYPE should be 0 to 1 for the virtual sector 0  and FAPI_SECTOR_TYPE 2 to 3 for the virtual sector 1?why?

2. What is meant by dataset in the block configurations?

3.Can i use two blocks simultaneously to  acess data to eeprom?

4.I need to change dataset values to use block for two variables?

5. The starting 32 bytes of memory i.e., 0xf0200000 is the virtual memory and next following 24 bytes is for data header? is it true?

6. explain the image given below i.e.,Data Block organization in the fee_driver_pdf ? iam unable to understand want is meant by data packets and header?

7. Is I need to call  TI_Fee_MainFunction();delay(); after every write or read call?

please reply and thanks in advance.,

surya prakash gupta

  • Hi Surya,

    Can you please refer FEE User Guide? Your most of the questions will get answered by this user guide.

    3386.TI FEE User Guide.pdf

    Let me know if you have any further doubts after referring above user guide.

    --

    Thanks & regards,
    Jagadish.

  • dear sir.,

    I gone through the guide given by you. but I got some questions 

    1. Iam not using autosar context so my data_set_bits is 0

    2.No of data set for each block will be 1.

    3. I need to store two variables in eeprom.,

    4.can I use two blocks for two variablees of maximum size of virtual sector 0 excluding header sizes.,

  • Hi Surya,

    1. Iam not using autosar context so my data_set_bits is 0
    2.No of data set for each block will be 1.

    Yes, you can do that if you are not using in autosar context.

    4.can I use two blocks for two variablees of maximum size of virtual sector 0 excluding header sizes.,

    You can create two blocks if you want to access two variables independently. But no need to assign each two blocks to the virtual sector size.

    You can declare them with variable size only.

    Actually, it works as below,

    Whenever you are writing a new data to the variables using blocks, initially it starts write in virtual sector-0. Whenever you modify the data it again writes the new data in same virtual sector-0 till it gets completely filled and marks this new data as valid and old data as invalid so whenever you try to read the data block it will give latest valid data only. Once virtual sector-0 completely filled then the new data is written to the virtual sector-1 and the virtual sector-0 will be marked for erase. and again, the flow will continue in virtual sector-1.

    --

    Thanks & regards,
    Jagadish.