diff --git a/master/globals.h b/master/globals.h
index faf1320093bfe83d74fee1f5d952140af8e07f22..725ffb420061e6428ae666d34d832fdc32ced93a 100644
--- a/master/globals.h
+++ b/master/globals.h
@@ -66,7 +66,7 @@
 #define EC_STATE_STRING_SIZE 32
 
 /** maximum EEPROM size in words, to avoid infinite reading. */
-#define EC_MAX_EEPROM_SIZE 512
+#define EC_MAX_EEPROM_SIZE 1024
 
 /******************************************************************************
  *  EtherCAT protocol