RUN breakout on B+
Does anyone know what is the purpose of the RUN breakout (2 pins holes) just next to the leds of B+?
- mahjongg
- Forum Moderator
- Posts: 14922
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: RUN breakout on B+
reset header.
Re: RUN breakout on B+
That's really strange to name a "reset" as "Run" !
Did someone already tested it on a B+
Did someone already tested it on a B+
Re: RUN breakout on B+
Because it is connected to the "RUN" pin on the chip, which when held high (via a resistor) lets the chip run. When the link is connected it shorts that pin to ground and clears the RUN state.domeu wrote:That's really strange to name a "reset" as "Run" !
It works for me.Did someone already tested it on a B+
Re: RUN breakout on B+
@rpdom: thank for the explanation. It is a very valuable response
- mahjongg
- Forum Moderator
- Posts: 14922
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: RUN breakout on B+
closing the run header resets the PI from a shutdown situation, so it restarts.
Re: RUN breakout on B+
Has anyone experimented with this header? I would be intrested to know if closing and opening these pins will bring the PRi out of the halt state like the P6 header will do on the previous models.
Re: RUN breakout on B+
yes it is the samexjonx wrote:Has anyone experimented with this header? I would be intrested to know if closing and opening these pins will bring the PRi out of the halt state like the P6 header will do on the previous models.
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
Re: RUN breakout on B+
You're the best! 

