Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 5 months ago.
USB Device & EthernetInterface support for DISCO-F746NG platform
Hi, when do you plan to add support for DISCO-F746NG board to the libraries USB-device and Ethernet Interface ? Regards, Ales
Question relating to:
3 Answers
8 years, 5 months ago.
I have just published Ethernet for the NUCLEO STM32F746ZG board . The disco board should be easy to adapt since only a few pin assignments are different. https://developer.mbed.org/users/DieterGraef/code/Nucleo_F746ZG_Ethernet/
with best regards Dieter Gräf
8 years, 5 months ago.
Hi, I want to use the board DISCO-F746 as a client to send data to the cloud service M2X.
First I tested the demo program DISCO-F746NG_Ethernet, desperately I can not get MAC Address 00: 00: 00 00: 00: 00 (read from my network router interface UI)
Then after eth.init() the program stops at the line: <EthernetInterface Initialize Error>
However the router fully recognize other Dev Board as my BEAGLEBONE Black (Ethernet connection)
I've updated all library. Did I forget something?
Thank you for help.
Do you use an external Compiler? At the moment only the mbed build in compiler and gcc are supported. The MAC address is hard coded in the file stm32f7_emac.c as a copy of the mbed defaults from mbed_interface.h and shouldnt be all 0. Please try to use the debugging features to be set up in the file lwipopts.h if you set the option #define NETIF_DEBUG LWIP_DBG_ON you should see in and out packets. I hope this helps Dieter
posted by 22 Jun 2016Yes I only use mbed online compiler. Does mac adress should be always 0 ? For debugging features I need to use external IDE such Keil ? Thank you.
posted by 22 Jun 2016I need to correct myself. I have just compared the mbed_dev version of mbed_interface.h with the version i worked with and found differences MAC should be all 0 now but i will change this to the required new behaviour. Note the Initialize Error also appears when something goes wrong with the dhcp you can check this to with a debug option in lwipopts.h #define DHCP_DEBUG LWIP_DBG_ON With best regards Dieter
posted by 22 Jun 2016Dieter,
I will try to get error during initialize with LWIP_DBG_ON define. And give feedback. Thank you for help Best regards
posted by 23 Jun 2016I have corrected the mac issue the mac is now 02:00:00 for ST and the sum over the unique device id (12 Bytes)
posted by 23 Jun 2016Wonderful it work only with mac adress and device change after library update. Thank you very much Dieter. Best regards
* Ethernet Demo uses NTP to set the clock * IP Address is 192.168.0.11 NetMask is 255.255.255.0 Gateway Address is 192.168.0.254 Ethernet Setup OK Getting time, 10s timeout. Time is set to : Thu Jun 23 10:31:51 2016 end of programm
And Mac adress get from router is < 02:00:00:00:01:EA - STM32F746 >
posted by 23 Jun 20168 years, 5 months ago.
Hi,
Work is on going to have Ethernet supported for DISCO-F746NG.
Thank you for promt answer. Do you have some estimate when it will be ready ? Do you plan to implement also support to the library USB-device ?
posted by 30 May 2016Hi,
I'll keep you informed as soon as I get more details on the planning to support both Ethernet and USB.
posted by 01 Jun 2016Do you know that Dieter Graef has made some working EthernetInterface for STM32F746NG-Discovery here: https://developer.mbed.org/questions/68763/EthernetInterface-for-STM32F746NG-Discov/?c=23005
He has asked for some kind of support but unfortunately without any response... !!??
posted by 15 Jun 2016