Re: [beagleboard] Booting BBB Clone

2019-01-16 Thread Dave
Would you know where there is a minimalist example of setting GPIO for USR0 
on that assumes nothing. 

i.e. if necescary sets the pin mux or whatever else might be needed ?

Basically some BBB GPIO bare metal example. 

-- 
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/0213a2e6-7604-4863-bd83-98008865330b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Trying to understand USB connection in syslog

2019-01-16 Thread Mike Brandon
Thanks for the response Robert.

I have some guides and tutorials from the site, https://hologram.io/.

I ended up running through each one and in my script and ttyUSB2 was the
winner. Which jives with what you found regarding the AT commands.

Thanks!

On Wed, Jan 16, 2019 at 10:11 PM Robert Nelson 
wrote:

>
>
> On Wed, Jan 16, 2019 at 8:55 PM Mike Brandon 
> wrote:
>
>> I have connected a USB modem to my BBB. In looking at the syslog, I see
>> the following:
>>
>> [image: syslog.JPG]
>>
>> I am needing to execute a script and specify which ttyUSB* but am a bit
>> confused on knowing which to use.
>>
>
> Sadly it really depends on the modem, there's really no good one standard
> for these guys..
>
> Searching based on the vid/pid found:
>
> https://forum.u-blox.com/index.php/22118/sara-r4-usb-interface
>
> Looks like the 2nd port is for AT commands.. Do you have any docs on the
> modem?
>
> 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/CAEDwv9wWHp_h18AW1qVHg5-QpL6G1M6VuHDg_zDkvhGWqrniBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Deep Learning on the BeagleBoard-X15

2019-01-16 Thread Andy Laberge
I built up another SD card for this project...got tidl_api and examples to
compilethis set uses opencv 3.2.0
my camera didn't kick in until segmentation and ssd_multibox  also
found out it is more responsive using -w 400 instead of -w 1200.

Will keep working with this...again thanks for the link Mark

Andy

On Wed, Jan 16, 2019 at 5:30 AM Mark A. Yoder 
wrote:

> My x15 has an AM5729 on it and it has 2 DSPs and 4 EVEs[1] (Embedded
> Vision Engines).  I don't know much about the EVEs, but I read somewhere
> that each EVE can do 16 multiply accumulates per clock cycle.  The tidl
> gives you some control over which processors (DSP or EVE) works on what
> part of the problem.
>
> I'm often seeing 15 to 30 frames per second wile recognizing objects.
>
> --Mark
>
> [1] http://processors.wiki.ti.com/index.php/EVE
>
> On Thursday, January 10, 2019 at 4:40:06 PM UTC-5, Calvin Slater wrote:
>>
>> That's fantastic!
>>
>> I was just wondering about this a couple weeks ago.
>>
>> I heard the AM5728 had TIDL support this whole time and uses the DSPs
>> right?
>>
>>
>>
>> On Wednesday, 9 January 2019 18:08:28 UTC-8, Mark A. Yoder wrote:
>>>
>>> It was recently pointed out to me that the BeagleBoard-X15 has hardware
>>> that supports Deep Learning
>>>  and TI has already
>>> created several examples
>>>  of how
>>> to use it.
>>>
>>> I've created a wiki page
>>>  that gives
>>> a quick guide for installing and running the examples.
>>>
>>> https://elinux.org/EBC_Exercise_39_Setting_Up_tidl_on_X15
>>>
>>> All the examples are pretrained and the X15 is just running the
>>> inference engine.  It's been trained to recognize 1000 objects from a live
>>> video stream.
>>> Using a simple webcam, I've shown it several objects (tennis ball,
>>> baseball, coffee mug, beer bottle, etc.) and it has recognized them all.
>>>
>>> I'm impressed.
>>>
>>> Has anyone else played with this? What do you think?
>>>
>>> --Mark
>>>
>>> [image: Items.png][image: Water_bottle.png]
>>>
>>> --
> 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/76967aac-8360-46cf-af13-61b2236c7155%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAEqAPB8yDkfe%2BzRVELMWowdDohks3uTVSpBYtvvATa9a60NwEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Trying to understand USB connection in syslog

