JimW,you’re right, to make the python programs work, you have to move a copy of the BrickPi.py into the folder you’re executing on. I’ve added a note on the readme to try to make that more obvious. Thanks for pointing that out.
With our LEGO motor sample, are you using a 9V battery to power it? Is there a way you can try with a fresh 9V battery (right out of the packaging) or a 6XAA adapter? I suspect, from what you’ve put up here, that the battery might be worn down or unable to deliver the amperage needed to change direction of the motors. When the 5V rail drops low, the RPi will turn off. This could be what’s resetting it.
I’m curious if you change the battery or use a new power supply, if it improves performance at all.