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/TMS320F28055: TMS320F28055 FLASH PROGRAMMING PROBLEMS

Part Number: TMS320F28055
Other Parts Discussed in Thread: MOTORWARE, C2000WARE

Tool/software: Code Composer Studio

Hi all,

We are developing a motor control system with 3 TMS320F28054Ms as controllers of 3 axes and a TMS320F28055 as control manager. Software tool is Code Composer Studio(Version: 6.1.2.00015) and control program based on motorware_1_01_00_17. All chips work at 60 MHz  frequency. The communication between 3 TMS320F28054Ms and a TMS320F28055 uses SICs. All things are great right now. 

We want to save some parameters into TMS320F28055's FLASH. So we tested flash programming with \TI\controlSUITE3.4.4\libs\utilities\flash_api\2805x\V100\example_ccsv5 project. The testing is all right.

But after I ported flash programming example into my TMS320F28055 control manager, I had troubles.

 PIE Vector SARAM Locations used by the Boot ROM set as:

0x0D02     Flash_CPUScaleFactor         0xFF04  0x00BF(Decimal 12,582,660)

0x0D04     Flash_CallbackPtr                 NULL

After I run ' Flash_Erase((SECTORB),&FlashStatus) ' instruction by step over command my program stopped at 0x3FF67B (into Bootloader zone).

Who can help me to solve the problem. Thanks in advance.