Skip to main content
aru
Associate II
February 20, 2013
Question

Ethernet Communication

Posted on February 20, 2013 at 06:33

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-right
    This topic has been closed for replies.

    15 replies

    chethurocks
    Associate II
    February 20, 2013
    Posted on February 20, 2013 at 08:03

    Even i'm facing the same problem...

    frankmeyer9
    Associate III
    February 20, 2013
    Posted on February 20, 2013 at 09:32

    Could the boards have the same (default) MAC address ?

    Tesla DeLorean
    Guru
    February 20, 2013
    Posted on February 20, 2013 at 13:30

    MAC address, and fixed IP address? Both pretty basic Ethernet and TCP/IP concepts.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Andrew Neil
    Super User
    February 20, 2013
    Posted on February 20, 2013 at 15:16

    Same question on the Keil forum had already received the same answer yesterday:

    http://www.keil.com/forum/22357/

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Tesla DeLorean
    Guru
    February 20, 2013
    Posted on February 20, 2013 at 16:20

    Forget Zombies, the Unthinking Living scare me...

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    aru
    aruAuthor
    Associate II
    February 21, 2013
    Posted on February 21, 2013 at 05:28

    Thanks for all of u..... i am given the same mac address that is problem......

    aru
    aruAuthor
    Associate II
    February 21, 2013
    Posted on February 21, 2013 at 05:29

    Thanks for all of u..... i am given the same mac address that is problem......

    Andrew Neil
    Super User
    February 21, 2013
    Posted on February 21, 2013 at 14:12

    How about also acknowledging the reply you received to your original post in the Keil forum?

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    chethurocks
    Associate II
    February 26, 2013
    Posted on February 26, 2013 at 08:10

    Hi, 

        Is there any way of assigning the IP address Dynamically(as it is done in the computers network configuration).... If it is possible then could you please tell me about that thing......

    Thanks in advance ..........
    frankmeyer9
    Associate III
    February 26, 2013
    Posted on February 26, 2013 at 15:41

    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 ... ?