2019-01-16 Thread Robert Nelson
On Wed, Jan 16, 2019 at 8:55 PM Mike Brandon  wrote:

> I have connected a USB modem to my BBB. In looking at the syslog, I see
> the following:
>
> [image: syslog.JPG]
>
> I am needing to execute a script and specify which ttyUSB* but am a bit
> confused on knowing which to use.
>

Sadly it really depends on the modem, there's really no good one standard
for these guys..

Searching based on the vid/pid found:

https://forum.u-blox.com/index.php/22118/sara-r4-usb-interface

Looks like the 2nd port is for AT commands.. Do you have any docs on the
modem?

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/CAOCHtYjbiB7xx6xHNy7%3DRdfJoHuULfo1cw4-KZ%2B_7k-6aKjGVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Trying to understand USB connection in syslog

2019-01-16 Thread Mike Brandon
I have connected a USB modem to my BBB. In looking at the syslog, I see the 
following:

[image: syslog.JPG]

I am needing to execute a script and specify which ttyUSB* but am a bit 
confused on knowing which to use.

-- 
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/e37b57eb-c7f9-4663-89f6-afcabc19ee5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: BeagleBone Black clock mismatch without pullups

2019-01-16 Thread pbft


On Wednesday, January 16, 2019 at 6:47:24 PM UTC-5, Graham wrote:
>
> That really does not make a lot of sense.
> I have five BBB's and a few Pocket Beagles, and they all free run within 
> 50 ppm of where they are supposed to be at 24.000 MHz.
> 50 ppm error is about 3.5 seconds per day
> You can walk them in closer to 2 ppm(at least at room temperature), by 
> changing C25 and C26 to 24 pF, rather than the factory supplied 18 pF.
> NTPD or timesyncd do not have any problem holding time on my Beagles 
> within 20 milliseconds or so
>

On mine, timesyncd gives up. I get periodic step changes. With the pullups 
to force 26mHz, it's really accurate even without timesyncd.
 

> I would look at the lid of Y2, the main 24 MHz crystal with a magnifying 
> glass or microscope.  
> The frequency is usually laser engraved in the metal lid.
>
>
I'll try that tomorrow. I know that I have at least a half-dozen with this 
problem, and maybe many more.
 

> Where did you get your Beagle?
>
> I think these came from Newark. All of them are Rev C from mainstream 
suppliers - not Seeed, for instance.

 

-- 
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/63bd6584-ed8e-48a7-9a64-079149986712%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: BeagleBone Black clock mismatch without pullups

2019-01-16 Thread Graham
That really does not make a lot of sense.
I have five BBB's and a few Pocket Beagles, and they all free run within 50
ppm of where they are supposed to be at 24.000 MHz.
50 ppm error is about 3.5 seconds per day
You can walk them in closer to 2 ppm(at least at room temperature), by
changing C25 and C26 to 24 pF, rather than the factory supplied 18 pF.
NTPD or timesyncd do not have any problem holding time on my Beagles within
20 milliseconds or so

I would look at the lid of Y2, the main 24 MHz crystal with a magnifying
glass or microscope.
The frequency is usually laser engraved in the metal lid.

Where did you get your Beagle?

--- Graham

==


On Wed, Jan 16, 2019 at 4:33 PM pbft  wrote:

