ホーム フォーラム Texas Instruments マイコン C2000 CCS9からCCS11にアップデートするとエラーが発生

このトピックには2件の返信が含まれ、2人の参加者がいます。2 年、 9 ヶ月前Ge Ge さんが最後の更新を行いました。

3件の投稿を表示中 - 1 - 3件目 (全3件中)
  • 投稿者
    投稿
  • #17893 返信

    guest

    CCS9からCCS11にアップデートするとエラーが発生

    CCS9からCCS11にアップデートしたところエラーが発生する。

    CPUは、28075を使用しています。

    お世話になります。

    電源用のプログラムを作成していますが、

    モジュールの一部でインラインアセンブラを使用しているスタイルです。

    原因がわかっていないのですが、float型のグローバル変数が、予想外の値が入っていることがあり、

    通常タスクから割り込み処理のそれぞれでFPU・TMUが使われデータが壊れているのか、ポーインターやイレギュラーなアドレス割り付けで、書き換えられているのか切り分けが付いていません。

    コンパイラーのエラッタ―など知る方法はありますか、

    そこで、コンパイラーのバージョンを上げてテストをここる見るためCCS9からCCS11に移行してコンパイルしたところ CALのオブジェクトが生成されずリンクができない用です。

    原因を取得できるオプションやできれば推定原因など教えていただけると助かります。

    宜しくお願いします。

    never referenced
    volatile int Com_bwrite(unsigned char sub_add, unsigned short addr, char length ,unsigned char *d,struct TAG_232C_CTL *comData, unsigned char *TxDat )
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 3503: remark: parameter “TxDat” was never
    referenced
    volatile int Com_bwrite(unsigned char sub_add, unsigned short addr, char length ,unsigned char *d,struct TAG_232C_CTL *comData, unsigned char *TxDat )
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 3684: remark: parameter “TxDat” was never
    referenced
    int Sub_AK (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 3896: warning: variable “p” was declared
    but never referenced
    unsigned char* p = &tmp[0];
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 3944: remark: parameter “comData” was
    never referenced
    int Sub_AXTQ (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 3994: remark: parameter “comData” was
    never referenced
    int Sub_AXUC (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4020: remark: parameter “comData” was
    never referenced
    int Sub_AXUD (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4067: warning: variable “handle_id” was
    declared but never referenced
    unsigned short handle_id;
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4122: remark: parameter “comData” was
    never referenced
    int Sub_AXUQ (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4150: remark: parameter “comData” was
    never referenced
    int Sub_Bc (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4174: remark: parameter “comData” was
    never referenced
    int Sub_BC (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4189: remark: parameter “comData” was
    never referenced
    int Sub_BF (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4229: remark: parameter “comData” was
    never referenced
    int Sub_BL (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4258: remark: parameter “comData” was
    never referenced
    int Sub_BM (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4273: remark: parameter “comData” was
    never referenced
    int Sub_BP (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4293: remark: parameter “comData” was
    never referenced
    int Sub_Br (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4308: remark: parameter “comData” was
    never referenced
    int Sub_BS (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4343: remark: parameter “comData” was
    never referenced
    int Sub_Bt (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4372: remark: parameter “comData” was
    never referenced
    int Sub_BT (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4387: remark: parameter “comData” was
    never referenced
    int Sub_BU (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4416: remark: parameter “comData” was
    never referenced
    int Sub_Bv (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4455: remark: parameter “comData” was
    never referenced
    int Sub_CM (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4491: remark: parameter “comData” was
    never referenced
    int Sub_Cp (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4528: remark: parameter “comData” was
    never referenced
    int Sub_FAN (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4542: remark: parameter “comData” was
    never referenced
    int Sub_LA (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4571: remark: parameter “comData” was
    never referenced
    int Sub_LC (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4575: warning: variable “pwork” was
    declared but never referenced
    unsigned char *pwork;
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4620: remark: parameter “comData” was
    never referenced
    int Sub_LF (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4654: remark: parameter “comData” was
    never referenced
    int Sub_LH (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4682: remark: parameter “comData” was
    never referenced
    int Sub_LL (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4714: remark: parameter “comData” was
    never referenced
    int Sub_LP (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4730: remark: parameter “comData” was
    never referenced
    int Sub_LV (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4766: remark: parameter “comData” was
    never referenced
    int Sub_MP (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4783: remark: parameter “comData” was
    never referenced
    int Sub_MR (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4799: remark: parameter “comData” was
    never referenced
    int Sub_OA (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4828: remark: parameter “comData” was
    never referenced
    int Sub_OC (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4857: remark: parameter “comData” was
    never referenced
    int Sub_OF (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4884: remark: parameter “comData” was
    never referenced
    int Sub_Op (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4914: remark: parameter “comData” was
    never referenced
    int Sub_OP (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 4930: remark: parameter “comData” was
    never referenced
    int Sub_OV (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5828: remark: parameter “comData” was
    never referenced
    int Sub_Pb (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5843: remark: parameter “comData” was
    never referenced
    int Sub_PB (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5858: remark: parameter “comData” was
    never referenced
    int Sub_Pd (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5873: remark: parameter “comData” was
    never referenced
    int Sub_PD (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5888: remark: parameter “comData” was
    never referenced
    int Sub_Pf (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5903: remark: parameter “comData” was
    never referenced
    int Sub_PH (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5918: remark: parameter “comData” was
    never referenced
    int Sub_PL (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5933: remark: parameter “comData” was
    never referenced
    int Sub_PORT (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5933: remark: parameter “TxDat” was never
    referenced
    int Sub_PORT (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5944: remark: parameter “comData” was
    never referenced
    int Sub_PORT_read (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5944: remark: parameter “TxDat” was never
    referenced
    int Sub_PORT_read (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 5983: remark: parameter “comData” was
    never referenced
    int Sub_Ps (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6015: warning: a value of type “const
    user_eeprom_data_type *” cannot be assigned to an entity of type
    “user_eeprom_data_type *”
    p_dat_tbl = &eeprom_data_type[ROMID_PZ ];
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6019: warning: function “Buzzer_setting”
    declared implicitly
    Buzzer_setting(ma_state_main); /* 鳴音レベルを再設定 */
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6023: warning: function
    “Buzzer_sound_stop” declared implicitly
    Buzzer_sound_stop(); /* 鳴音停止 */
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6001: warning: variable “sta” was set but
    never used
    int sta = COM_SENSTA_NAK;
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6004: warning: variable “set_dat” was set
    but never used
    unsigned char set_dat;
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6040: remark: parameter “comData” was
    never referenced
    int Sub_RB (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6055: remark: parameter “comData” was
    never referenced
    int Sub_Rf (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6075: remark: parameter “comData” was
    never referenced
    int Sub_RF (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6101: remark: parameter “comData” was
    never referenced
    int Sub_RL (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6116: remark: parameter “comData” was
    never referenced
    int Sub_RM (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6131: remark: parameter “comData” was
    never referenced
    int Sub_Rn (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6146: remark: parameter “comData” was
    never referenced
    int Sub_RN (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6161: remark: parameter “comData” was
    never referenced
    int Sub_RO (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6178: remark: parameter “comData” was
    never referenced
    int Sub_Rp (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6193: remark: parameter “comData” was
    never referenced
    int Sub_RP (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6209: remark: parameter “comData” was
    never referenced
    int Sub_Rt (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6227: remark: parameter “comData” was
    never referenced
    int Sub_RU (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6242: remark: parameter “comData” was
    never referenced
    int Sub_RW (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6259: remark: parameter “comData” was
    never referenced
    int Sub_Sf (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6295: remark: parameter “comData” was
    never referenced
    int Sub_SF (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6324: remark: parameter “comData” was
    never referenced
    int Sub_SO (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6384: remark: parameter “comData” was
    never referenced
    int Sub_TB (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6398: remark: parameter “comData” was
    never referenced
    int Sub_TL (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6412: remark: parameter “comData” was
    never referenced
    int Sub_TM (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6426: remark: parameter “comData” was
    never referenced
    int Sub_Ts (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6460: remark: parameter “comData” was
    never referenced
    int Sub_TQ (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6479: remark: parameter “comData” was
    never referenced
    int Sub_TT (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6498: remark: parameter “comData” was
    never referenced
    int Sub_TZ (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6561: remark: parameter “comData” was
    never referenced
    int Sub_VA (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6561: remark: parameter “TxDat” was never
    referenced
    int Sub_VA (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6572: remark: parameter “comData” was
    never referenced
    int Sub_VC (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6572: remark: parameter “TxDat” was never
    referenced
    int Sub_VC (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6583: remark: parameter “comData” was
    never referenced
    int Sub_VS (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6583: remark: parameter “TxDat” was never
    referenced
    int Sub_VS (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6638: remark: parameter “comData” was
    never referenced
    int Sub_XXDS (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6665: remark: parameter “comData” was
    never referenced
    int Sub_XXPm (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6686: remark: parameter “comData” was
    never referenced
    int Sub_XXPr (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6706: remark: parameter “comData” was
    never referenced
    int Sub_XXPt (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6727: remark: parameter “comData” was
    never referenced
    int Sub_XXPW (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6742: remark: parameter “comData” was
    never referenced
    int Sub_XXRM (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6761: remark: parameter “comData” was
    never referenced
    int Sub_XXRT (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6804: remark: parameter “comData” was
    never referenced
    int Sub_XXSI (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6839: warning: function
    “charger_init_data” declared implicitly
    charger_init_data(4); /* CLAをデバッグモードに */
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6858: remark: parameter “comData” was
    never referenced
    int Sub_ZST1 (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 6858: remark: parameter “TxDat” was never
    referenced
    int Sub_ZST1 (struct TAG_232C_CTL *comData, unsigned char *TxDat)
    ^

    “..\Task4(app)\../F280xx_Measurement.h”, line 94: warning: pragma DATA_SECTION
    can only be applied to a file level symbol definition, not
    “fcla_lpf_dat” (declared at line 98)
    #pragma DATA_SECTION(fcla_lpf_dat,”Cla1DataRam1″);
    ^

    “..\Task4(app)\../F280xx_Measurement.h”, line 399: warning: pragma can only be
    applied to a file level symbol, not ‘fm_LpfRms’
    #pragma DATA_SECTION(fm_LpfRms,”CpuToCla1MsgRAM”);
    ^

    “..\Task4(app)\../F280xx_Measurement.h”, line 405: warning: pragma DATA_SECTION
    can only be applied to a file level symbol definition, not
    “fm_rw_cla_data_set” (declared at line 407)
    #pragma DATA_SECTION(fm_rw_cla_data_set,”CpuToCla1MsgRAM”);
    ^

    “..\Task4(app)\../F280xx_Measurement.h”, line 410: warning: pragma DATA_SECTION
    can only be applied to a file level symbol definition, not
    “user_cla_k_change” (declared at line 569 of
    “..\Task4(app)\..\System_configuration.h”)
    #pragma DATA_SECTION(user_cla_k_change,”CpuToCla1MsgRAM”);
    ^

    “..\Task4(app)\../F280xx_Measurement.h”, line 415: warning: pragma DATA_SECTION
    can only be applied to a file level symbol definition, not
    “fm_r_status” (declared at line 420)
    #pragma DATA_SECTION(fm_r_status,”Cla1ToCpuMsgRAM”); /* CLA -> MAIN-CPU */
    ^

    “..\Task4(app)\../F280xx_Measurement.h”, line 422: warning: pragma DATA_SECTION
    can only be applied to a file level symbol definition, not
    “fm_rw_rms_flags” (declared at line 424)
    #pragma DATA_SECTION(fm_rw_rms_flags,”CpuToCla1MsgRAM”);
    ^

    “..\Task4(app)\../F280xx_Measurement.h”, line 423: warning: pragma DATA_SECTION
    can only be applied to a file level symbol definition, not
    “fm_rw_rms_flags_cla” (declared at line 424)
    #pragma DATA_SECTION(fm_rw_rms_flags_cla,”CpuToCla1MsgRAM”);
    ^

    “../Task4(app)/Com_FeliSafe.c”, line 3959 (col. 50): advice: (Performance) Use
    –fp_mode=relaxed to enable TMU hardware support for FP division.

    Finished building: “../Task4(app)/Com_FeliSafe.c”

    Building file: “../Task4(app)/Task4_main.c”
    Invoking: C2000 Compiler
    “C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000″ -v28 -ml -mt –cla_support=cla1 –float_support=fpu32 –tmu_support=tmu0 –include_path=”C:/ti/controlSUITE/device_support/F2807x/v210/F2807x_common” –include_path=”C:/ti/controlSUITE/device_support/F2807x/v210/F2807x_common/include” –include_path=”C:/ti/controlSUITE/device_support/F2807x/v210/F2807x_headers/include” –include_path=”C:/ti/controlSUITE/libs/math/IQmath/v160/include” –include_path=”C:/ti/controlSUITE/libs/math/FPUfastRTS/V100/include” –include_path=”C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include” –advice:performance=all –define=TARGET_F28075 –define=CPU1 –define=_DEBUG –define=LARGE_MODEL –define=ccs_c2k –undefine=TARGET_F28069 -g –diag_warning=225 –issue_remarks –verbose_diagnostics –quiet –abi=coffabi –preproc_with_compile –preproc_dependency=”Task4(app)/Task4_main.d_raw” –obj_directory=”Task4(app)” “../Task4(app)/Task4_main.c”
    “..\Task4(app)\..\common.h”, line 448: warning: incompatible redefinition of
    macro “fBYPASS_FUSE_BLOW” (declared at line 447)
    #define fBYPASS_FUSE_BLOW 9 /* A 直送ブレーカーブレークダウン */
    ^

    “..\Task4(app)\..\System_configuration.h”, line 78: warning: incompatible
    redefinition of macro “PWM_PFC_DEAD_TIME” (declared at line 73)
    #define PWM_PFC_DEAD_TIME 50
    ^

    “..\Task4(app)\..\Task3(main)\Task3_main.h”, line 91: remark: type qualifier on
    return type is meaningless
    _extern volatile void main_3(void);
    ^

    “..\Task4(app)\..\Task3(main)\UPSmain.h”, line 634: warning: incompatible
    redefinition of macro “DISP_BATLEV_ON” (declared at line 632)
    #define DISP_BATLEV_ON 2
    ^

    “..\Task4(app)\Com_FeliSafe.h”, line 121: warning: type qualifier on return
    type is meaningless
    _extern volatile int Com_bread(unsigned char sub_add, unsigned short addr, char length ,unsigned char *d,struct TAG_232C_CTL *comData, unsigned char *TxDat );
    ^

    “..\Task4(app)\Com_FeliSafe.h”, line 122: warning: type qualifier on return
    type is meaningless
    _extern volatile int Com_bwrite(unsigned char sub_add, unsigned short addr, char length ,unsigned char *d,struct TAG_232C_CTL *comData, unsigned char *TxDat );
    ^

    “..\Task4(app)\Com_FeliSafe.h”, line 128: warning: type qualifier on return
    type is meaningless
    _extern volatile int Command_Scan(struct TAG_232C_CTL *comData );
    ^

    “..\Task4(app)\Com_FeliSafe.h”, line 130: warning: type qualifier on return
    type is meaningless
    _extern volatile int Sub_key_Search(struct TAG_232C_CTL * );
    ^

    “..\Task4(app)\Com_FeliSafe.h”, line 131: remark: type qualifier on return type
    is meaningless
    _extern volatile void Sub_CopyToRingBuffer(struct TAG_232C_CTL *comData, unsigned char *pbuff);
    ^

    “..\Task4(app)\Com_FeliSafe.h”, line 134: warning: type qualifier on return
    type is meaningless
    _extern volatile unsigned short check_sum_cal(unsigned char *abyReceiveData );
    ^

    “..\Task4(app)\Com_FeliSafe.h”, line 135: warning: type qualifier on return
    type is meaningless
    _extern volatile unsigned long Sub_bat_type_cheak (unsigned char *Dat);
    ^

    “..\Task4(app)\Com_FeliSafe.h”, line 136: warning: type qualifier on return
    type is meaningless
    _extern volatile int StatusSend(volatile struct TAG_232C_CTL *comData, int status);
    ^

    “..\Task4(app)\Com_FeliSafe.h”, line 333: warning: type qualifier on return
    type is meaningless
    _extern volatile unsigned char DispShort2hex(unsigned char n, unsigned short ush, unsigned char **sd);
    ^

    “..\Task4(app)\..\Task3(main)\I2c.h”, line 306: warning: incompatible
    redefinition of macro “RAMID_FAN_RPM_LIM_LOW” (declared at line 304)
    #define RAMID_FAN_RPM_LIM_LOW 0x2f /* 47 比例制御出力(回転数) */
    ^

    “..\Task4(app)\Task4_main.h”, line 174: remark: type qualifier on return type
    is meaningless
    _extern volatile void main_4(void);
    ^

    “../Task4(app)/Task4_main.c”, line 100: remark: type qualifier on return type
    is meaningless
    volatile void main_4(void)
    ^

    “../Task4(app)/Task4_main.c”, line 152: remark: parameter “event” was never
    referenced
    unsigned short tk4_init(unsigned short event)
    ^

    “../Task4(app)/Task4_main.c”, line 187: remark: parameter “event” was never
    referenced
    unsigned short tk4_com_receive1(unsigned short event)
    ^

    “../Task4(app)/Task4_main.c”, line 217: warning: argument of type “volatile
    struct TAG_232C_CTL *” is incompatible with parameter of type “struct
    TAG_232C_CTL *”
    Sub_CopyToRingBuffer( &com_rs232c[ch], &tk4_abySendBuffer[ch][0] ); /* 送信リングバッファへのコピーとSUMの計算 */
    ^

    “../Task4(app)/Task4_main.c”, line 232: warning: argument of type “volatile
    struct TAG_232C_CTL *” is incompatible with parameter of type “struct
    TAG_232C_CTL *”
    Sub_CopyToRingBuffer( &com_rs232c[ch], &Tk4tmp_sum[0] );
    ^

    “../Task4(app)/Task4_main.c”, line 1595: remark: parameter “event” was never
    referenced
    unsigned short tk4_com_receive2(unsigned short event)
    ^

    “../Task4(app)/Task4_main.c”, line 1670: remark: parameter “event” was never
    referenced
    unsigned short tk4_osc_par_write(unsigned short event)
    ^

    “../Task4(app)/Task4_main.c”, line 1695: remark: parameter “event” was never
    referenced
    unsigned short tk4_osc_par_read(unsigned short event)
    ^

    “../Task4(app)/Task4_main.c”, line 1697: warning: variable “p_w” was declared
    but never referenced
    user_i2c_data_pointer p_w;
    ^

    “../Task4(app)/Task4_main.c”, line 1699: warning: variable “get_sta” was set
    but never used
    short get_sta;
    ^
    とエラーが
    Finished building: “../Task4(app)/Task4_main.c”

    gmake: Target ‘all’ not remade because of errors.

    **** Build Finished ****

     

    #17894 返信

    guest

    コンパイルが通らない件は、プロパティーのパスが、「CG_TOOL_ROOT」のパスが以前のコンパイラーのパスであったためとわかりました。

    コンパイラーのエラッタ情報が何処にあるか教えてください。

    以上、

    #17899 解決済み提案を取消 | 返信
    Ge
    Ge
    従業員

    お問い合わせありがとうございます。

    コンパイラのバグ情報については、コンパイラフォルダのREADME.html内の下部に記載されております。
    私の環境の場合は、以下のフォルダにREADME.htmlがございます。

    C:\ti\ccs1011\ccs\tools\compiler\ti-cgt-c2000_20.2.1.LTS

    ご利用のコンパイラの該当のフォルダをご確認いただけますでしょうか。

    以上、よろしくお願いいたします。

3件の投稿を表示中 - 1 - 3件目 (全3件中)