[beagleboard] BBB eMMC failure

2021-01-07 Thread Edu Galvez
Hi,

We have a BBB returned from the field after just 3 months of operation. It 
runs kernel 3.8.13, and console shows the "C" letter when booting from 
eMMC, indicating that there is no valid boot.
Booting from an external SD Card with the latest debian image available 
works, but it shows this message:
*mmc1: error -110 whilst initialising MMC card*

Obviously, mmc1 does not appear on the /dev list, so we cannot use the 
mmc-utils tool to read the eMMC 

We have measured the supply voltages:
- VDD_3V3A - 3.3V
- VDD_3V3B - 3.4V

We are pretty confident about the surrounding hardware and software, as 
there are around 2k devices on the field, summing more than 12 millions 
hours of operations with no failure.

Any idea on how to proceed to find out the failure root cause?

Thanks!

-- 
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/f2c9420d-a8c9-43a5-84f4-d14723ae25a8n%40googlegroups.com.


Re: [beagleboard] 4-20 ma measurement with beaglebone black

2021-01-07 Thread Caarloss
Hi, I'm designing ESD protections to 4-20 loop interface on Beagle Bone 
analogic input. which is the clamp voltage of any TVS zener that i could 
use? Thxs

El martes, 10 de abril de 2018 a las 16:04:08 UTC+2, robson...@gmail.com 
escribió:

> Hi 
>
> As I am also working on beaglebone  to 
> measure 4-20mA sensor output with  Receiver module 
> 
>  
> using less power
>
> can anyone help me out with code to interface the 4-20mA current loop 
> Receiver with beaglebone please ??
>
>
>
>
> On Thursday, August 18, 2016 at 10:36:14 PM UTC+5:30, drhun...@gmail.com 
> wrote:
>>
>> There is a TI reference design for 4-20mA loop interfaces 
>> http://www.ti.com/tool/tida-00550. It is designed as a cape.
>> Iain
>>
>> On Thursday, August 18, 2016 at 4:24:45 PM UTC+1, Graham wrote:
>>>
>>> If you would think to Google "4-20 mA receiver" you could learn a lot.
>>>
>>> Peripheral IC's from TI and Maxim that have most everything you need all 
>>> ready designed in.
>>>
>>> Modules you could interface to the BBB, etc.
>>>
>>> Application notes on how to design receivers, and things to worry about, 
>>> common system problems that people have had with this circuit for the last 
>>> 50 years.
>>>
>>> Good luck.
>>>
>>> ==
>>>
>>>
>>>
>>>
>>>
>>> On Thursday, August 18, 2016 at 10:03:12 AM UTC-5, Przemek Klosowski 
>>> wrote:

  On 8/17/2016 5:26 PM, bali...@gmail.com wrote: 

> I am wondering if a beaglebone black can be used to measure industrial 
> 4-20 ma loops?  I see there is an ADC feature, but the voltage range is 
> only to 1.8V.  Is it possible to set it up to work with the standard 
> 24VDC 
> circuitry involved with most 4-20ma loops?
>
> A 90 ohm resistor carrying 20mA will develop a voltage of 1.8V. This 
 is cutting it a little close, so I recommend 68 ohm, which is a more 
 standard/easier to find value anyway. So, just terminate your 4-20mA line 
 with this resistor, and connect it to the Beaglebone analog input. Of 
 course if you're in an industrial environment you need to watch out for 
 transients, noise and interference, especially since the Beaglebone inputs 
 are famously fragile, so include some serious input protection (e.g. four 
 diodes connected as two anti-parallel 2-diode chains, with a filter cap 
 across it and maybe some series resistance). Then again, you could follow 
 evilwulfie's advice to use a dedicated buffer op-amp.



-- 
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/3b161515-7f62-420d-9732-afa02d710f33n%40googlegroups.com.


Re: [beagleboard] turn on LED when BBBW is powered on

2021-01-07 Thread ha ppay
Dear All
Does anyone have any ideas?
If you have any ideas on how to add LEDs, please let me know.
Regards,

2021年1月7日木曜日 10:37:31 UTC+9 ha ppay:

