Ethercat XMC4800 SSC code failing in DAVE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User18527
Level 1
Level 1
Hi All,

Recently we bought couple of Ethercat XMC4800 devices, In order to make it as a slave, we have followed the document and installed DAVE, Twincat and so and so. We need SSC tool so we have bought
by registering as an ETG member. Now we have everything and when we following the document and build the slave code in DAVE and we are getting this below error. Please help us to fix this.

15:33:42 **** Build of configuration Debug for project ETHCAT_SSC_XMC48 ****
"\"C:\\Users\\pradeep\\Desktop\\Gopi\\DAVE_4-4-2_64bit_2018-02-23\\DAVE-IDE-4.4.2-64Bit\\eclipse\\ARM-GCC-49\\bin\\make\"" --output-sync -j4 all
In file included from ../SSC/Src/ecatslv.h:44:0,
'Building file: ../SSC/Src/coeappl.c'
from ../SSC/Src/coeappl.c:114:
'Invoking: ARM-GCC C Compiler'
../SSC/Src/el9800hw.h:36:22: fatal error: p24Hxxxx.h: No such file or directory
"C:/Users/pradeep/Desktop/Gopi/DAVE_4-4-2_64bit_2018-02-23/DAVE-IDE-4.4.2-64Bit/eclipse/ARM-GCC-49/bin/arm-none-eabi-gcc" -MMD -MT "SSC/Src/coeappl.o" -DXMC4800_F144x2048 -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries/XMCLib/inc" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries/CMSIS/Include" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries/CMSIS/Infineon/XMC4800_series/Include" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Dave/Generated" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -mfloat-abi=softfp -Wa,-adhlns="SSC/Src/coeappl.o.lst" -pipe -c -fmessage-length=0 -MMD -MP -MF"SSC/Src/coeappl.d" -MT"SSC/Src/coeappl.d SSC/Src/coeappl.o" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -g -gdwarf-2 -o "SSC/Src/coeappl.o" "../SSC/Src/coeappl.c"
SSC/Src/subdir.mk:42: recipe for target 'SSC/Src/coeappl.o' failed
#include
^
compilation terminated.
make: *** [SSC/Src/coeappl.o] Error 1
make: *** Waiting for unfinished jobs....
'Building file: ../SSC/Src/XMC_ESC.c'
'Invoking: ARM-GCC C Compiler'
"C:/Users/pradeep/Desktop/Gopi/DAVE_4-4-2_64bit_2018-02-23/DAVE-IDE-4.4.2-64Bit/eclipse/ARM-GCC-49/bin/arm-none-eabi-gcc" -MMD -MT "SSC/Src/XMC_ESC.o" -DXMC4800_F144x2048 -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries/XMCLib/inc" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries/CMSIS/Include" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries/CMSIS/Infineon/XMC4800_series/Include" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Dave/Generated" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -mfloat-abi=softfp -Wa,-adhlns="SSC/Src/XMC_ESC.o.lst" -pipe -c -fmessage-length=0 -MMD -MP -MF"SSC/Src/XMC_ESC.d" -MT"SSC/Src/XMC_ESC.d SSC/Src/XMC_ESC.o" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -g -gdwarf-2 -o "SSC/Src/XMC_ESC.o" "../SSC/Src/XMC_ESC.c"
SSC/Src/subdir.mk:42: recipe for target 'SSC/Src/XMC_ESC.o' failed
In file included from ../SSC/Src/ecatslv.h:44:0,
from ../SSC/Src/applInterface.h:41,
from ../SSC/Src/XMC_ESC.c:26:
../SSC/Src/el9800hw.h:36:22: fatal error: p24Hxxxx.h: No such file or directory
#include
^
compilation terminated.
make: *** [SSC/Src/XMC_ESC.o] Error 1
'Building file: ../Startup/startup_XMC4800.S'
'Invoking: ARM-GCC Assembler'
"C:/Users/pradeep/Desktop/Gopi/DAVE_4-4-2_64bit_2018-02-23/DAVE-IDE-4.4.2-64Bit/eclipse/ARM-GCC-49/bin/arm-none-eabi-gcc" -MMD -MT "Startup/startup_XMC4800.o" -x assembler-with-cpp -DXMC4800_F144x2048 -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries/XMCLib/inc" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Dave/Generated" -Wall -Wa,-adhlns="Startup/startup_XMC4800.o.lst" -mfloat-abi=softfp -c -fmessage-length=0 -MMD -MP -MF"Startup/startup_XMC4800.d" -MT"Startup/startup_XMC4800.d Startup/startup_XMC4800.o" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -g -gdwarf-2 -o "Startup/startup_XMC4800.o" "../Startup/startup_XMC4800.S"
'Finished building: ../Startup/startup_XMC4800.S'

'Building file: ../Startup/system_XMC4800.c'
'Invoking: ARM-GCC C Compiler'
"C:/Users/pradeep/Desktop/Gopi/DAVE_4-4-2_64bit_2018-02-23/DAVE-IDE-4.4.2-64Bit/eclipse/ARM-GCC-49/bin/arm-none-eabi-gcc" -MMD -MT "Startup/system_XMC4800.o" -DXMC4800_F144x2048 -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries/XMCLib/inc" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries/CMSIS/Include" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries/CMSIS/Infineon/XMC4800_series/Include" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Dave/Generated" -I"C:/Workspaces/DAVE-4.4.2-64Bit/ETHCAT_SSC_XMC48/Libraries" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -mfloat-abi=softfp -Wa,-adhlns="Startup/system_XMC4800.o.lst" -pipe -c -fmessage-length=0 -MMD -MP -MF"Startup/system_XMC4800.d" -MT"Startup/system_XMC4800.d Startup/system_XMC4800.o" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mthumb -g -gdwarf-2 -o "Startup/system_XMC4800.o" "../Startup/system_XMC4800.c"
'Finished building: ../Startup/system_XMC4800.c'


15:33:43 Build Finished (took 787ms)


Please help us to fix the above.

Thanks,
Gopi Krishna M
0 Likes
1 Reply
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

Are you sure you imported the Infineon_XMC_ECAT_SSC_Config.xml file in SSC tool?
Did you then selected Custom:'Infineon XMC EtherCAT hardware '? It should be version v.2.0.0.0


Regards,
Jesus
0 Likes