Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hello TI,
I have the following issue with the FEE driver: I have two virtual sectors. When I perform several write operations with different block number, everything seems OK as I am able to perform the plausibility checking on the memory browser together with the Fee_Read operation to check my internal buffer content.
But here comes now the crux:
When I write again on the same block number ID (WriteAsync) which has been written previously and checked accordingly (= data on different memory location with same blocknumber ID), it seems ok. When I perform a readback via TI_Fee_Read on the newly written block, the reading doesn't contain valid data samples although taking a look on the memory browser, the new data has been written correctly.
Current Setup:
2 Virtual Sectors(1-2 and 3-4)
Current Sequence:
(Take into account, that this pseudo code is not showing TI_Fee_MainFunction which is called on each call of the TI functions. This is just for demonstration)
TI_Fee_WriteAsync(1U,SetBuffer)
TI_Fee_Read(1U,0U,ReadBuffer,10U)
// checking here against written and read data is ok ((SetBuffer equal ReadBuffer))
TI_Fee_WriteAsync(1U,SetNewBuffer)
// data can bee seen on the memory browser to be updated on a new physical location (2nd virtual sector)
TI_Fee_Read(1U,0U,ReadNewBuffer,10U)
// comparion beween both buffer is NOT ok as both data completly mismatchs (SetNewBuffer unequal ReadNewBuffer)
Is there something to be considered (some missing settings or setups like first invalidating data)?