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.

How to address specific data set stored in an emulated eeprom?

Hi,

Using HALCoGens FEE setting how can I address a specific data set in a block? The read-function does not accept any parameter which seems to be the data set number. Only the block number, an offset and the output parameters are accepted.

BTW: what is the offset used for?

Regards, Frank

  • Hi Frank,

    Sorry for the delayed reply.

    If TI_FEE_DATASELECT_BITS = 1, this means each block will have 2^1 data sets. This means 1 bit in block number would be used to identify the data set.

    In case of TI_FEE_DATASELECT_BITS = 0, block number = 1 will access block 1, block number = 2 will access block 2.

    In case of TI_FEE_DATASELECT_BITS = 1, block number = 1 will access block 1 data set 0, block number = 2 will access block 1 data set 1.

    Data set handling is done in FEE. Application only needs to know the block number.

    The offset in read API is used to read the block data from an offset. For example, if a block has 100 bytes, if offset is given as 25 and length as 25, then bytes 25 to 50 are read.

    Regards,

    Vishwanath Reddy.