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.

C2000WARE-DIGITALPOWER-SDK: TIDA-010062 sample project's warning

Expert 2961 points
Part Number: C2000WARE-DIGITALPOWER-SDK
Other Parts Discussed in Thread: TIDA-010062

Tool/software:

Hello,

May I have question about C2000 digital power SDK?

The sample project for TIDA-010062 "ttplpfc_nonpowerSUITE_F28002x" have some warning. I did not editing after import.

I test both ver 5.01.00.00 and 5.03.00.00.

But both have the errors.

Do you know detail of this warning and how to fix?

Warning:

Description Resource Path Location Type
#169-D argument of type "volatile DCL_PI *" is incompatible with parameter of type "DCL_PI *" ttplpfc.h /ttplpfc_nonpowerSUITE_F28002x line 570 C/C++ Problem

Description Resource Path Location Type
#169-D argument of type "volatile DCL_PI *" is incompatible with parameter of type "DCL_PI *" ttplpfc.h /ttplpfc_nonpowerSUITE_F28002x line 698 C/C++ Problem

Thanks,

GR

  • Hello,

    Is there any information?

    Thanks,

    GR

  • Hi GR,

    I think there are some mismatch(volatile and non-volatile) in the code in terms of parameter definitions. Customer can search for this and make it consistent. Have you tried to import the other TIDA-010062 projects with other devices? like P55 and f28003x. Do you see the same warning?

    We will let the engineer know and fix it in the next release if possible. 

    Regards,

    Chen

  • Hi Chen,

    Have you tried to import the other TIDA-010062 projects with other devices? like P55 and f28003x. Do you see the same warning?

    I try "ttplpfc_nonpowerSUITE_F28004x", and "ttplpfc_nonpowerSUITE_F28003x".

    They have same warning.

    We will let the engineer know and fix it in the next release if possible. 

    Thank you.

    If you could get information of fix schedule, May I know?

    Best regards,

    GR

  • Probably it will be Oct/Nov. Our engineer is currently out of office. He can suggest you the specific change later if needed.

    Regards,

    Chen

  • Hi Chen,

    Thanks for your supporting.

    I understand.

    He can suggest you the specific change later if needed.

    Thanks, please let me know.

    I will be waiting.

    Best regards,

    GR

  • GR,

    Either you can ignore these warnings since these will not cause any issues and are related to volatile pointers getting assigned to non-volatile ones from the DCL library or you can get rid of these warnings by removing "volatile" from declaration in two location in "ttplpfc.c" and "ttplpfc.h" files as shown in image below.

    In file "ttplpfc.c"  

    In file "ttplpfc.h" 

    We will recommend the fix in next DPSDK release. Thanks for notifying us!

    Regards,

    Sumit

  • Hello Sumit,

    Thanks for your information!

    I will try.

    Best regards,

    GR