Search found 61 matches

by wangshujun@tom.com
Wed Mar 23, 2022 12:55 am
Forum: ESP32 boards
Topic: Olimex ESP32-POE: LAN works with 1.14 but not with later versions (made with IDF4)
Replies: 8
Views: 3197

Re: Olimex ESP32-POE: LAN works with 1.14 but not with later versions (made with IDF4)

Io16 and 17 are occupied by spiram. You can modify the configuration on the version without spiram and recompile micropython
by wangshujun@tom.com
Tue Nov 30, 2021 1:29 am
Forum: ESP32 boards
Topic: LAN8720
Replies: 7
Views: 7678

Re: LAN8720

#GPIO16 - SMI_MDC : MDC (relocateable)
#GPIO17 - SMI_MDIO : MDIO (relocateable)

These two IO can be mapped arbitrarily. I actually tested them with 18 and 23, and they worked perfectly
by wangshujun@tom.com
Tue Nov 30, 2021 12:57 am
Forum: ESP32 boards
Topic: LAN8720
Replies: 7
Views: 7678

Re: LAN8720

pythoncoder wrote:
Sat Jan 20, 2018 6:40 am
Apologies. Note to self: check subforum topic. I thought the question related to the Pyboard. :oops:
After comparison, lan8720 and lan8742 are completely compatible in basic registers. It can work normally to directly match the drive of lan8742 with the built-in MAC on the boards of f407 and h743
by wangshujun@tom.com
Wed Nov 17, 2021 11:36 am
Forum: MicroPython pyboard
Topic: Please help me, h743 Ethernet
Replies: 3
Views: 17339

Re: Please help me, h743 Ethernet

lwipopts.h

#define LWIP_CHECKSUM_CTRL_PER_NETIF 1 -> 0

It can solve the errors of large data packets
However, I believe that the ETH module of H7 can meet the checksum operation of large data packets. The problem should be the initialization setting
by wangshujun@tom.com
Wed Nov 17, 2021 1:26 am
Forum: MicroPython pyboard
Topic: Pyboard + W5500/W5200 Ethernet - Cant get it to work - MicroPython v1.11-422-g98c2eabaf
Replies: 19
Views: 82473

Re: Pyboard + W5500/W5200 Ethernet - Cant get it to work - MicroPython v1.11-422-g98c2eabaf

Download the package of 1.17 + daily update package from the official website, and the compilation will report the above error
If you clone directly from GitHub, the compilation is correct
by wangshujun@tom.com
Wed Nov 17, 2021 1:16 am
Forum: MicroPython pyboard
Topic: Please help me, h743 Ethernet
Replies: 3
Views: 17339

Re: Please help me, h743 Ethernet

After trying pybv11 + w5500, the LwIP system can correctly send 1460 TCP packets, so the restriction is more likely to exist in the ETH layer However, the actual test speed of w5500 is very disappointing. The wired network speed is not as fast as that of esp32. The network Ping operation of h743 is ...
by wangshujun@tom.com
Tue Nov 16, 2021 1:03 am
Forum: MicroPython pyboard
Topic: Please help me, h743 Ethernet
Replies: 3
Views: 17339

Re: Please help me, h743 Ethernet

More tests are reported in the GitHub problem. Now it can be determined that the problem is not TCP, but the underlying problem
https://github.com/micropython/micropython/issues/7980
by wangshujun@tom.com
Sat Nov 13, 2021 3:56 am
Forum: MicroPython pyboard
Topic: Please help me, h743 Ethernet
Replies: 3
Views: 17339

Please help me, h743 Ethernet

After the firmware of h743 sets MSS greater than 942, sending packets greater than 942 bytes will fail
If MSS is set to be less than 942, the sending process can transmit packets normally
I expect to set the MSS to a maximum of 1460 for normal Ethernet
by wangshujun@tom.com
Sat Nov 13, 2021 3:27 am
Forum: MicroPython pyboard
Topic: Pyboard + W5500/W5200 Ethernet - Cant get it to work - MicroPython v1.11-422-g98c2eabaf
Replies: 19
Views: 82473

Re: Pyboard + W5500/W5200 Ethernet - Cant get it to work - MicroPython v1.11-422-g98c2eabaf

I also encountered the same problem, compilation error

CC mpnetworkport.c
mpnetworkport.c: In function 'pyb_lwip_poll':
mpnetworkport.c:58:5: error: implicit declaration of function 'wiznet5k_poll' [-Werror=implicit-function-declaration]
58 | wiznet5k_poll();
| ^~~~~~~~~~~~~
by wangshujun@tom.com
Sat Oct 23, 2021 1:26 pm
Forum: ESP32 boards
Topic: The esp32-s3 module is already on sale. Will anyone follow up the migration
Replies: 6
Views: 3511

The attempt to compile failed. The daily update downloaded yesterday has no problem compiling esp32

[ 84%] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/wangshj/myesp32build/micropython-master/py/modcmath.c.obj In file included from /home/wangshj/myesp32build/micropython-master/py/mphal.h:35, from /home/wangshj/myesp32build/micropython-master/py/modbuiltins.c:232: /home/wangshj/mye...