>
>
> Hi
> Thank you for your reply, and the book's title!
> I checked table of contents of the book.
> Maybe, The Chapter 6 is that? 
> I have experiences to control GPIO by python, and configure the device 
> tree's defualt setting, write to value&direction file.
> I changed the GPIO Pin setting of device tree file to out&High for the LED 
> turn on when bbb is powered on.
> But I can't find the method to turn off the LED in a few seconds. I tried 
> to write python script to turn  off the LED, and Systemd run the service 
> script( using the After setting is "generic-board-startup.service ). 
> but the timing is over 1minutes from the bbbw is powered on!   
> I'm looking for the information of "as soon as bbb is powered on".
> I'm not familiar with embedded Linux. In particular, I have little idea 
> about the behavior of driver-related programs. I'm wondering if the 
> driver's program should do this.
>
> 2021年1月6日水曜日 22:39:14 UTC+9 iguana...@googlemail.com:
>
>> Hi! 
>> Yes! I'm pretty sure that the Derek Molloy's "Exploring BeagleBone: 
>> Tools and Techniques for Building with Embedded Linux" book has the 
>> examples that you are looking for in various programming languages.
>>
>> El mié., 6 de ene. de 2021 10:16, BBBW User A  
>> escribió:
>>
>>>
>>> Hi everyone.
>>>
>>> I'm BBBW user.
>>> Could you tell me below question.
>>>
>>> Is there a wai to turn on the GPIO Controlled LED for a few seconds as 
>>> soon as the bbbw is powered on, like user leds?
>>> and How to do it?
>>>
>>> Regards,
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/beagleboard/364a2d6d-897f-4c72-99e0-4008f5504c77o%40googlegroups.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/0a6c3263-ab7f-4b92-80a6-ad2f4cd5ff1dn%40googlegroups.com.


Re: [beagleboard] turn on LED when BBBW is powered on

2021-01-07 Thread jonnymo
I think what you are looking for is a bit lower level than the Kernel since
you are looking to control the LEDs at power on.
You may want to have a look at the Boot Sequence of the BBB and see if
there is a place you can set this like you want. I'm not sure if you can do
this from U-Boot though.
https://elinux.org/EBC_Exercise_21a_Boot_Sequence

The other option is to set a cron job to turn off the LED at reboot
considering you are already turning it on from the device tree. You may
have to play with the timing to get it the way you want. However depending
on what happens at boot, the timing could be off.
Ex:
https://billwaa.wordpress.com/2014/10/03/beaglebone-black-launch-python-script-at-boot-like-arduino-sketch/

Jon


On Thu, Jan 7, 2021 at 9:15 PM ha ppay  wrote:

> Dear All
> Does anyone have any ideas?
> If you have any ideas on how to add LEDs, please let me know.
> Regards,
>
> 2021年1月7日木曜日 10:37:31 UTC+9 ha ppay:
>
>>
>>
>> Hi
>> Thank you for your reply, and the book's title!
>> I checked table of contents of the book.
>> Maybe, The Chapter 6 is that?
>> I have experiences to control GPIO by python, and configure the device
>> tree's defualt setting, write to value&direction file.
>> I changed the GPIO Pin setting of device tree file to out&High for the
>> LED turn on when bbb is powered on.
>> But I can't find the method to turn off the LED in a few seconds. I tried
>> to write python script to turn  off the LED, and Systemd run the service
>> script( using the After setting is "generic-board-startup.service ).
>> but the timing is over 1minutes from the bbbw is powered on!
>> I'm looking for the information of "as soon as bbb is powered on".
>> I'm not familiar with embedded Linux. In particular, I have little idea
>> about the behavior of driver-related programs. I'm wondering if the
>> driver's program should do this.
>>
>> 2021年1月6日水曜日 22:39:14 UTC+9 iguana...@googlemail.com:
>>
>>> Hi!
>>> Yes! I'm pretty sure that the Derek Molloy's "Exploring BeagleBone:
>>> Tools and Techniques for Building with Embedded Linux" book has the
>>> examples that you are looking for in various programming languages.
>>>
>>> El mié., 6 de ene. de 2021 10:16, BBBW User A 
>>> escribió:
>>>

 Hi everyone.

 I'm BBBW user.
 Could you tell me below question.

 Is there a wai to turn on the GPIO Controlled LED for a few seconds as
 soon as the bbbw is powered on, like user leds?
 and How to do it?

 Regards,

 --
 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...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/beagleboard/364a2d6d-897f-4c72-99e0-4008f5504c77o%40googlegroups.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/0a6c3263-ab7f-4b92-80a6-ad2f4cd5ff1dn%40googlegroups.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/CAG99bkr9624bCTGtOeq%2BmZSsA43q3CSNTk%2BdAkYRadYTEueOPA%40mail.gmail.com.


[beagleboard] Dual Ethernet

2021-01-07 Thread acheesehead
We have a custom board based upon the BBB. Added a second phy at MDIO 
address 5. Modified device tree to mux pins and set up phys. When the board 
boots I do a grep on dmesg for mdop/ I see a mask 0xffef, when I should 
see a mask of 0xffcf. I am having trouble understanding where this mask 
comes from. According to the AM335x datasheet, the mask should be from the 
Ethernet MDIO register alive register, inverted. When does this register 
get populated?
Thanks!

-- 
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/a2721f4a-cb17-4725-96ab-b49b066258e9n%40googlegroups.com.