> Thanks. I'm not precisely sure of the terminology, but the BeagleBone
> decides that the 'clocksource' is 24mHz. Its RTC will then gain *exactly*
> two minutes every 24 minutes if you disable timesyncd. With pullup
> resistors it will decide that the clocksource is 26mHz and the RTC will be
> virtually perfect:
>
> debian@arm:~$ dmesg | grep -i timer
> [0.00] OMAP clockevent source: timer2 at 2600 Hz
> [0.29] clocksource: timer1: mask: 0x max_cycles:
> 0x, max_idle_ns: 73510017198 ns
> [0.39] OMAP clocksource: timer1 at 2600 Hz
> [0.000568] timer_probe: no matching timers found
> [0.463409] clocksource: Switched to clocksource timer1
>
> The custom cape leaves the 'boot pins' floating (unless I add the
> pullups), and I get the same behavior with the BeagleBone running by itself
> with no cape.
>
> On Wednesday, January 16, 2019 at 5:15:24 PM UTC-5, Graham wrote:
>>
>> The standard external clock frequency source for the BeagleBone Black is
>> 24 MHz.
>>
>> Is that what you are referring to?
>>
>> Are you protecting all the "Boot Pins", so that your "Custom Cape" is not
>> overriding the boot programming resistors on the BBB?
>>
>> --- Graham
>>
>> On Wednesday, January 16, 2019 at 3:25:48 PM UTC-6, pbft wrote:
>>>
>>> Quick update: I've built 4.18.20 from source, and it has the same
>>> behavior.
>>>
>> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/iZxmejC9750/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/040ea632-065a-4332-801a-794df698384b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAC_N71q_1MqWrt9dUrpR52Hg6RhGvnbXaPV0hKoRybfmr_A04Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Can BeagleBone Black's OS booting time could be a problem in a harsh vibrational environment?

2019-01-16 Thread thejodenis14

Hi all, 

I'm a beginner in the microprocessor environment, and my job is to find the 
"best" microprocessor board to be able to perform some data monitoring 
inside a harsh vibrational environment (Rocket). 

I looked on all the Beaglebone Black's proprieties and it would be suitable 
for the project, but one of the members of my team suggest to avoid using a 
microprocessor (with OS) and go for a microcontroller instead (no OS) like 
the Arduino because if the vibrations cause a sudden loss of power, the 
(longer?) booting time of the OS could cause a bigger loss of data.

I would like to hear some of your experience on the subject and some 
recommendations if you have some, it would be greatly appreciated!

I have the feeling that vibrations would not be enough to cause loss of 
power if the connections are well connected, but still, I can't be sure.

Thank you,

Jo D.

-- 
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/eae07134-4b9b-4428-ab94-98249895fd8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: BBB wifi

2019-01-16 Thread david rediger
 Yes I did it from the root. Don't know how to change file protection.

On Wednesday, January 16, 2019, 3:57:37 PM CST, Dennis Lee Bieber 
 wrote:  
 
 On Wed, 16 Jan 2019 19:15:08 + (UTC), david rediger
 declaimed the following:

> Tried to do the fix in github.comNo JoyError writing   Permission denied
>now what?

    Did you do that from a root user privilege level? Did you try changing
file protection first?

{I'm too lazy to hook up a BBB just for the example, so this is an RPi-3
running Pi-Star release -- still a Debian OS [though Pi-Star is still on
Jessie]}

pi-star@pi-star-3b(rw):~$ ls -l /etc/udev
total 12
drwxr-xr-x 2 root root 4096 Apr  2  2016 hwdb.d
drwxr-xr-x 2 root root 4096 Aug 14  2017 rules.d
-rw-r--r-- 1 root root  148 Apr  2  2016 udev.conf
pi-star@pi-star-3b(rw):~$ ls -l /etc/udev/rules.d/
total 4
-rw-r--r-- 1 root root 983 Mar 21  2016 99-com.rules
pi-star@pi-star-3b(rw):~$ vim /etc/udev/rules.d/99-com.rules

    *** get warning about editing a read-only file

pi-star@pi-star-3b(rw):~$ ls -l /etc/udev/rules.d/
total 4
-rw-r--r-- 1 root root 983 Mar 21  2016 99-com.rules
pi-star@pi-star-3b(rw):~$ chmod ugo+w /etc/udev/rules.d/99-com.rules
chmod: changing permissions of ‘/etc/udev/rules.d/99-com.rules’: Operation
not permitted

    *** note that user level can not change file protection

pi-star@pi-star-3b(rw):~$ sudo chmod ugo+w /etc/udev/rules.d/99-com.rules
pi-star@pi-star-3b(rw):~$ ls -l /etc/udev/rules.d/
total 4
-rw-rw-rw- 1 root root 983 Mar 21  2016 99-com.rules

    *** file is now read/write for everyone

