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.

AM2631: How to run Beckhoff SSC EtherCAT application from C++ main application

Part Number: AM2631
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi,

I successfully ran the EtherCAT SubDevice Beckhoff SSC Demo example.

Now, I would like to convert the C application to a C++ one. To start, I changed the main.c file from the Beckhoff example to main.cpp, but that doesn’t seem to be enough. I’m using CCS20 and the latest SysConfig, letting the makefiles be automatically generated rather than writing them manually.

The application doesn’t compile if System_init(); and Board_init(); along with their include files are present in the project. I noticed that the "Hello World C++" example has some special configuration in SysConfig, such as "DPL CFG." Can you explain what this is?

Is there a guide for starting a C++ application for the AM263x in CCS20 from scratch?

Thank you in advance for your help!

Best regards,

Chris