If you are using the Eclipse IDE then there is a potential problem when using the Ethernet2 shield. To use the W5500 driver for the Ethernet and SD card you need to delete the contents of the existing C:\Hitex\AURduinoIDE\Eclipse\AurduinoMulticoreUser\aurix\libraries\Ethernet and replace them with the Ethernet2. The Ethernet2 library used by the Arduino IDE is usually in:
Delete the contents of C:\Hitex\AURduinoIDE\Eclipse\AurduinoMulticoreUser\aurix\libraries\Ethernet and copy the contents of C:\Users\YOURNAME\Documents\Arduino\libraries\Ethernet2 into this directory.
The program will then build using the W5500 driver and the SD card now works.
One of the problems when using the Eclipse IDE is that libraries for shields are not installed automatically. You have to copy them into the C:\Hitex\AURduinoIDE\Eclipse\AurduinoMulticoreUser\aurix\libraries and then add them to the include path in the Eclipse compiler configuration.