pi-star@pi-star-3b(rw):~$ vim /etc/udev/rules.d/99-com.rules

    *** no warning when editing

pi-star@pi-star-3b(rw):~$ ls -l /etc/udev/rules.d/
total 4
-rw-rw-rw- 1 root root 985 Jan 16 16:46 99-com.rules

    *** time stamp updated to show result of editing

pi-star@pi-star-3b(rw):~$
pi-star@pi-star-3b(rw):~$ sudo chmod go-w /etc/udev/rules.d/99-com.rules

    *** restore original protection

pi-star@pi-star-3b(rw):~$ ls -l /etc/udev/rules.d/
total 4
-rw-r--r-- 1 root root 983 Jan 16 16:49 99-com.rules
pi-star@pi-star-3b(rw):~$ vim /etc/udev/rules.d/99-com.rules

    *** again shows warning of read-only file

pi-star@pi-star-3b(rw):~$ sudo vim /etc/udev/rules.d/99-com.rules
pi-star@pi-star-3b(rw):~$

    *** no warning, since running as root, and root always had read/write


    I would strongly suggest you obtain a book on administering a Linux
system -- many of your comments (password requested for sudo command, file
protection matters, etc.) have come across as a lack of knowledge about the
OS, and not of the board itself.


-- 
    Wulfraed                Dennis Lee Bieber        AF6VN
    wlfr...@ix.netcom.com    HTTP://wlfraed.home.netcom.com/ 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to a topic in the Google 
Groups "BeagleBoard" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/beagleboard/MgTo184HB44/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c59v3eh8ns4dflv9kd76rq73geggbk20ra%404ax.com.
For more options, visit https://groups.google.com/d/optout.  

-- 
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/1276020764.791201.1547678970296%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BeagleBone Black clock mismatch without pullups

2019-01-16 Thread pbft
Thanks. I'm not precisely sure of the terminology, but the BeagleBone 
decides that the 'clocksource' is 24mHz. Its RTC will then gain *exactly* 
two minutes every 24 minutes if you disable timesyncd. With pullup 
resistors it will decide that the clocksource is 26mHz and the RTC will be 
virtually perfect:

debian@arm:~$ dmesg | grep -i timer
[0.00] OMAP clockevent source: timer2 at 2600 Hz
[0.29] clocksource: timer1: mask: 0x max_cycles: 
0x, max_idle_ns: 73510017198 ns
[0.39] OMAP clocksource: timer1 at 2600 Hz
[0.000568] timer_probe: no matching timers found
[0.463409] clocksource: Switched to clocksource timer1

The custom cape leaves the 'boot pins' floating (unless I add the pullups), 
and I get the same behavior with the BeagleBone running by itself with no 
cape.

On Wednesday, January 16, 2019 at 5:15:24 PM UTC-5, Graham wrote:
>
> The standard external clock frequency source for the BeagleBone Black is 
> 24 MHz.
>
> Is that what you are referring to?
>
> Are you protecting all the "Boot Pins", so that your "Custom Cape" is not 
> overriding the boot programming resistors on the BBB?
>
> --- Graham
>
> On Wednesday, January 16, 2019 at 3:25:48 PM UTC-6, pbft wrote:
>>
>> Quick update: I've built 4.18.20 from source, and it has the same 
>> behavior.
>>
>

-- 
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/040ea632-065a-4332-801a-794df698384b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BeagleBone Black clock mismatch without pullups

2019-01-16 Thread Graham
The standard external clock frequency source for the BeagleBone Black is 24 
MHz.

Is that what you are referring to?

Are you protecting all the "Boot Pins", so that your "Custom Cape" is not 
overriding the boot programming resistors on the BBB?

--- Graham

On Wednesday, January 16, 2019 at 3:25:48 PM UTC-6, pbft wrote:
>
> Quick update: I've built 4.18.20 from source, and it has the same behavior.
>

-- 
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/2683a9ce-35fa-48a3-8ea5-1b1b61673c6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BeagleBone Black clock mismatch without pullups

