2020-07-29 05:54 AM
Hello!
I created a project for NUCLEO-F429ZI with two ethernet interfaces.
The two ethernet interfaces work, but only if I enable software checksum generation on both interfaces.
Is there a way for the physical ethernet interface to use hardware checksum generation and the virtual one to use software checksum?
Solved! Go to Solution.
2020-08-01 09:43 AM
It's exactly the thing you required, therefore it is the right solution. :)
Also be warned:
2020-07-29 06:46 AM
Maybe solved:
On CubeMX/Checksum tab:
All other CHECKSUM_GEN_* options are enabled.
Then in lwip.c:
//For on-board ethernet:
NETIF_SET_CHECKSUM_CTRL(&gnetif, NETIF_CHECKSUM_DISABLE_ALL);
//For RNDIS:
NETIF_SET_CHECKSUM_CTRL(tu_netif_ptr, NETIF_CHECKSUM_ENABLE_ALL);
Now it seems to work, but is it the right solution?
2020-08-01 09:43 AM
It's exactly the thing you required, therefore it is the right solution. :)
Also be warned:
2020-08-02 11:25 AM
Thanks! :)