Support : Creating Your First EtherCAT Application

Hello everybody,

I am currently working on EtherCAT and I have bought the EVB_LAN9252_SAMD51 microcontroller development board. I follow the tutorial “Creating your first EtherCAT Application”.

But I am stuck with the program : I am currently at the fifth part of this tutorial “Build application” but I can’t build because I have too many errors : in the program “interrupts.c” I have many mistakes :
“error: ‘EIC_EXTINT_X_InterruptHandler’ undeclared here (not in a function)” , with X = [1,2…,15]

It’s the same for QSPI_InterruptHandler and TC0_TimerInterruptHandler.

Another thing : my program should create several .o files like “drv_lan9252” or “interrupt” but it fails.

And the last thing : in the program there is “#include <p24Hxxxx.h>” but I don’t have this file I can’t find it.

Does someone know how I can solve one of theses problems please ? I am totally stuck I don’t know how to achieve this.

Many thanks in advance for your help.

Best regards,

Nicolas Clochefert