2013-02-19 09:33 PM
I am using STM32F107RB for Ethernet Communication. If i am using only one STM32F107RB module there is no problem but when i connect two modules to two different systems via modscan32, one of the module responds properly and the other module does not responds, and after some time the other modules responds properly but the first module hangs up. This process continuous every time...
The corresponding code has been attached, please go through it and let me know where this problem can be tackled......Thanks in advance........ #time-waster #cross-post #do-it-right2013-02-26 06:41 AM
Yes.
It's called DHCP (dynamic host configuration protocol). You should find plenty of documentation in the internet. And, by the way: DHCP server generally use MAC addresses to discern it's clients. What happens if two devices in the LAN have the same MAC address ... ?2013-03-01 02:02 AM
Thanks a lot it worked when i enabled DHCP....
Well if two modules have the same mac address then at a time a single module will be responding i.e if A is responding then B will be idle and B starts responds A will be idle....2013-03-01 04:33 AM
You're supposed to purchase unique MAC addresses for each device. Doing it some other half-assed way pollutes the whole ecosystem.
2013-03-01 06:35 AM
''Well if two modules have the same mac address then at a time a single module will be responding''
And how will you control which one responds?!As clive1 says, this is a fundamentally flawed idea and will only lead to trouble...
http://en.wikipedia.org/wiki/MAC_address
Note the ''Lecture'' in the preamble to this pagehttp://www.jmarshall.com/easy/http/
''Writing ... network programs requires more care than programming for a single machine. Of course, you have to follow standards, or no one will understand you. But even more important is the burden you place on other machines. Write a bad program for your own machine, and you waste your own resources (CPU time, bandwidth, memory). Write a bad network program, and you waste other people's resources. Write a really bad network program, and you waste many thousands of people's resources at the same time. Sloppy and malicious network programming forces network standards to be modified, made safer but less efficient. So be careful, respectful, and cooperative, for everyone's sake.''
2024-05-10 12:23 AM
Hi aru,
I am working on same MCU for ethernet, but its not working. I want to know which firmware package should be used.
Could you please share the firmware package version used?
Regards,
NaveenK
2024-05-10 11:09 AM
You're asking on an 11-year old thread, don't do that.
Stick with this one
Aren't there Ethernet examples for the STM3210C-EVAL board. There was a Golden Dragon board using the F107