Other Parts Discussed in Thread: HALCOGEN
Hello,I have a problem with TMS570LS0432 FEE ,when I debug the Example_TI_Fee_Write_Read.c project file.
您好,我在调试TMS570LS0432芯片的FEE例程时,遇到一个问题,问题描述如下:
it run to while(1) normally,but all data in read_data arry keep not change . please give me some help.
程序正常执行到了while(1);语句。但是read_data读取的数组里面数据仍然全是零,没有发生任何变化,不知道是什么原因,请TI专家指导。
the development software used :HALCoGen 04.07.00,IAR_WBS 8.11.1
使用的软件开发环境:HALCoGen 04.07.00,IAR_WBS 8.11.1
I fellow all steps below:
操作过程完全按照例程步骤:
This is an example which descibes the steps to use TI-Fee Driver for simple Write Sync, Write Async, Read, Invalidate and Full Format of EEPROM bank.
Step 1:
Create a new project.
Navigate: -> File -> New -> Project -> TMS570xx / RMx
Step 2:
Configure driver code generation:
- Enable TI-FEE driver
- Disable others
Navigate: -> TMS570xx / RMx -> Driver Enable
Step 3:
Navigate: -> TMS570xx / RMx -> TI-FEE
Configure FEE settings ( Leave Default for below Example)
Step 4:
Navigate: -> File -> Generate Code
Step 5:
Copy source code below into your application.
Step 6:
Add F021 Library files to CCS Project
- Add/Link F021_API_CortexR4_BE.lib from folder C:/ti/Hercules/F021 Flash API/2.01.01 to CCS Project
- Add Path C:/ti/Hercules/F021 Flash API/2.01.01/include to Include Path in CCS Project
The example file example_TI_Fee_Write_Read.c can also be found in the examples folder: ../HALCoGen/examples
- Note
- HALCoGen generates an enpty main function in sys_main.c, please make sure that you link in the right main function or copy the source into the user code sections of this file.