-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device ETH does not work in Release 14.3.0 of "tasmota32-zbbrdgpro.bin" #22367
Comments
Strange. @Jason2866 any hint what |
The difference is maybe, in the standard framework the PSRAM GPIOs are "freed" in Tasmota after check for PSRAM. Could it be that this is not done or not working when the framework ITEAD is used where the PSRAM GPIOs are changed to |
I don't have the board at hand until in a few days. That's worth digging indeed |
@s-hadinger Will this be done with changed PSRAM GPIOs? Lines 404 to 424 in faf6e66
Probably not since PSRAM is found. So GPIO 17 is "blocked" for the use with the LAN8720 chip. |
@s-hadinger I have one. Let me chk. |
Yep this fixed it:
Now I have to find a way how to detect which pins are used specifically for PSRAM.... Notice good bootlog with -DFRAMEWORK_ARDUINO_ITEAD:
|
You have this in sdkconfig
or GPIO 16/17 there when standard framework is used. |
Adding some debug info shows that the follwoing GPIO's are reserved:
shows FFFFFFFCF1040FE0 = GPIO's 5,6,7,8,9,10,11,18,24,28,29,30,31,34,35,36,37,38,39. I think it's safe to revoke all four GPIO's in case no PSRAM is found. So final fix will be:
|
Oh I just missed your amendmend. Let me test these defines..... |
Isn't it still failing when PSRAM is found when GPIOs 5 and 18 are used? |
The PSRAM test is in IDF file So if it finds PSRAM, ethernet will fail. Anyway, your suggestion to use sdkconfig defines works out well. This will be the final fix:
Offtopic: What a huge difference in compile speed between "normal" tasmota32 and tasmota-zbbrdgpro:
|
Yes, all not needed Tasmota libs for zbbrdgpro are removed so it compiles very fast. |
@arendst Close to solution. Since no PSRAM is used in safeboot variants it fails there. |
Bugger. I just noticed too. Will change. |
Finally works again for me. |
works also for me - thanks for the quick solution! |
@arendst, I attempted to compile Tasmota for the ESP32 using the Arduino framework, but the build failed due to a missing declaration for esp_gpio_revoke. I'm receiving the following error: After commenting out this line, the compilation completes successfully. I’m new to this development environment, so it’s possible I may have overlooked something in my setup. However, as far as I know, esp_gpio_revoke is not included in the Arduino core for ESP32, which could be the source of this issue. Any insights or guidance on this would be greatly appreciated! |
PROBLEM DESCRIPTION
_A clear and concise description of what the problem is._I'm using tasmota32-zbbrdgpro.bin for my Athom Zigbee Gateway connected my wire (ethernet). It worked perfect until Relese 14.2.0. After upgrade to Releses 14.3.0, the ZB-Gatewywas only available via Wifi - Ethernet was enabled (according console) but did not work. - Upgrade to latest development Release 14.3.0.2 did not help.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
: 18:35:04.362 CMD: Backlog Template; Module; GPIO 25518:35:04.379 RSL: RESULT = {"NAME":"Athom Zigbee Bridge","GPIO":[32,0,0,0,0,0,0,0,3552,0,3584,544,0,0,5600,0,0,0,0,5568,0,0,0,0,0,0,0,1,5792,0,0,0,0,0,0,0],"FLAG":0,"BASE":1}
18:35:04.610 RSL: RESULT = {"Module":{"0":"Athom Zigbee Bridge"}}
18:35:04.868 RSL: RESULT = {"GPIO0":{"32":"Button1"},"GPIO1":{"0":"None"},"GPIO2":{"0":"None"},"GPIO3":{"0":"None"},"GPIO4":{"0":"None"},"GPIO5":{"0":"None"},"GPIO6":{"0":"None"},"GPIO7":{"0":"None"},"GPIO8":{"0":"None"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO11":{"0":"None"},"GPIO12":{"3552":"Zigbee Tx"},"GPIO13":{"0":"None"},"GPIO14":{"3584":"Zigbee Rx"},"GPIO15":{"544":"LedLink"},"GPIO16":{"0":"None"},"GPIO17":{"0":"None"},"GPIO18":{"5600":"ETH MDIO"},"GPIO19":{"0":"None"},"GPIO20":{"0":"None"},"GPIO21":{"0":"None"},"GPIO22":{"0":"None"},"GPIO23":{"5568":"ETH MDC"},"GPIO24":{"0":"None"},"GPIO25":{"0":"None"},"GPIO26":{"0":"None"},"GPIO27":{"0":"None"},"GPIO32":{"5792":"Zigbee Rst1"},"GPIO33":{"0":"None"},"GPIO34":{"0":"None"},"GPIO35":{"0":"None"},"GPIO36":{"0":"None"},"GPIO37":{"0":"None"},"GPIO38":{"0":"None"},"GPIO39":{"0":"None"}}
Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
_Steps to reproduce the behavior:_Install Firmware above 14.2.0 on Athom Zigbee Bridge and try to connect via Ethernet
EXPECTED BEHAVIOUR
_A clear and concise description of what you expected to happen._Ethernet connection works
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
After some trials with self compilation - I could make Ethernet working in zbbrdgpro firmware with leaving away (commenting out)
the -DFRAMEWORK_ARDUINO_ITEAD - It works for my Athom Zigbee Gateway but will probably not work for other Zigbee Bridges.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: