Re: [beagleboard] Beaglebone Black won't boot sometimes

2017-01-26 Thread Yiling Cao
If you still want to use the same pins, you can create an extra enable pin,
after everything boots up into the kernel, use gpio_request and gpio_output
to enable to the (EN pin) of power supply of your motor.

In this way you prevent SYSBOOT affected and other voltage flows in, to
affect power up sequence.

On Fri, Jan 27, 2017 at 7:44 AM, Justin Pearson 
wrote:

> On Thursday, January 26, 2017 at 12:34:54 PM UTC-8, RobertCNelson wrote:
>>
>> See Page 106/107 of:
>>
>> https://github.com/beagleboard/BeagleBone-Black/blob/master/BBB_SRM.pdf
>>
>
> Thanks Robert. For our viewers at home, the BBB uses pins lcd_data0 thru
> 15 as "SYSBOOT" pins that configure where the device boots from.
>
> Derek Molloy's table
> 
> shows that those correspond to header pins P8_31 thru P8_46 (not
> necessarily in that order).
>
> My rotary encoder may have been asserting a voltage on some of those pins.
> Next time I'll try unplugging it.
>
> Thanks very much!
> -Justin
>
>
>
>
>> Regards,
>>
>> --
>> Robert Nelson
>> https://rcn-ee.com/
>>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/f4954c13-91b3-4bb7-82e4-7282aaaddd6a%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yiling Cao
http://ariaboard.com/
http://shanghainovotech.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAMMUdpKwvQ1frCkh40ABkb67mh3b%3DT56uhXptJnBUbO02kf1%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone Black won't boot sometimes

2017-01-26 Thread Justin Pearson
On Thursday, January 26, 2017 at 12:34:54 PM UTC-8, RobertCNelson wrote:
>
> See Page 106/107 of:
>
> https://github.com/beagleboard/BeagleBone-Black/blob/master/BBB_SRM.pdf 
>

Thanks Robert. For our viewers at home, the BBB uses pins lcd_data0 thru 15 
as "SYSBOOT" pins that configure where the device boots from.

Derek Molloy's table 
 
shows that those correspond to header pins P8_31 thru P8_46 (not 
necessarily in that order).

My rotary encoder may have been asserting a voltage on some of those pins. 
Next time I'll try unplugging it.

Thanks very much!
-Justin


 

> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/f4954c13-91b3-4bb7-82e4-7282aaaddd6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone Black won't boot sometimes

2017-01-26 Thread Robert Nelson
On Thu, Jan 26, 2017 at 2:29 PM, Justin Pearson
 wrote:
> I'm using my Beaglebone Black to drive a DC motor and read a rotary encoder:
>
> https://github.com/justinpearson/Beaglebone-motor-from-command-line/blob/master/Images/lil-motor-setup.jpg
>
> Last night when I rebooted my BBB, it shut down but didn't reboot: None of
> the 4 blue LEDs lit, although the blue LED by the 5V power plug did light up
> when I plugged it in.
>
> This behavior persisted across several plug/unplug cycles of the 5V power
> adapter. I was afraid I bricked my BBB.
>
> In desperation, I unplugged all the I/O (P8_33,34,35, P9_29,30,31). Then I
> plugged in the 5V power and it booted!
>
> Any idea why that happened, or how I could fix it in the future without
> unplugging all my I/O?

See Page 106/107 off:

https://github.com/beagleboard/BeagleBone-Black/blob/master/BBB_SRM.pdf

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgELUMGxejeeEfjReaoS7kXVR2%3DURSGhgMEgKVKnPJVYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Beaglebone Black won't boot sometimes

2017-01-26 Thread Justin Pearson
I'm using my Beaglebone Black to drive a DC motor and read a rotary encoder:

https://github.com/justinpearson/Beaglebone-motor-from-command-line/blob/master/Images/lil-motor-setup.jpg

Last night when I rebooted my BBB, it shut down but didn't reboot: None of 
the 4 blue LEDs lit, although the blue LED by the 5V power plug did light 
up when I plugged it in.

This behavior persisted across several plug/unplug cycles of the 5V power 
adapter. I was afraid I bricked my BBB.

In desperation, I unplugged all the I/O (P8_33,34,35, P9_29,30,31). Then I 
plugged in the 5V power and it booted!

Any idea why that happened, or how I could fix it in the future without 
unplugging all my I/O?

Thanks,
Justin

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/004d94de-68ee-44e6-b421-4e76d287e449%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.