as I cannot find anything about it in the hookup guide or in the INO examples - has the named board a unique hardware MAC address and if so, how can I retrieve it in the sketch?
In the provided example, the MAC address is defined in the sketch. This won’t work if I use several of those devices on the same network.
If the board has no unique hardware mac address, I thought about using a random mac address generator, but that of course has its own limitations (need to store generated address in EEPROM for using DHCP IP/MAC assignment). Is there a better solution for this?
The W5500 has no pre-defined MAC address. You do need to generate one externally and write it to the W5500 SHAR register. You will unfortunately need to store the address in your microcontroller code / memory.
Previously, I’ve used random valid addresses generated by the website linked below, and stored them in microcontroller flash (“EEPROM”) memory.
Unfortunately as I found out meanwhile, it looks like the ESP32 Micromod Processor does not have an EEPROM that I could use to store a generated MAC address persistently.
I did not find anything about EEPROM when using the Micromod Single board along with the ESP32 processor.
Arduino ESP32 supports EEPROM. Please see the link below.
But, we tend to use LittleFS (Little File System) not EEPROM. You do need to make sure you have defined a flash memory partition for LittleFS / “spiffs”. That’s usually available as standard, but it does depend on your Board definitions. Link below.