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.

CCS/TMS570LS0714: TI FEE Driver Problem Reading/Writing Large Data to Multiple Blocks

Part Number: TMS570LS0714
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hi all:
I'm using TMS570 0714 CPU for my project and I'm having a problem reading & writing large amounts of data to the EEPROM using the TI FEE Driver.

I'm trying to wirte the date as long as 8400 byte to FEE blocks,but I don't know how to configure the virtual secto. My configuration done in Halcogen as follows, I don't know if this configuration is appropriate, can

you guys help me ?  too thanks for you.

  • Hello,
    You have to decide what will be the block size. Minimal size is 8 bytes and maximum size is limited to the size of the virtual sector. Number of virtual sectors has to be minimum 2.
    To set Individual Virtual Sector - coulbe one or more contiguous Flash Sectors.
    You can refer to "TI FEE User Guide.pdf" under ..\Halcogen\[version]\Docs folder.

    Best regards,
    Miro
  • Hello Miro,

    I adjust the configration of the virtual sectors as flows, the orthers are remain unchanged, and the date can write/read success, but after 100~250 times power down and power on test,the TMS570 may start-up uncorrectly, once this happens, no matter how to reset, it can not work properly,we can only use the emulator to rewrite the program, and TMS570 can run normally again. Idon't know why, can you help me?

    Best regards,

    Yuanyuan

  • Hi,

    Can you describe the problem "the TMS570 may start-up uncorrectly" in more detail?

  • Thank you Vishwanath for prompt response.
    OK, the situation like this, when TMS570 fails to start, it seems that the cpu does't passed the function "void _c_int00(void)" which was generated by HALCoGen, I suppose it's also possible that an error occurred when cpu memory self-test . It is certain that my Initialization program was not implemented, because the indicator lamp of the output port on development board will be changes if the Initialization program was implemented, so I'm sure the Initialization program was not implemented.
  • YuanYuan,

    The CPU may stuck at the infinite loop in startup.c. When any group 3 ESM error occurs at startup:
    if ((esmREG->SR1[2]) != 0U){
    }

    Please check the register of ESM Status Register 3 (ESMSR3) and the ESM ERROR Pin Status Register (ESMEPSR). The bit 0 of ESM ERROR Pin Status Register should be 1 if no error has occured.