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.

AM6411: SYSCONFIG, how to inregrate web version into CCS?

Genius 17275 points
Part Number: AM6411
Other Parts Discussed in Thread: AM6441, SYSCONFIG

Hello,

 

My customer is working for a prototype with AM6441.

 

At first, they used web version of SYSCONFIG to configure AM6441 pin mux.

Then they want to integrate this configuration into CCS. Is there any way to integrate Web version of SYSCONFIG configuration into CCS?

 

Regards,

Oba

  • Oba

    I am not sure what is meant by integrating in to CCS.  Can you elaborate? 

    --Paul

  • Hi Paul,

    I'm taking this over this question and let me clarify some details.
    Our customer is working on WEB based SysConfig tool to generate IO pin configuration file (ti_pinmux_config.c) and they are trying to import this file to CCS and compile. But result looks imported ti_pinmux_congfig.c is not working and original pinmux_config file in CCS was used.
    Can you walk us through how to port pinmux_cinfig.c file generated by WEB based SysConfig tool to CCS?

    Thanks,       
    Nakano

  • Nakano

    Thanks for the clarification. I will have someone from our software team help answer how to use  the generated .c file in code. 

    --Paul 

  • Hello Nakano,

    I assume you might be using MCU+SDK for development. Each example provided in the MCU+SDK contains example.syscfg file which is responsible for the generation of ti_pinmux_config.c file. You can also edit the example.syscfg itself in the CCS and generate those files.

    To use the configurations done on Sysconfig cloud based tool, please save the generated untitled.syscfg file as shown in below screenshot.

    Now remove the example.syscfg file already present in the the project and copy the untitled.syscfg file.

    After copying the file to project, rename it to example.syscfg.

    Rebuild the project, the file ti_pinmux_config.c will be auto generated in the project.

    Please let me know if above solution works.

    Thanks & Regards,

    Tushar

  • Hi Tushar,

    Thanks for the procedure. The customer followed the steps but they got error message below.

    After hitting yes for retry, then another error message showed up.

    another error message came up and says; unknow property: $useCase.
    Ifs there any file format difference btw WEB based Sysconfig and CCS?

    Thanks,
    Nakano


  • Hello Nakano,

    Thanks for your reply.

    below.

    Can you please click on the show details option in the above shared screenshot and share the complete error logs?

    Regards,

    Tushar

  • Hi Tushar,

    Please find the details below.

    Thanks,
    Nakano

  • Hello Nakano,

    Thanks for your reply.

    The above method is working for me.

    Can you please share the untitled.syscfg file saved?

    Regards,

    Tushar

  • Hi Tushar,

    Here is their untitled.syscfg. 
    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/AM64x_5F00_design_5F00_240220.syscfg

    Thanks,
    Nakano

  • Hello Nakano,

    Thanks for sharing the above details.

    I can see the file shared above is created with the below setting in Sysconfig Cloud tool. The above file is created without a selecting the software product field. Please refer below screenshot.

    The file generated by using above field selection cannot be used with MCU+SDK projects/example as they are not compatible with the generated file.

    Please create a syscfg file by selecting Software Product field with appropriate MCU+SDK.

    Please refer below screenshot.

    Regards,

    Tushar

  • Hi Tushar,

    Thanks for your best support. Now customer can use WEB sysconfig file on CCS sysconfig but, they see some compile errors below.

     DO you see the same error when you compile? 


    Thanks,
    Nakano

  • Hello Nakano,

    Thanks for your reply.

    From the error logs it is seen that the symbol putchar_ is undefined. Please see the below image.

    Can you please make sure, have you imported all the necessary libraries?

    Regards,

    Tushar

  • Hi Tushar,

    Thanks for checking.  Can you please pin point what type of libraries other than SDK?

    Thanks,
    Nakano

  • Hello Nakano,

    Thanks for your response.

    From the error logs it is seen that the putchar_ is not defined in your example.

    Can you please check which file is calling putchar_ function and where it is defined? (i.e. in SDK or example)

    Regards,

    Tushar

  • Hi Tushar,

    putchar_  function is call in C source code when CCS compiles ti_xxxxxx_xxxx.c,
    This ti_xxxxxx_xxxx.c is probablyy generated by .sysconfig file imported from cloud based Sysconfig to CCS we just discussed above.
    So, the customer thinks this is TI library issue (putchar_ is not defined in the TI .lib) and concerned about if there is compatibility issues btw tools also.
    Can you please check?

    Thanks,
    Nakano 

  • Hello Nakano,

    Thanks for your reply.

    Can you please try building the example once after re-building the libraries?

    To rebuild the libraries run the below commands from MCU+SDK root directory.

    gmake -s libs PROFILE=debug clean
    gmake -s libs PROFILE=release clean
    
    gmake -s libs PROFILE=debug 
    gmake -s libs PROFILE=release

    Regards,

    Tushar

  • Hi Tushar,

    Thanks for your reply.
    Can you actually rebuild the libraries and share with us? We think it's easy for us to check compatibility btw you and customer.

    Thanks,
    Nakano  

  • Hello Nakano,

    Thanks for your response.

    I have checked the above error again. It seems that the customer is using SDK v09.00.00.31. There are build failures associated with the SDK v09.00.00.31.

    Can you please use the SDK v09.00.00.35 and let us know are you still facing the issue?

    Please find MCU-PLUS-SDK-AM64X_09.00.00.35.

    Regards,

    Tushar

  • Hi Tushar.

    Thanks for your suggestion. I actually noticed it looks like WEB based Sysconfig only supports 09.01.00 and the customer is using .sysconfig
    file from this version. This might cause the issue?  We should ask customer to try 09.01.00 later version? or 09.00..00.35 is better?

    Thanks,
    Nakano

  • Hello Nakano,

    Thanks for your response.

    I actually noticed it looks like WEB based Sysconfig only supports 09.01.00 and the customer is using .sysconfig
    file from this version.

    Yes, the web version of the Sysconfig tool always use the latest version of SDK. Is there a specific requirement to use the web version of Sysconfig tool?

    Customer can also use the desktop(offline) version of tool for development. Please refer Setup_SDK_and_Tools to find the tools required for development. 

    We should ask customer to try 09.01.00 later version

    It is always recommended to use the latest version of SDK(currently SDK v09.02), as the newer version comes with bug fixes and optimizations compared to older versions.

    Regards,

    Tushar

  • Hi Tushar,

    Thanks for your comments. You mentioned;

    "I have checked the above error again. It seems that the customer is using SDK v09.00.00.31. There are build failures associated with the SDK v09.00.00.31.

    Can you please use the SDK v09.00.00.35 and let us know are you still facing the issue?"

    Do we know SDK v09.00.00.35 or later version implemented bug fixed of putchar_ function call issue?

    The customer is king of refusing to try newer version if the bug fix is not sure because setting up new SDK and environment take time and resources.

    Thanks,
    Nakano 

  • Hello Nakano,

    Thanks for your reply.

    Do we know SDK v09.00.00.35 or later version implemented bug fixed of putchar_ function call issue?

    I am using SDK v09.00.00.35 at my end and it is working fine for me. I am unable to see the build issue in SDK v09.00.00.35.

    setting up new SDK and environment take time and resources.

    Yes, it's correct but this is only one time effort at customer's end.

    Regards,

    Tushar

  • Hi Tushar,

    They still see the same issue with SDK v09.00.00.35. Please see below log.


    Can you try their sysconfig on your side?
    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0358.example.syscfg

    Thanks,
    Nakano

  • Hello Nakano,

    Thanks for your response.

    I have checked the Sysconfig file shared above. The customer is trying to use the reserve peripheral option in the Sysconfig tool. Sysconfig will not generate any code for the configured reserve peripherals. Please refer below screenshot.

    The Reserved Peripherals tab is used to reserve any particular hardware resource that your own custom code will handle, and it tells the sysconfig tool not to use that peripheral. This tab should not be used for any peripherals that you want to be configured by the tool.

    It is recommended to modify the already existing example.syscfg file provided with each example in MCU+SDK instead of creating it from scratch.

    Hope the above information helps.

    Regards,

    Tushar

  • Hi Tushar,

    Thanks for advise. I'm not sure if this is actually related to putchar_ issue?

    Thanks,
    Nakano

  • Hello Nakano,

    Thanks for your reply.

    From the above logs, it is seen that the error is encountered during linking phase. The symbol putchar_ remains undefined during the linking of the program.

    The definition of the putchar_ function is auto generated by the Sysconfig tool when you configure the Debug Log section in the example.syscfg file.

    The tool generate the ti_dpl_config.c file which contains the definition for putchar_ function.

    Please refer below screenshot.

    The example.syscfg file used by the customer does not have this definition of putchar_ function in the generated ti_dpl_config.c file which results in linking error because the putchar_ symbol is not defined.

    Hope the above information helps.

    Regards,

    Tushar

  • Hi Tushar,

    Thanks for your reply.  The customer simply need to select "Debug Log" for putchar_ difined, correct?

    Thanks,
    Nakano 

  • Hello Nakano,

    Thanks for your reply.

    The customer simply need to select "Debug Log" for putchar_ difined, correct?

    Yes, but the Sysconfig tool will not generate any code for the resources which are configured under reserve peripheral tab and the example will not work properly. 

    So, it is recommended to modify the already present example.syscfg file according to the use case instead of creating it from scratch. 

    Regards,

    Tushar