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.

为什么关掉优化后,生成的out文件无法下载?

Other Parts Discussed in Thread: MOTORWARE

boostxldrv8301_revB的lab01,把优化换掉后,生成的out文件无法下载?

complier的设置为:

-v28 -ml -mt -Ooff --opt_for_speed=0 --include_path="C:/ti/motorware/motorware_1_01_00_13/sw/modules/hal/boards/boostxldrv8301_revB/f28x/f2802x/src/" --include_path="c:/ti/ccsv6/tools/compiler/c2000_6.2.9/include" --include_path="C:/ti/motorware/motorware_1_01_00_13/sw/solutions/instaspin_foc/boards/boostxldrv8301_revB/f28x/f2802xF/src" --include_path="C:/ti/motorware/motorware_1_01_00_13" -g --define=FLASH --diag_warning=225 --display_error_number --asm_listing

显示的错误信息为:

C28xx: Flash Programmer: Error encountered when writing to flash memory

C28xx: GEL: File: C:\ti\motorware\motorware_1_01_00_13\sw\solutions\instaspin_foc\boards\boostxldrv8301_revB\f28x\f2802xF\projects\ccs5\proj_lab01\Flash\proj_lab01.out: Load failed.