I tried with the EXTRA def's , and no luck ....
But then i tried with another switch
My original switch is a HP-1820 8-port , and i switched to a Dlink DGS-1100-08 V2
Now it's getting link , but it has to do a lot of "link down" first
0 2 main.c:46:main Starting, CPU freq 144 MHz
5 2 main.c:51:main RAM/FLASH configuration: 64/256
c 2 main.c:55:main Heap size: 48032 bytes. RAM: used 1032, free 50823
14 3 stm32f.c:152:mg_tcpip_driver_s PHY ID: 0x00 0x00
19 2 main.c:70:main MAC: 02:38:32:38:38:e7. Waiting for IP...
409 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
7f1 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
bd9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
fc1 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
13a9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
1791 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
1b79 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
1f61 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
2349 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
2731 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
2b19 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
2f01 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
32e9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
36d1 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
3ab9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
3ea1 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
4289 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
4671 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
4a59 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
4e41 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
5229 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
5611 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
59f9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
5de1 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
61c9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
65b1 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
6999 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
6d81 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
7169 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
7551 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
7939 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
7d21 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
8109 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
84f1 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
88d9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
8cc1 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
90a9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
9491 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
9879 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
9c61 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
a049 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
a431 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
a819 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
ac01 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
afe9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
b3d1 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
b7b9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
bba1 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
bf89 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
c371 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
c759 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
cb41 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
cf29 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
d311 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
d6f9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
dae1 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
dec9 2 main.c:26:timer_fn Ethernet: down, IP: 0.0.0.0, rx:0, tx:0, dr:0, er:0 RAM: 10828/40819
e2a9 3 stm32f.c:201:mg_tcpip_driver_s Link is 10M half-duplex
e2ae 1 net_builtin.c:202:onstatechang Link up
e2b2 3 net_builtin.c:302:tx_dhcp_disc DHCP discover sent. Our MAC: 02:38:32:38:38:e7
e2ba 2 main.c:26:timer_fn Ethernet: up, IP: 0.0.0.0, rx:1, tx:1, dr:0, er:0 RAM: 10860/40787
e691 3 net_builtin.c:302:tx_dhcp_disc DHCP discover sent. Our MAC: 02:38:32:38:38:e7
e699 2 main.c:26:timer_fn Ethernet: up, IP: 0.0.0.0, rx:1, tx:2, dr:0, er:0 RAM: 10860/40787
e6a2 3 net_builtin.c:281:tx_dhcp_requ DHCP req sent
e6a7 2 net_builtin.c:408:rx_dhcp_clie Lease: 6793 sec (6852)
e6ac 2 net_builtin.c:197:onstatechang READY, IP: 10.1.1.210
e6b2 2 net_builtin.c:198:onstatechang GW: 10.1.1.1
e6b8 2 net_builtin.c:199:onstatechang MAC: 02:38:32:38:38:e7
e6be 2 main.c:75:main Initialising application...
e6c4 3 net.c:202:mg_listen 1 0 http://0.0.0.0:8000
e6c9 3 net.c:202:mg_listen 2 0 http://0.0.0.0/
e6cf 3 net.c:202:mg_listen 3 0 https://0.0.0.0/
e6d4 2 main.c:79:main Starting event loop
e6d9 3 net.c:177:mg_connect 4 -1 udp://time.google.com:123
e6e0 3 net.c:177:mg_connect 5 -1 udp://8.8.8.8:53
e6e5 3 net_builtin.c:997:mg_connect_r 5 10.1.1.210:32768 -> 8.8.8.8:53
ea81 2 main.c:26:timer_fn Ethernet: ready, IP: 10.1.1.210, rx:4, tx:5, dr:0, er:0 RAM: 12060/39587
ee69 2 main.c:26:timer_fn Ethernet: ready, IP: 10.1.1.210, rx:5, tx:5, dr:0, er:0 RAM: 12060/39587
f251 2 main.c:26:timer_fn Ethernet: ready, IP: 10.1.1.210, rx:5, tx:5, dr:0, er:0 RAM: 12060/39587
f299 3 net.c:151:mg_close_conn 4 -1 closed
f639 2 main.c:26:timer_fn Ethernet: ready, IP: 10.1.1.210, rx:5, tx:5, dr:0, er:0 RAM: 12060/39587
Wonder if i'm fighting spanning tree (i have rstp) enabled on the HP ... Well no RSTP on the D-Link
It seems like it gets a link quicker from POR , than programming ....
Well ... I'll wait for my other boards (en route from Ali...)
@tellurium
Thank you for your support ....
And still strange that a NVIC Reset if no link , brings the link up immediately on next boot.
/Bingo