Wiznet / RP2040-HAT-MicroPython

54 stars 22 forks source link

W5500 does not work with latest 1.05 #11

Closed harbaum closed 2 years ago

harbaum commented 2 years ago

With the latest 1.05 release the w5500 doesn't seem to work and the register output looks rather odd:

Wiz CREG:
  0000: 00 00 00 00 00 00 00 00 c0 c0 c0 c0 00 00 00 00
  0010: b5 b5 b5 b5 00 00 00 00 72 72 72 72 00 00 00 00
  0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0030: ef ef ef ef 00 00 00 00 f1 f1 f1 f1 00 00 00 00
  0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Wiz SREG[0]:
  0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0010: 4b 4b 4b 4b 00 00 00 00 6e 6e 6e 6e 00 00 00 00
  0020: 93 93 93 93 00 00 00 00 00 00 00 00 00 00 00 00
Wiz SREG[1]:
  0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0010: c0 c0 c0 c0 00 00 00 00 3b 3b 3b 3b 00 00 00 00
  0020: 93 93 93 93 00 00 00 00 00 00 00 00 00 00 00 00
Wiz SREG[2]:
  0000: 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00
  0010: 5c 5c 5c 5c 00 00 00 00 12 12 12 12 00 00 00 00
  0020: 93 93 93 93 00 00 00 00 ff ff ff ff 00 00 00 00
Wiz SREG[3]:
  0000: 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00
  0010: 4e 4e 4e 4e 00 00 00 00 3a 3a 3a 3a 00 00 00 00
  0020: 93 93 93 93 00 00 00 00 ff ff ff ff 00 00 00 00

The same hardware works with the old 1.04:

Wiz CREG:
  0000: 00 c0 a8 01 01 ff ff ff 00 00 08 dc ab cd ef c0
  0010: a8 01 14 00 00 00 00 00 00 07 d0 08 28 00 00 00
  0020: 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 ba 00
  0030: 00 00 00 00 00 00 00 78 25 04 00 00 00 00 00 00
  0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Wiz SREG[0]:
  0000: 00 00 00 00 00 00 ff ff ff ff ff ff 00 00 00 00
  0010: 00 00 00 00 00 00 80 00 00 00 00 00 00 00 02 02
  0020: 08 00 00 00 00 00 00 00 00 00 00 00 ff 40 00 00
Wiz SREG[1]:
  0000: 00 00 00 00 00 00 ff ff ff ff ff ff 00 00 00 00
  0010: 00 00 00 00 00 00 80 00 00 00 00 00 00 00 02 02
  0020: 08 00 00 00 00 00 00 00 00 00 00 00 ff 40 00 00
Wiz SREG[2]:
  0000: 00 00 00 00 00 00 ff ff ff ff ff ff 00 00 00 00
  0010: 00 00 00 00 00 00 80 00 00 00 00 00 00 00 02 02
  0020: 08 00 00 00 00 00 00 00 00 00 00 00 ff 40 00 00
Wiz SREG[3]:
  0000: 00 00 00 00 00 00 ff ff ff ff ff ff 00 00 00 00
  0010: 00 00 00 00 00 00 80 00 00 00 00 00 00 00 02 02
  0020: 08 00 00 00 00 00 00 00 00 00 00 00 ff 40 00 00
irinakim12 commented 2 years ago

sorry. I uploaded another file. It has been corrected now, so please download and check it.

harbaum commented 2 years ago

Yes, thanks. Working again.

But the problem explained in #7 is still present. Clicking the ON/OFF button in the HTTP server a few times reliably breaks the setup.