-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate
- Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
- Tested with the latest version to ensure the issue hasn't been fixed
How often does this bug occurs?
always
Expected behavior
I expect to be able to use an H2 Unit in the PORT.C. I configure it, but the firmware does not provide 5V to the PORT.C 5V pin, so H2 unit is not powered and CoreS3 is rebooting constantly.
If I flash another firmware before which does it, and then I keep the unit alive and reflash the BR firmware, then it works. But it will be working well only until the next power cycle.
Actual behavior (suspected bug)
It should work always ok, and survive power cycle.
Obviously, it would be great if you provide a Kconfig entry to select between a H2 module and a H2 unit, which should deactivate the RCP update feature and remap TX/RX pins to 17/18.
Error logs or terminal output
Steps to reproduce the behavior
I can make it fail by simply flashing the m5stack border router firmware, even if I set the correct pins for the RCP communication and disable the RCP feature.
I can make it work ok using these steps (ephemeraly, because the system will become useless on next power cycle):
- First I flash UIFlow2 (or other firmware which correctly activates the 5V line in the PORT.C).
- then I reflash the border router firmware, which will not deconfigure the i2c peripheral which controls the 5V line.
If I do not do it this way, current firmware does not provide power to H2 unit, and then the CoreS3 is always rebooting because it thinks there is no H2 unit on it.
Project release version
master
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
Ubuntu 22.04
Shell
Bash
Additional context
I assume you have developed the CoreS3 port using this module:
https://docs.m5stack.com/en/module/Module%20Gateway%20H2
I am trying with this one:
https://docs.m5stack.com/en/unit/Unit%20Gateway%20H2
Thanks for your fantastic job.
BR.