OpenIPC / ipctool

Simple tool (and library) for checking IP camera hardware
https://openipc.org
MIT License
163 stars 36 forks source link

GPIO scan use instructions? #76

Open LsrSal opened 1 year ago

LsrSal commented 1 year ago

Trying to configure GPIOs on "BLK18E-0012-38X38_S 50H10PE-S" board. It flashed without any issues (other than Ethernet needed some IOs enabled I guess, but that information was found.

I can do registry GPIO dump and there is no IR cut. Web interface has night mode disabled and no pins assigned. So GPIO scan appeared to be the right tool. I can scan and see the report, but there is no explanation how it works and what to expect. There is a message: "waiting to toggle some IOs". I did toggle inputs to the IR Cut driver chip, expecting they are inputs on 3518 when unconfigured and I should see the change, but nothing happens.

I'm also concerned tat if IO is already output - it can be blown by external stimulus. Most IOs on HiSi chips are only 4 or 8mA.

Would be nice to have a bit more explanation about GPIO scan:

I think whole community will benefit from these clarifications.

Cheers y'all!