i have two Olimex STM32-E407 boards here (latest rev) and i build the demo:
ChibiOS_17.6.3/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB
(Yes i unzipped the dependencies etc )
The demo is unfortunately not running because it can not find the phy. In hal_mac_lld.c in the method mii_find_phy() fails with "MAC failure".
If i comment mii_find_phy() out in the function mac_lld_init() and set ETHD1.phyaddr = 0 << 11; the demo runs fine. I guessed the ID is 0 because in the Olimex Schematic they say "SMI address: 0x00".
This is my first time ever i'm doing something with ChibiOS so please excuse if i'm missing something obvious here. Can someone tell me my mistake or is there an error in the example?
I'm using arm-none-eabi-gcc (Arch Repository) 7.2.0
Lucas