2019-01-16 Thread pbft
Quick update: I've built 4.18.20 from source, and it has the same behavior.

-- 
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/dc9df550-658b-4952-a4ef-02d8e6fce012%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: How to achieve 30 lines of realtime input on BB

2019-01-16 Thread TJF
Hi!

There're 17 inputs and 16 outputs per PRU (fast GPIO).

Find a table (bit# vs. pin) at

http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/ChaTNT.html#SecPruGpio

Note: In order to get 30 lines you'll have to use JT header and/or SD card 
slot as well.

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/20a81895-0770-46cf-a307-f3bda60db600%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBB wifi

2019-01-16 Thread Robert Nelson
On Wed, Jan 16, 2019 at 1:15 PM david rediger  wrote:
>
> Tried to do the fix in github.com
> No Joy
> Error writing   Permission denied
>
> now what?

Okay, thanks for testing that.

Amazon currently shows: Arriving Jan 22 - Jan 25

So maybe i'll have an answer next week.

If you don't want to wait that long, find a USB WiFi module using a
non Realtek chipset..

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/CAOCHtYjv0uAmGrwyXmQV-7ngWFW-HE-aeHT-BmWgDZE8ZVOEBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBB wifi

2019-01-16 Thread david rediger
 Tried to do the fix in github.comNo JoyError writing   Permission denied
now what?
respectfully,David
On Tuesday, January 15, 2019, 8:22:39 PM CST, Robert Nelson 
 wrote:  
 
 Thanks David!

> lsusb
> Bus 001 Device 005: ID 2001:331b D-Link Corp.

This looks like fun one, i've got a unit on order from Amazon, should
be arrive in the next week or two...

I've found a possible work-around here:

https://github.com/ev3dev/ev3dev/wiki/USB-Wi-Fi-Dongles

Please give this a try..

sudo modprobe 8188eu
sudo sh -c "echo '2001 331b' > /sys/bus/usb/drivers/r8188eu/new_id"

> uname -r
> 4.14.71-ti-r80
>
> Sudo /opt/scripts/tools/version.sh
> git: /oopt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
> eeprom:[A335BNLT00C02016BBBK2827]
> MODEL:[TI_AM336x_Beaglebone_Black]
> dogtag:[BeagleBoard.org Debian Image 2018-10-07]
> bootloader:[microSD-(push-button):[/dev/mmcblk0]:[U-Boot 
> 2018.09.2-g0b54a51eee]:[location:dd MBR]
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
> 2015.10-1-g143c9ee]:[location:dd MBR]

BTW, your version of u-boot in teh eMMC will cause some other
problems.. It's best to run:

sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=100

This will "clear" out the first 100Mb of the eMMC partition, thus
removing the old version of u-boot..

BTW, one side issues we've had with rtl8188eu devices is noise from
the HDMI port, are you currently using the HDMI for anything.. If not
you should add:

disable_uboot_overlay_video=1

to /boot/uEnv.txt and that will disable the hdmi output and one source
of noise that causes some wifi antenna issues.


Regards,

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

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to a topic in the Google 
Groups "BeagleBoard" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/beagleboard/MgTo184HB44/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjLa6ESOnCy7Hzh5FtRyT1wetCL0sBDF%2BcRODYqXfUnNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  

-- 
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/1253903582.661668.1547666108770%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to use PocketBeagle CAN Pins?

2019-01-16 Thread Tarmo Kuuse
Hi Gwen,

On Wednesday, 16 January 2019 12:35:09 UTC+2, Gwen Stouthuysen wrote:
>
> Is there a method of using these commands at boot so that the CAN 
> interface is available?
>
> config-pin P1_28 can# rx
> config-pin P1_26 can# tx
>
> I have trouble to find the necessary information on how to create a CANbus 
> related overlay. But in fact I only need these two commands to execute at 
> boot.
>
> Gwen
>
>
> Op maandag 8 januari 2018 03:17:50 UTC+1 schreef RobertCNelson:
>>
>> On Sun, Jan 7, 2018 at 5:36 AM,   wrote: 
>> > Hello Folks! 
>> > 
>> > We are currently experimenting with the PocketBeagle CAN Connection but 
>> > haven't got much success yet. The PocketBeagle will be connected to a 
>> car. 
>> > To accomplish this we use a CAN Board 
>> > (https://www.waveshare.com/sn65hvd230-can-board.htm) in connection 
>> with  a 
>> > step down converter and a OBD2 Male Connector. 
>> > 
>> > Our first thought was that we can use the dcan1 Pins (P2.09 for RX, 
>> P2.11 
>> > for TX) to connect the hardware and just test everything with the 
>> socketcan 
>> > tool - without success. 
>> > 
>> > We then tried different Tutorials: 
>> > http://www.thomas-wedemeyer.de/beaglebone-canbus-python.html 
>> > http://www.instructables.com/id/DIY-Beaglebone-CAN-Bus-Cape/ 
>> > They didn't work either. 
>> > 
>> > Another problem is that there is almost no documentation on how to use 
>> the 
>> > PocketBealge CAN or maybe we just can't find it. 
>> > 
>> > Has someone got a good tutorial or hints how to use the CAN Pins 
>> correct? Do 
>> > we need the Device Tree Overlays? How can we test that a Device Tree 
>> Overlay 
>> > is working properly or something is connected to the CAN pins? 
>> > We are really thankful for any advise or solution! 
>>
>> https://github.com/beagleboard/pocketbeagle/wiki/Peripherals 
>>
>> If you see any mistakes feel free to help improve ^ it.. 
>>
>> Regards, 
>>
>> -- 
>> Robert Nelson 
>> https://rcn-ee.com/ 
>>
>
Googling for "beaglebone config-pin on boot" matches a good example to get 
you going: https://gist.github.com/pdp7/d4770a6ba17e666848796bf5cfd0caee 

--
Kind regards,
Tarmo

-- 
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/85e83983-c4bf-44a8-b208-356551ac3a87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Displaying TI Deep Learning examples on x15 HDMI display

2019-01-16 Thread Mark A. Yoder
I've been working with the TI Deep Learning examples[1] on my x15  and have 
it working nicely by ssh'ing into it from a host computer and displaying 
the results on the host[2].

I now want to have the examples display their results on the x15's hdmi 
display, but I've run into a problem.  Here's what I'm running:

x15$ *cd tidl/tidl-api/examples/classification/*
x15$ *./tidl_classification -g 1 -d 2 -e 2 -l ./imagenet.txt -s 
./classlist.txt -i 0 -c ./stream_config_j11_v2.txt*

If I run this logged in remotely via *ssh -XC root@x15 *it works fine.  But 
it I run the x15 standalone with a monitor, mouse and keyboard and run the 
same commands I get the following error:

tidl_classification: 
/build/ti-llvm-3.6-ogtEpz/ti-llvm-3.6-3.6-git20170214/lib/Support/CommandLine.cpp:141:
 
void llvm::cl::OptionCategory::registerCategory(): Assertion 
`std::count_if(RegisteredOptionCategories->begin(), 
RegisteredOptionCategories->end(), [this](const OptionCategory *Category) { 
return getName() == Category->getName(); }) == 0 && "Duplicate option 
categories"' failed.


BUT, if I run and then quit gedit, 

x15$ *gedit*
Error creating gpu
libGL error: failed to create dri screen
libGL error: failed to load driver: etnaviv


the above classification command works and the result is displayed on the 
hdmi monitor.  So what is gedit doing that makes it work?

--Mark

[1] http://downloads.ti.com/mctools/esd/docs/tidl-api/example.html#imagenet
[2] https://groups.google.com/forum/#!category-topic/beagleboard/efPr8XkNlj8
[3] 
https://www.google.com/url?q=https%3A%2F%2Felinux.org%2FEBC_Exercise_39_Setting_Up_tidl_on_X15=D=1=AFQjCNGYjnL7RZ1RsQqpyA9YhSHwPn0n5A

-- 
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/55cb77ff-f1d6-4b9a-a86e-96b42b9881e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Deep Learning on the BeagleBoard-X15

2019-01-16 Thread Mark A. Yoder
My x15 has an AM5729 on it and it has 2 DSPs and 4 EVEs[1] (Embedded Vision 
Engines).  I don't know much about the EVEs, but I read somewhere that each 
EVE can do 16 multiply accumulates per clock cycle.  The tidl gives you 
some control over which processors (DSP or EVE) works on what part of the 
problem.

I'm often seeing 15 to 30 frames per second wile recognizing objects.

--Mark

[1] http://processors.wiki.ti.com/index.php/EVE

On Thursday, January 10, 2019 at 4:40:06 PM UTC-5, Calvin Slater wrote:
>
> That's fantastic!
>
> I was just wondering about this a couple weeks ago. 
>
> I heard the AM5728 had TIDL support this whole time and uses the DSPs 
> right?
>
>
>
> On Wednesday, 9 January 2019 18:08:28 UTC-8, Mark A. Yoder wrote:
>>
>> It was recently pointed out to me that the BeagleBoard-X15 has hardware 
>> that supports Deep Learning 
>>  and TI has already 
>> created several examples 
>>  of how 
>> to use it.
>>
>> I've created a wiki page 
>>  that gives a 
>> quick guide for installing and running the examples.
>>
>> https://elinux.org/EBC_Exercise_39_Setting_Up_tidl_on_X15
>>
>> All the examples are pretrained and the X15 is just running the inference 
>> engine.  It's been trained to recognize 1000 objects from a live video 
>> stream.
>> Using a simple webcam, I've shown it several objects (tennis ball, 
>> baseball, coffee mug, beer bottle, etc.) and it has recognized them all.
>>
>> I'm impressed.
>>
>> Has anyone else played with this? What do you think?
>>
>> --Mark
>>
>> [image: Items.png][image: Water_bottle.png]
>>
>>

-- 
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/76967aac-8360-46cf-af13-61b2236c7155%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to use PocketBeagle CAN Pins?

2019-01-16 Thread Gwen Stouthuysen
Is there a method of using these commands at boot so that the CAN interface 
is available?

config-pin P1_28 can# rx
config-pin P1_26 can# tx

I have trouble to find the necessary information on how to create a CANbus 
related overlay. But in fact I only need these two commands to execute at boot.

Gwen


Op maandag 8 januari 2018 03:17:50 UTC+1 schreef RobertCNelson:
>
> On Sun, Jan 7, 2018 at 5:36 AM,  > 
> wrote: 
> > Hello Folks! 
> > 
> > We are currently experimenting with the PocketBeagle CAN Connection but 
> > haven't got much success yet. The PocketBeagle will be connected to a 
> car. 
> > To accomplish this we use a CAN Board 
> > (https://www.waveshare.com/sn65hvd230-can-board.htm) in connection with 
>  a 
> > step down converter and a OBD2 Male Connector. 
> > 
> > Our first thought was that we can use the dcan1 Pins (P2.09 for RX, 
> P2.11 
> > for TX) to connect the hardware and just test everything with the 
> socketcan 
> > tool - without success. 
> > 
> > We then tried different Tutorials: 
> > http://www.thomas-wedemeyer.de/beaglebone-canbus-python.html 
> > http://www.instructables.com/id/DIY-Beaglebone-CAN-Bus-Cape/ 
> > They didn't work either. 
> > 
> > Another problem is that there is almost no documentation on how to use 
> the 
> > PocketBealge CAN or maybe we just can't find it. 
> > 
> > Has someone got a good tutorial or hints how to use the CAN Pins 
> correct? Do 
> > we need the Device Tree Overlays? How can we test that a Device Tree 
> Overlay 
> > is working properly or something is connected to the CAN pins? 
> > We are really thankful for any advise or solution! 
>
> https://github.com/beagleboard/pocketbeagle/wiki/Peripherals 
>
> If you see any mistakes feel free to help improve ^ it.. 
>
> 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/c09161d8-ddb9-4250-8301-9f546553bf78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.