infineon4engi@twitter infineon4engineers infineon@linkedin infineon@youtube
twitter Facebook Linkedin Youtube

+ Reply to Thread
Results 1 to 2 of 2

Thread: Ethercat XMC4800 SSC code failing in DAVE

  1. #1
    New Member New Member ramgopikrishna is on a distinguished road
    Join Date
    Dec 2019

    Ethercat XMC4800 SSC code failing in DAVE

    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/ recipe for target 'SSC/Src/coeappl.o' failed
    #include <p24Hxxxx.h>
    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/ 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 <p24Hxxxx.h>
    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)[/I]

    Please help us to fix the above.

    Gopi Krishna M

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012

    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 <Infineon Technologies>'? It should be version v.

    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.

Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.