-
Notifications
You must be signed in to change notification settings - Fork 2
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
picod fails with firmware 0x30 #11
Comments
This is actually slightly odd, as picod-2 specifically checks if it ever saw a HIGH before considering a LOW condition to initiate the shutdown. |
From the release-notes of the firmware: In my understanding GPIO 27 supplies a clock-signal. On the falling edge of GPIO 27 the watchdog expects a inversion of high/low on GPIO 22. For the loop I took over the 300ms of the original Python-script. Alternatively it should be possible to use Interrupt Service Routines with WiringPi on GPIO 27. |
Oh wow, that's a pretty significant change. The original just required the host to provide a pulse train with an arbitrary modulation; in fact, that's pretty much the opposite behavior, as it seemed the old Pico was requiring the host to provide that as its clock signal, not the other way around. I'll try to wire this up with a flag and see if I can't find a spec sheet somewhere that has an explanation of figuring out which version of the Pico we need... |
From I²C UPS PIco Programmers Registers:
|
What's the current state? |
I am experiencing the same problem, that as soon as I run picod with the HV3.0 (with new fw) my Pi shuts down. An update that is compatible with both versions of the Pico fw, would be great! |
I think I'll need to order some hardware for that, but the usual stores I get that stuff from aren't carrying the new hardware. I'll try again and see if it's in stock now. Unless someone else wants to hack at that main loop? :) |
I live in Ireland, and I'd prefer to grab that at a local store, what with shipping and all. If I can't find it here by EoM I'll order it abroad, but I really do wanna support the local store if they get it in before then :). |
When picod is started it immediately runs the shutdown command with firmware 0x30.
Have a look at my ASH-script for order of GPIO operations and debounce time.
The text was updated successfully, but these errors were encountered: