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.

HALCoGen FEE example: I only get 8 values back from memory

Other Parts Discussed in Thread: HALCOGEN, TMS570LS1224

I have used the HALCoGen FEE example example_TI_Fee_Write_Read .

I have a question about reading from memory:

The example creates an array of 100 values and writes it to flash memory using TI's F021 Flash API.

Half way the example, it reads the values back into RAM.

I seem to only get 8 values back from the 100 values that were written into Flash.

I used the example from HalCoGen - > Help -> Examples -> example_TI_Fee_Write_Read
(followed the instructions in HALCoGen help, and took source from HALCoGen's help folder)

I've tried this on two Hercules controllers; the TMS570LS04x and RM46x.

This is the result I get in the 'read_data' variable:

8 values are read back as expected, but the previous lines of code wrote 100 values.

The source code can be viewed by starting HALCoGen, go to Help -> Help Topics

Navigate to: Examples -> example_TI_Fee_Write_Read.c

One of my  fellow e2e mebers, Martin Valencia, detected the issue, and I can replicate it on two controllers.

Very likely, we understand the fee driver and Flash API wrong. It would be great if you could point us to the right direction.