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.
Part Number: TMS570LS1227
I got problem with FEE data writing. I config FEE module wih two blocks, each are 512Bytes. Everthing is right with writing and reading except that writing to a block with all 0 after 512bytes 0xFF has been wrote in, and there is no error return from TI_Fee_GetStatus. While, if i change a byte to non zero, that means not all 0, or calling TI_Fee_EraseImmediateBlock before writing, The data was wrote in successful.
Thanks and Regards,
Your observation is correct. This is a known issue. There are 2 workaround to avoid this issue:
1. write a dummy data (non zero or non 0xFF)
2. disable the checksum in ti_fee_cfg.h
#define TI_FEE_FLASH_CHECKSUM_ENABLE STD_ON -->
#define TI_FEE_FLASH_CHECKSUM_ENABLE STD_OFF
If Checksum is enabled, during writing of a block, Checksum of the data to be written is calculated and checked against the Checksum of the same block which is already existing in Flash. If Checksum matches, data is not written. If Checksum is not enabled, then data is compared byte by byte. If data does not match, write will be initiated.
Thanks and Regards,QJ Wang
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to QJ Wang:
I got it.
Thank you very much.
Thanks and Regards,Jinus
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.