Apr 18, 2021
11:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 18, 2021
11:17 PM
Hello,
I´m trying to send TCP Protocols through ethernet witth the XMC4800 to another device. Therefor I used the IOT-example (https://www.infineon.com/cms/en/product/promopages/aim-mc/dave_downloads.html) as a foundation for my code. When I run the example with my individual ÍP-, Gateway- and Mac-Adress it works. But when I try to run my own code, the debugger stays in the following if condition :
.
Does anybody know this problem?
Thanks for your help.
Best Regards,
Maxi
I´m trying to send TCP Protocols through ethernet witth the XMC4800 to another device. Therefor I used the IOT-example (https://www.infineon.com/cms/en/product/promopages/aim-mc/dave_downloads.html) as a foundation for my code. When I run the example with my individual ÍP-, Gateway- and Mac-Adress it works. But when I try to run my own code, the debugger stays in the following if condition :
.
Does anybody know this problem?
Thanks for your help.
Best Regards,
Maxi
Solved! Go to Solution.
1 Solution
Jun 09, 2021
12:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 09, 2021
12:31 AM
In register ETH0_GMII_ADDRESS.PA, you need to write the address of the Phy chip (range: 1 ... 31). You das it?
If this address is unknown, so: When initializing Ethernet Phy, you can search for Phy-address by enumerating all addresses in the range 1 ... 31. And try to read Phy at every address.
If this address is unknown, so: When initializing Ethernet Phy, you can search for Phy-address by enumerating all addresses in the range 1 ... 31. And try to read Phy at every address.
3 Replies
Apr 27, 2021
01:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 27, 2021
01:24 AM
Hi!
Did you set PHY address to 1? Default is 0 and it didn't work for me either....
Regards,
Hubert
Did you set PHY address to 1? Default is 0 and it didn't work for me either....
Regards,
Hubert
Jun 08, 2021
12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 08, 2021
12:49 AM
Hey,
Sorry for my late response! Thanks for your reply. Yes, I tried to change the PHY address but it didn´t worked. Did the example code worked for you with the other PHY address?
Regards,
maxi
Sorry for my late response! Thanks for your reply. Yes, I tried to change the PHY address but it didn´t worked. Did the example code worked for you with the other PHY address?
Regards,
maxi
Jun 09, 2021
12:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 09, 2021
12:31 AM
In register ETH0_GMII_ADDRESS.PA, you need to write the address of the Phy chip (range: 1 ... 31). You das it?
If this address is unknown, so: When initializing Ethernet Phy, you can search for Phy-address by enumerating all addresses in the range 1 ... 31. And try to read Phy at every address.
If this address is unknown, so: When initializing Ethernet Phy, you can search for Phy-address by enumerating all addresses in the range 1 ... 31. And try to read Phy at every address.