Trouble with GatewayW5100
-
Just updated to v2.0 and uploaded the GatewayW5100 example to a Nano with W5100 Ethernet board that I had been using with v1.5. I did un-comment the line "#define MY_W5100_SPI_EN 4 " so it would use Soft SPI. In the serial monitor, I get this:
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0) 0;255;3;0;9;TSM:INIT 0;255;3;0;9;!TSM:RADIO:FAIL 0;255;3;0;9;!TSM:FAILURE 0;255;3;0;9;TSM:PDT
I doubt it's a radio failure because it was receiving messages just fine before I uploaded the new gateway sketch. Any ideas?
-
I didn't need to un-comment that line . I am using a W5100 shield. The only change I made to the sketch was to add my Ip adress. I think you may be stopping software spi by un-commenting that line.
-
@Boots33 - You'd the Man Boots!!! That was it. Commented that line out, and it's working! After inspecting the code again, I noticed the "!" (NOT) defined for "MY_W5100_SPI_EN" which indeed must have stopped Soft SPI. Thanks again!
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 28 Mar 2025, 12:28 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28