JON,
Weather Underground - KMDPASAD30 - bit.ly/ZMWX1
Google+ j.Mp/jon_ggl
Weather Underground - KMDPASAD30 - bit.ly/ZMWX1
Google+ j.Mp/jon_ggl
Re: RUN breakout on B+
are these pins by any chance readable via software?
my idea is to have the state change to also trigger a shutdown command when the raspi is on. would that be even possible?
my idea is to have the state change to also trigger a shutdown command when the raspi is on. would that be even possible?
Raspbian, Raspberry Pi 2 Model B V1.1
Re: RUN breakout on B+
no it is a direct link to the GPU resetnxet wrote:are these pins by any chance readable via software?
my idea is to have the state change to also trigger a shutdown command when the raspi is on. would that be even possible?
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
-
- Posts: 3
- Joined: Wed Jun 13, 2012 7:59 pm
Re: RUN breakout on B+
Not using those pins, but using a GPIO pin you can. Something like this:nxet wrote:are these pins by any chance readable via software?
my idea is to have the state change to also trigger a shutdown command when the raspi is on. would that be even possible?
http://www.instructables.com/id/Simple- ... wn-Button/
Using this you would end up with a button to shutdown the pi to the halt state (power on, but not running), and another button to restart the pi (from any state, including running and halt).
I've not implemented this myself yet, but it is on my list of thing to do for my OctoPi printer host.
Hope this helps.
Re: RUN breakout on B+
Has anyone tried tose on a 3B+ Model?
I suppose they are located right under Pin 39 (GND) next to the usb port.
I carefully soldered wires to them but it seems that they response very sensitively. I tried short circuiting them over a kOhm-Resistor but it is not allways effective. It seems they response to static electricity too and i am afraid a cable would maybe even act as antenna scince the device reboots when i move the device in physical area when running. Is there a more proper way to use Run-pins?
I suppose they are located right under Pin 39 (GND) next to the usb port.
I carefully soldered wires to them but it seems that they response very sensitively. I tried short circuiting them over a kOhm-Resistor but it is not allways effective. It seems they response to static electricity too and i am afraid a cable would maybe even act as antenna scince the device reboots when i move the device in physical area when running. Is there a more proper way to use Run-pins?
- DougieLawson
- Posts: 42483
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
Re: RUN breakout on B+
One of the run pins is just a GND [round pin]. The other [square pin] is the signal which pulls the _RESET_ pin on the processor LOW when you ground it. So the way to avoid spurious resets you need a 10K pullup on the signal pin to 3V3 so that the pin doesn't float and you don't get noise when your long wire acts as an antenna.
Last edited by DougieLawson on Thu Nov 30, 2017 5:19 pm, edited 1 time in total.
Languages using left-hand whitespace for syntax are ridiculous
DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
Re: RUN breakout on B+
Thank you i forgot about this tri-state-thing. But the location of the pins on model 3b+ is correct (between GPIO-Pins and USB-Ports roughly on the upper right corner)?
Re: RUN breakout on B+
Yes..... look for the RUN silk screen label on the board.
"Tri state" has nothing to do with the RUN pins or any other pins on the RPi......
Unless specified otherwise my response is based on the latest and fully updated RPi OS Bullseye w/ Desktop OS.
Re: RUN breakout on B+
I am not sure what you mean?
Tri-State is a decades old feature of some chips that allow the outputs to be turned off like a switch: https://en.wikipedia.org/wiki/Three-state_logic
The RUN circuit has no such controls.
Unless specified otherwise my response is based on the latest and fully updated RPi OS Bullseye w/ Desktop OS.
Re: RUN breakout on B+
Right, thanks for the rectification i got confused.
The last question would be wich one is input and wich one is gnd on pi model 3B+ i can't make that out.
The last question would be wich one is input and wich one is gnd on pi model 3B+ i can't make that out.
Re: RUN breakout on B+
If you look carefully at the pads around the holes, one is square and one is round. The round one is the GND side.
-
- Posts: 3
- Joined: Thu Aug 30, 2018 1:02 am
Re: RUN breakout on B+
Sorry for commenting on such an old thread but am wondering if it is possible to discern pro grammatically, the difference between a reset performed by utilizing the run header versus a normal shutdown or reboot versus a power loss/power applied.
I want to incorporate a reset switch on my pi that when triggered, runs a script to reconfigure the dhcpcd.conf file to a default setting. I am trying to avoid eating up any GPIO pins as I utilize most of them currently and have ideas for near future that would utilize the remaining.
I am fine with the pi rebooting/shutting down during the reset, as long as there is a way for me to know the reset was triggered by the run trigger versus some other reboot condition.
Mike
I want to incorporate a reset switch on my pi that when triggered, runs a script to reconfigure the dhcpcd.conf file to a default setting. I am trying to avoid eating up any GPIO pins as I utilize most of them currently and have ideas for near future that would utilize the remaining.
I am fine with the pi rebooting/shutting down during the reset, as long as there is a way for me to know the reset was triggered by the run trigger versus some other reboot condition.
Mike
Re: RUN breakout on B+
Not entirely sure how useful or usable it is or what you will be able to discern between but I would start with investigating -smbrandonjr wrote: ↑Thu Aug 30, 2018 2:29 pmam wondering if it is possible to discern pro grammatically, the difference between a reset performed by utilizing the run header versus a normal shutdown or reboot versus a power loss/power applied.
vcgencmd get_rsts
That however just returns "get_rsts=34" for me after a reboot or a shutdown then power cycle. No access to the RUN header so don't know if that, or power-fail, will set any extra bits.
-
- Posts: 3
- Joined: Thu Aug 30, 2018 1:02 am
Re: RUN breakout on B+
Thanks for pointing me in that direction. Unfortunately I am unable to use that value to discern between a run reset or a power reset during my testing.but I would start with investigating -
vcgencmd get_rsts
Mike
Re: RUN breakout on B+
Two options I can think of. First is speculative in that you could create your own bootcode.bin which gets early access to the PM_RSTS register and can stash that away somewhere and then daisy-chain to the real bootcode.bin. But if the ROM bootloader has read and reset PM_RSTS already you'll have nothing to read.
Second, and probably easier, is to use a hardware solution. You might be able to avoid using any GPIO pins if you turn that into a USB device from which you can read whether power was present when reset asserted, and you could probably modify the Pi software so that knows if a safe reboot or shutdown was performed.
One difficulty these days may be the introduction of PMIC chips which may hold the device in reset until power is present. You might need to have a proxy reset button so you can tell if that were pushed or not.
Second, and probably easier, is to use a hardware solution. You might be able to avoid using any GPIO pins if you turn that into a USB device from which you can read whether power was present when reset asserted, and you could probably modify the Pi software so that knows if a safe reboot or shutdown was performed.
One difficulty these days may be the introduction of PMIC chips which may hold the device in reset until power is present. You might need to have a proxy reset button so you can tell if that were pushed or not.