Rocnetnode startup after halt

http://wiki.rocrail.net/doku.php?id=roc ... netnode-en

Rocnetnode startup after halt

Postby pmansvelder » 10.01.2014, 20:58

Hello Rob and others,
I have been experimenting with Rocnetnode and the Pi01/02 modules, and I think it is the best thing since sliced bread ;)
I have a minor issue with has to do with the setup in my layout: I want to use several Raspi's spread out. When I shut down Rocrail, it asks to shutdown the rocnetnodes, and that works fine (I really like that feature). This halts the Pi, and I want to keep it that way, and not shut down the power.
I was looking for a way to start the pi up from the halted state: the obvious way is to cycle the power, but I have found another way, which I think is better:
- On Rev2 Pi's, there is an unpopulated header (P06), that can be used for a reset button. This same button can also start up the pi after a halt. In all honesty, I haven't tried this myself yet, but it is well documented on the web and seems to work fine.
- On the older Pi (rev.1), this can also be done by wiring directly onto the board, but there is also another method: pin 5 and 6 on the P1 header are also usable as a 'start' button. This I tested, and I can confirm that briefly connecting ping 5 and 6 together on a 'halted' pi will start it. I intend to wire this to a pushbutton (preferably with a protective measure to make sure you don't press it accidentally) to start up each rocnetnode. This should work on both rev.1 and rev.2 boards.
Links:
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=24682
http://elinux.org/RPI_safe_mode

Peter Mansvelder
pmansvelder
 

Postby rjversluis » 11.01.2014, 09:03

Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 


Return to RocNetNode