[beagleboard] Robooic Application in Beagle Bone Black
Hi, I am using Beagle Bone Black in Linux Ubuntu platform. I want to develop the robotic application using Beagle Bone Black controller. application has navigation, tracking and obstacle avoidance features. I want to know which camera is suitable for navigation in Beagle Bone Black and what are the additional tools and libraries required for this application? Please suggest me any related link... -- 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/2b6590c1-855a-426f-ac34-53afd6bcff56o%40googlegroups.com.
Re: [beagleboard] Robooic Application in Beagle Bone Black
Hi Jon, Thanks for your precious suggestion. I want some more suggestions about camera, I saw Intel real sense camera(tracking and depth camera) which will use for navigation purpose. Are these cameras will suitable for Beagle Bone Black controller?? Is there any related links about this application? >> -- 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/7d36856f-6db8-41ba-b57f-06fe6a942d0do%40googlegroups.com.
Re: [beagleboard] Robooic Application in Beagle Bone Black
Hi Jon, I want to use *lidar sensor* for navigation in *Beagle Bone Black* . Are there any example applications for this combination?? this combination i s suitable for application?? Robot should follow the object (track the object)and it should come back to the original place with previous route. Please suggest me any related link and software setup to develop the application -- 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/dc233d7a-ffa0-4510-a55e-9bfb2529ba19o%40googlegroups.com.
[beagleboard] Beagle bone black setup with Intel Real sense camera
Hi, I am using Beagle bone black in Linux Ubuntu platform and i want to use Real sense camera for my application. Please anybody suggest me how to setup the Beagle bone black with Real sense Depth and tracking camera?? Please suggest me any related link for step by step setup... -- 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/4340e28c-4bb9-4995-95bc-bd2baa009f80o%40googlegroups.com.
[beagleboard] How to use peripherals of beagle bone black board
Hi, I am new to the beagle bone black board. please help me how to access peripheral functionality of beagle bone board.. please suggest if any user guide... or examples.. -- 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/3bb6f4c9-58a0-4d12-af34-690ba0631e59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] How to use peripherals of beagle bone board using processer SDK in linux
Hi, I need to use the beagle bone black board in Linux Ubuntu distribution... i will install the processor SDK for Linux , after that i will boot up the board from latest Debian image... i need to access the peripherals of beagle bone black board...how to go for further any other extra compilers and anything is needed... please help me to solve this...suggest any guide or related link for this.. -- 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/791018ab-6379-4526-8b1f-c914a3e27673%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Loading the .out file (executable file) on to BBB and running
Hi, I am using beagle bone black board in Linux Ubuntu distribution..my requirement is i need to write simple code on terminal(filename.c) using processor SDK i need to compile it and need to create .out file for the code and after that i need to load that .out(binary file-executable ) file on to beagle bone black board and make it to work on board and get output on terminal... I am not getting how to do it... how to create . out file and load into board... please help me to resolve it??? i am new to this board.. -- 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/c48d52e6-c23b-4572-814f-a75f3187b5be%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Writing debian image in to eMMC of board without using micro sd card
Hi, i want to write Debian image to the eMMc of beagle bone black without using micro SD card after downloading the image how i can write the that Debian image to eMMc ?? is any other method is there... help me for this??? -- 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/c0d9de15-5e73-4bfe-949a-ec7697ae5985%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Writing debian image in to eMMC of board without using micro sd card
On Tuesday, July 9, 2019 at 10:43:18 AM UTC+5:30, Megha Bhirade wrote: > > Hi, > > i want to write Debian image to the eMMc of beagle bone black without > using micro SD card > > after downloading the image how i can write the that Debian image to eMMc > ?? > > is any other method is there... help me for this??? > -- 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/42116760-0d56-4da8-84d1-de542d2c09e6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Writing debian image in to eMMC of board without using micro sd card
is it possible to flash the eMMc using USB driver. is there beagle bone black will support for that?? -- 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/f152dfc2-c325-40a3-b391-3845df4766b9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Getting IP address of BBB on ubuntu terminal
Hi, i am new to beagle bone black board. just after getting new board i connected that board to my PC using USB cable and checked it is showing BEAGLE BONE like mass storage drive on system(linux ubuntu), i clicked and entered in to drive and got one START.HMT file clicked on it, it went to website and showed next step install drivers.. i downloaded the mkudevrule.sh file and run it by using chmod + x(for permission) , sudo command , it completed... i got 73-beagle bone.rules file is created in /etc/udev/rules.d/... after this i concluded drivers are installed properly.. i am trying to get ip address of BBB , but not able to get?? please suggest me what is problem: acufore@acufore-H110M-S2:~$ cd /etc/udev/rules.d/ acufore@acufore-H110M-S2:/etc/udev/rules.d$ ls 73-beaglebone.rules acufore@acufore-H110M-S2:/etc/udev/rules.d$ cd acufore@acufore-H110M-S2:~$ ifconfig enp2s0Link encap:Ethernet HWaddr e0:d5:5e:11:5d:65 inet addr:192.168.4.59 Bcast:192.168.4.255 Mask:255.255.255.0 inet6 addr: fe80::4508:cbb4:d574:e0c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30922 errors:0 dropped:0 overruns:0 frame:0 TX packets:13579 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:16593168 (16.5 MB) TX bytes:1669767 (1.6 MB) enx3403de92aa91 Link encap:Ethernet HWaddr 34:03:de:92:aa:91 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:41 errors:3 dropped:0 overruns:0 frame:3 TX packets:2 errors:58 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:10411 (10.4 KB) TX bytes:520 (520.0 B) loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:3169 errors:0 dropped:0 overruns:0 frame:0 TX packets:3169 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:324659 (324.6 KB) TX bytes:324659 (324.6 KB) acufore@acufore-H110M-S2:~$ ^C acufore@acufore-H110M-S2:~$ like this i am getting how can i proceed for next..? -- 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/6b6eec00-f5d4-49b7-9202-681f328f7199%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Getting IP address of BBB on ubuntu terminal
On Thursday, July 11, 2019 at 12:39:25 PM UTC+5:30, Megha Bhirade wrote: > > Hi, > > i am new to beagle bone black board. just after getting new board i > connected that board to my PC using USB cable and checked it is showing > BEAGLE BONE like mass storage drive on system(linux ubuntu), i clicked and > entered in to drive and got one START.HMT file clicked on it, it went to > website and showed next step install drivers.. > > i downloaded the mkudevrule.sh file and run it by using chmod + x(for > permission) , sudo command , it completed... > > i got 73-beagle bone.rules file is created in /etc/udev/rules.d/... after > this i concluded drivers are installed properly.. > > i am trying to get ip address of BBB , but not able to get?? please > suggest me what is problem: > > > acufore@acufore-H110M-S2:~$ cd /etc/udev/rules.d/ > acufore@acufore-H110M-S2:/etc/udev/rules.d$ ls > 73-beaglebone.rules > acufore@acufore-H110M-S2:/etc/udev/rules.d$ cd > acufore@acufore-H110M-S2:~$ ifconfig > enp2s0Link encap:Ethernet HWaddr e0:d5:5e:11:5d:65 > inet addr:192.168.4.59 Bcast:192.168.4.255 Mask:255.255.255.0 > inet6 addr: fe80::4508:cbb4:d574:e0c1/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:30922 errors:0 dropped:0 overruns:0 frame:0 > TX packets:13579 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:16593168 (16.5 MB) TX bytes:1669767 (1.6 MB) > > enx3403de92aa91 Link encap:Ethernet HWaddr 34:03:de:92:aa:91 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:41 errors:3 dropped:0 overruns:0 frame:3 > TX packets:2 errors:58 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:10411 (10.4 KB) TX bytes:520 (520.0 B) > > loLink encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:65536 Metric:1 > RX packets:3169 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3169 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1 > RX bytes:324659 (324.6 KB) TX bytes:324659 (324.6 KB) > > acufore@acufore-H110M-S2:~$ ^C > acufore@acufore-H110M-S2:~$ > > like this i am getting how can i proceed for next..? > -- 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/476ef30e-64a1-4034-bcae-96fc7c35c5e0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Getting IP address of BBB on ubuntu terminal
> > Hi tarmo, > i am using a PC with Linux Ubuntu and version is 16.04LTS (64-bit) Ubuntu as a native operating system. As u suggested i used *tail -n 100 /var/log/syslog *in to command line(terminal). i got much data not able to understand and i stored the data in to one file please check it i am attaching the same data.. one more thing u told about the local LAN can u explain it once?? -- 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/24436e71-c4c1-4414-b002-5761e6f00606%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. Jul 11 16:49:29 acufore-H110M-S2 dhclient[3436]: DHCPDISCOVER on enx3403de92aa91 to 255.255.255.255 port 67 interval 10 (xid=0xb48cfc2a) Jul 11 16:49:39 acufore-H110M-S2 gnome-session[1636]: (nautilus:1800): Gtk-CRITICAL **: gtk_revealer_set_reveal_child: assertion 'GTK_IS_REVEALER (revealer)' failed Jul 11 16:49:39 acufore-H110M-S2 dhclient[3436]: DHCPDISCOVER on enx3403de92aa91 to 255.255.255.255 port 67 interval 12 (xid=0xb48cfc2a) Jul 11 16:49:51 acufore-H110M-S2 dhclient[3436]: DHCPDISCOVER on enx3403de92aa91 to 255.255.255.255 port 67 interval 13 (xid=0xb48cfc2a) Jul 11 16:50:04 acufore-H110M-S2 dhclient[3436]: DHCPDISCOVER on enx3403de92aa91 to 255.255.255.255 port 67 interval 16 (xid=0xb48cfc2a) Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7051] dhcp4 (enx3403de92aa91): request timed out Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7052] dhcp4 (enx3403de92aa91): state changed unknown -> timeout Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7218] dhcp4 (enx3403de92aa91): canceled DHCP transaction, DHCP client pid 3436 Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7219] dhcp4 (enx3403de92aa91): state changed timeout -> done Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7223] device (enx3403de92aa91): state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5] Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7229] device (enx3403de92aa91): Activation: failed for connection 'Wired connection 2' Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7237] device (enx3403de92aa91): state change: failed -> disconnected (reason 'none') [120 30 0] Jul 11 16:50:06 acufore-H110M-S2 avahi-daemon[720]: Withdrawing address record for fe80::64e5:40af:aaa7:542c on enx3403de92aa91. Jul 11 16:50:06 acufore-H110M-S2 avahi-daemon[720]: Leaving mDNS multicast group on interface enx3403de92aa91.IPv6 with address fe80::64e5:40af:aaa7:542c. Jul 11 16:50:06 acufore-H110M-S2 avahi-daemon[720]: Interface enx3403de92aa91.IPv6 no longer relevant for mDNS. Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7284] policy: auto-activating connection 'Wired connection 2' Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7298] device (enx3403de92aa91): Activation: starting connection 'Wired connection 2' (aa579bc5-b95b-308a-8301-de30d92995c4) Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7303] device (enx3403de92aa91): state change: disconnected -> prepare (reason 'none') [30 40 0] Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7308] device (enx3403de92aa91): state change: prepare -> config (reason 'none') [40 50 0] Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7312] device (enx3403de92aa91): state change: config -> ip-config (reason 'none') [50 70 0] Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7315] dhcp4 (enx3403de92aa91): activation: beginning transaction (timeout in 45 seconds) Jul 11 16:50:06 acufore-H110M-S2 NetworkManager[784]: [1562844006.7340] dhcp4 (enx3403de92aa91): dhclient started with pid 3457 Jul 11 16:50:06 acufore-H110M-S2 dhclient[3457]: DHCPDISCOVER on enx3403de92aa91 to 255.255.255.255 port 67 interval 3 (xid=0x7d946b7e) Jul 11 16:50:08 acufore-H110M-S2 avahi-daemon[720]: Joining mDNS multicast group on interface enx3403de92aa91.IPv6 with address fe80::64e5:40af:aaa7:542c. Jul 11 16:50:08 acufore-H110M-S2 avahi-daemon[720]: New relevant interface enx3403de92aa91.IPv6 for mDNS. Jul 11 16:50:08 acufore-H110M-S2 avahi-daemon[720]: Registering new address record for fe80::64e5:40af:aaa7:542c on enx3403de92aa91.*. Jul 11 16:50:09 acufore-H110M-S2 dhclient[3457]: DHCPDISCOVER on enx3403de92aa91 to 255.255.255.255 port 67 interval 7 (xid=0x7d946b7e) Jul 11 16:50:12 acufore-H110M-S2 kernel: [ 2945.492477] [ cut here ] Jul 11 16:50:12 acufore-H110M-S2 kernel: [ 2945.492492] WARNING: CPU: 0 PID: 0
Re: [beagleboard] Re: Loading the .out file (executable file) on to BBB and running
Hi jim, from the processer SDK i can get GCC compiler only, can i compile the simple code printing hello word on terminal using GCC compiler and execute the file ?? Ex : vi test.c(simple hello world program). gcc test.c -o test.o ./test.o like this once i login to beagle bone black??? -- 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/797db949-6642-4a1f-b008-071b3c12d6dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Getting IP address of BBB on ubuntu terminal
Hii, Thanks for reply. for second option -connecting LAN cable to BBB . i connected LAN cable from router with DHCP server, where i can see :beaglebone.local.. can u explain the basic connection : i followed like , 1.connected board(BBB) to PC using USB cable 2. router with DHCP server 3. one LAN cable from the router to board ethernet port -- 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/5f53fcd3-2169-4cca-aa89-125ae7c8bf9a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Getting IP address of BBB on ubuntu terminal
Hii, yes , you are true i am going to login to the board using ssh command and trying with one simple hello world program. once that is fine means i am going to load new Debian image in to board.after that same steps as earlier -- 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/8c60d5fc-5bb9-4e4b-b630-f4cfb35fc465%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Getting IP address of BBB on ubuntu terminal
Hi, I tried by connecting LAN cable from router to board Ethernet port, but for ping command i am getting : acufore@acufore-H110M-S2:~$ ping beaglebone.local ping: unknown host beaglebone.local acufore@acufore-H110M-S2:~$ avahi-resolve -n beaglebone.local Failed to resolve host name 'beaglebone.local': Timeout reached please help me resolve.. -- 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/d1cec1c5-d88c-4cf2-a5b7-5c203b3a854f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Getting IP address of BBB on ubuntu terminal
I checked in to network settings, it is showing 2 connections.. one is system network connection-which is connected and providing ip address. second connection for BBB - it is showing disconnected.. why it is showing disconnected?? anything i am missing here? -- 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/b5cc9e5a-2db0-4317-afe9-5f56c2f1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Getting IP address of BBB on ubuntu terminal
Hi, using LAN cable to Ethernet it is working fine... i am able to login to board. with old image on board using ssh and ip address i logged in it is showing root@beaglebone.. I flashed the board with new Debian image, here i am using login user as Debian and password as temppwd, here i tried with LED blinking code -- 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/c4e5664f-55cf-4761-a1a2-ced8bcd87011%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Reading GPIO state in beagle bone black
Hi, i am new to beagle bone black board.. i flashed new Debian Image to BBB and worked on simple LED blinking program in C. it is working fine(external LED connected in bread board), in Linux ubuntu next example i am trying to control that external LED using external switch : like this : system("echo out > /sys/class/gpio/gpio68/direction) for LED. system ("echo in > /sys/class/gpio/gpio67/direction) for switch. using these coding lines i am making LED high and Low in C file system("echo 1 > /sys/class/gpio/gpio68/value) system("echo 0 > /sys/class/gpio/gpio68/value) based on the switch status i need to make LED ON and LED OFF... how to read the state of GPIO in beagle bone black in C file??? please help me any one -- 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/42542757-ff67-4183-99f1-d54834768d60%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Reading GPIO state in beagle bone black
Hi, thanks for reply, i understand the concept and hardware connections from that link what u shared... Let me check once working of program to control the LED blinking using push botton -- 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/860c96f1-cbdc-4b8b-9f95-69ca26dc97aa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Reading GPIO state in beagle bone black
Hi TJF and Robert and Rob it is working fine. i am able to control the LED blinking by externally connected switch.. Thank to all for reply and guiding me. -- 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/82e8b93b-f217-4530-9447-dbc34c8a6d1a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] C programing of Uart peripheral in beaglebone black (Linux)
Hi, I am using Beagle bone black board in Linux Ubuntu, i am new to BBB, i tried to check the programing of UART peripheral in the BBB.. Exact C - programs i am not able to found. like simple c program to initialize the UART with baud rate and other information and writing some data using buffer and i should see the data printing on to the mini com.. please help me... -- 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/c6b32cfd-51d9-4294-a03b-d5de332fbb4c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Not able to login to the beagle bone black using SSH
> > in the picture it is : 192.168.6.1 and 192.168.7.1 > i tried login with same ip address it is showing connection refused -- 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/6d6112f5-db8b-4815-a219-1b6f8e87fd81%40googlegroups.com.
Re: [beagleboard] C programing of Uart peripheral in beaglebone black (Linux)
Hi robert, i checked the enabled uarts in the BBB using the following command : ls -l /dev/ttyO*, it showed all the uart like bellow > /dev/ttyO0 -> ttyS0 /dev/ttyO1 -> ttyS1 /dev/ttyO2 -> ttyS2 /dev/ttyO3 -> ttyS3 /dev/ttyO4 -> ttyS4 /dev/ttyO5 -> ttyS5 i connected Uart1 tx to Uart2 rx and Uart1 rx to Uart2tx on board to check the basic functionality using 2 minicom on two terminals after that i opened the two terminals for 1 terminal i used minicom -D /dev/ttyO1 -b 9600 for other terminal i used minicom -D /dev/ttyO2 -b 9600 two minicoms are opened but not able to communicate both... please tell me anyhing i am missing?? -- 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/69c89b80-8ad1-4aab-aada-2bdff7f0c859%40googlegroups.com.
[beagleboard] Re: Not able to login to the beagle bone black using SSH
hi, i used ssh debian@beaglebone.local, it is login to board fine > > -- 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/ed209997-9100-4d59-9220-fc080efeeb30%40googlegroups.com.
Re: [beagleboard] C programing of Uart peripheral in beaglebone black (Linux)
> > Hi jim, >> > i did hardware connections also like that.. my main idea to check the basic uart communication ... iam opening 2 minicom (for uart1 and uart2 with same baudrate ) i am typing the text in one minicom terminal and seeing in to other minicom terminal... -- 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/f2c57fcd-472f-4c38-a26b-13d81210c387%40googlegroups.com.
Re: [beagleboard] C programing of Uart peripheral in beaglebone black (Linux)
Hi robert, thanks for reply. you are right i not enabled the pins with device overlays. as per your suggestion in the boot directory i got uEnv.txt file i opened it in terminal, but if i start adding anything changes means it is showing editing read only file... i checked the permission using ls -l command it is showing : *debian@beaglebone:/boot$ ls -l* total 18340 -rw-r--r-- 1 root root 160842 Oct 6 2018 config-4.14.71-ti-r80 drwxr-xr-x 3 root root 4096 Oct 7 2018 dtbs -rw-r--r-- 1 root root 4530240 Oct 7 2018 initrd.img-4.14.71-ti-r80 -rw-r--r-- 1 root root 542 Oct 7 2018 SOC.sh -rw-r--r-- 1 root root 3644943 Oct 6 2018 System.map-4.14.71-ti-r80 drwxr-xr-x 2 root root 4096 Oct 7 2018 uboot *-rw-r--r-- 1 root root 2042 Jan 1 2000 uEnv.txt* -rwxr-xr-x 1 root root 10416640 Oct 6 2018 vmlinuz-4.14.71-ti-r80 debian@beaglebone:/boot$ ^C debian@beaglebone:/boot$ How can i add this?? i feel if i did this changes definitely it will work fine.. please help me for this -- 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/ff57a3ab-e0db-4a7e-ae12-4faa7cec88d5%40googlegroups.com.
Re: [beagleboard] C programing of Uart peripheral in beaglebone black (Linux)
Hi robert, i used sudo su command and entered to root directory and opened uEnv.txt file and edited the file and saved and closed the file . rebooted the board. checked for the basic functionality it is working finetyping on 1 minicom terminal and able to see the data on second minicom terminal. thank you for your suggestion... now i will try for C programing for UART. -- 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/cc4a31ed-a405-41c3-8e80-4dd37a2e42ca%40googlegroups.com.
Re: [beagleboard] C programing of Uart peripheral in beaglebone black (Linux)
Hi, i am trying with c program for Uart peripheral like this : #include #include #include #include #include #include #include #include void main (void) { int file; char buf[20]; size_t nbytes; ssize_t bytes_written; struct termios oldtio, newtio; if ((file = open("/dev/ttyS1", O_RDWR | O_NOCTTY))<0) { printf("UART: Failed to open the file.\n"); return; } //save the current serial settings tcgetattr(file, &oldtio); //clear the structure for new port settings bzero(&newtio, sizeof(newtio)); newtio.c_cflag = B9600 | CS8 | CREAD | CLOCAL; newtio.c_iflag = IGNPAR | ICRNL; tcflush(file, TCIFLUSH); tcsetattr(file, TCSANOW, &newtio); strcpy(buf, "This is a test\n"); nbytes = strlen(buf); while (1) { bytes_written = write(file, buf, nbytes); sleep(10); } close(file); } i am running the code in to one terminal using ./uart1.0 and checking the output into one more terminal using debian@beaglebone:~$ minicom -D /dev/ttyO1 -b 9600 minicom is opening but not able to see the data, here i not did any hardware connection on board. what is problem , where is the mistake please tell me... suggest me any hardware connections i need to connect.. -- 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/c0812f82-7833-443f-a294-8df37f36fa68%40googlegroups.com.
Re: [beagleboard] C programing of Uart peripheral in beaglebone black (Linux)
Hi robert, thanks for reply it is working fine.. > > -- 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/47d98f0e-3e9a-461b-9a64-484ddccbae05%40googlegroups.com.
[beagleboard] Ethernet module in beagle bone black
Hi, I am using beagle bone black board in Linux ubuntu 16.04LTS, i need to work on Ethernet . requirement is like enabling Ethernet between the Board and PC and i need to send the data from PC and need to receive the data on beagle bone black using Ethernet communication and once data collected that data i need to pass to the other PC using Uart.. Uart enabling and transmitting the data i understood... please tell me how to configure Ethernet and C program to receive the data from Ethernet please suggest me any related link for this -- 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/6932a05d-3ab0-4fab-a78d-eb285137cfa9%40googlegroups.com.
Re: [beagleboard] Ethernet module in beagle bone black
Hi lazarman, I am working as embedded firmware developer in company , earlier 1 year i worked on Arm cortex M7 and M4 controller in product development section... recently i shifted to this BBB, so now i am learning and implementing in product development. if anything support needed means i should contact to BBB group only -- 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/b5b83e61-3cb1-4be9-8753-f86ab02db0b3%40googlegroups.com.
Re: [beagleboard] Ethernet module in beagle bone black
Hi robert, Thanks for your reply, i learnt socket programing long back, so i can recollect it.. my question is , for communication of both Ubuntu PC(server) and BBB(client) IP address and port number for both server and client should be same??? clear about IP address?? > -- 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/e9f094fa-bf47-4df2-8e86-0fd40ee91420%40googlegroups.com.
[beagleboard] PWM in beagle bone black
Hi, I am recently working on Beagle bone black, i need to use PWM module in the beagle bone black. i followed the bellow steps for configuration : 1) cd /sys/class/pwm 2) ls -> here i found pwmchip0, pwmchip1, pwmchip2, pwmchip3pwmchip7. 3) cd pwmchip0 4) ls -> here i found : device export npwm power subsystem uevent unexport. 5) echo 0 > export i added pwm0 6) ls -> i can see pwm is added. 7) cd ./pwm0 -> here i can see the duty cycle , period and other information. i want to add the pinmux for pwm debian@beaglebone:/sys/class/pwm$ config-pin -l P9.22 default gpio gpio_pu gpio_pd gpio_input spi_sclk uart i2c pwm pru_uart debian@beaglebone:/sys/class/pwm$ config-pin P9.22 pwm P9_22 pinmux file not found! sudo: no askpass program specified, try setting SUDO_ASKPASS Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_22_pinmux/state but it is showing error for adding P9.22 pin as pwm. please help me to resolve it -- 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/cc857743-5b13-48e4-b898-4f69e9911a46%40googlegroups.com.
Re: [beagleboard] Ethernet module in beagle bone black
Hi, thanks for reply it is working fine > > -- 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/3c65324e-c711-4198-90d1-31bcf7b128a8%40googlegroups.com.
[beagleboard] Re: PWM in beagle bone black
In other hand if i try to add some more pwm means it is showing the error like this debian@beaglebone:/sys/class/pwm$ cd pwmchip0 debian@beaglebone:/sys/class/pwm/pwmchip0$ ls device export npwm power pwm-0:0 subsystem uevent unexport debian@beaglebone:/sys/class/pwm/pwmchip0$ echo 3 > export -bash: echo: write error: No such device i am not able to add other pwm module... why it is showing the error. please resolve it -- 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/bbc34273-e3d1-4aaf-8901-f1c269383583%40googlegroups.com.
[beagleboard] Re: PWM in beagle bone black
Hi, can anybody suggest me c programing example on the pwm in beagle-bone black. -- 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/1d74bedf-24c1-4bfb-883b-037323fcac0a%40googlegroups.com.
Re: [beagleboard] Re: PWM in beagle bone black
Hi, using pwm i am doing some configuartions in the beaglebone black.. in /sys/class/pwm/pwmchip1 -- 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/53b0c422-c2f4-47fa-ba04-067754d00987%40googlegroups.com.
Re: [beagleboard] Re: PWM in beagle bone black
On Wednesday, July 31, 2019 at 11:10:15 AM UTC+5:30, Megha Bhirade wrote: > > > Hi, > > using pwm i am doing some configurations in the beagle bone black.. > > in /sys/class/pwm/pwmchip1 > echo 0 > export echo 1 > export i can see the 2 pwm are added pwm1:0 , pwm1: 1 using cd pwm1:0 i am assigning the duty cycle , period and enable if i rebooted the BBB means this configurations are erasing, why i am not getting?? using config-pin -l P9.14 config-pin P9.14 pwm i am setting pin for pwm as p9.14 in hardware wise i am connecting 1 external led providing 1 connection from P9.14 and other end to ground. but led should glow based on pwm duty-cycle, but here the LED not all glowing ??? please suggest me where i am missing?? > > > -- 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/cb9d6d7a-e780-4118-938a-fbf4e46853f7%40googlegroups.com.
Re: [beagleboard] Re: PWM in beagle bone black
Hi , i am using kernel version of 4.14.so slots file and bone -capemgr are disabled in V4.14 of kernel in the favor of U-boot overlay. my uEnv.txt file look like this. debian@beaglebone:/boot$ cat uEnv.txt #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 uname_r=4.14.71-ti-r80 #uuid= #dtb= ###U-Boot Overlays### ###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays ###Master Enable enable_uboot_overlays=1 ### ###Overide capes with eeprom #uboot_overlay_addr0=/lib/firmware/.dtbo #uboot_overlay_addr1=/lib/firmware/.dtbo #uboot_overlay_addr2=/lib/firmware/.dtbo #uboot_overlay_addr3=/lib/firmware/.dtbo ### ###Additional custom capes #uboot_overlay_addr4=/lib/firmware/.dtbo #uboot_overlay_addr5=/lib/firmware/.dtbo uboot_overlay_addr6=/lib/firmware/BB-UART1-00A0.dtbo uboot_overlay_addr7=/lib/firmware/BB-UART2-00A0.dtbo ### ###Custom Cape #dtb_overlay=/lib/firmware/.dtbo ### ###Disable auto loading of virtual capes (emmc/video/wireless/adc) #disable_uboot_overlay_emmc=1 #disable_uboot_overlay_video=1 #disable_uboot_overlay_audio=1 #disable_uboot_overlay_wireless=1 #disable_uboot_overlay_adc=1 ### ###PRUSS OPTIONS ###pru_rproc (4.4.x-ti kernel) #uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo ###pru_rproc (4.14.x-ti kernel) uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo ###pru_uio (4.4.x-ti, 4.14.x-ti & mainline/bone kernel) #uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo ### ###Cape Universal Enable enable_uboot_cape_universal=1 ### ###Debug: disable uboot autoload of Cape #disable_uboot_overlay_addr0=1 #disable_uboot_overlay_addr1=1 #disable_uboot_overlay_addr2=1 #disable_uboot_overlay_addr3=1 ### ###U-Boot fdt tweaks... (6 = 384KB) #uboot_fdt_buffer=0x6 ###U-Boot Overlays### cmdline=coherent_pool=1M net.ifnames=0 quiet #In the event of edid real failures, uncomment this next line: #cmdline=coherent_pool=1M net.ifnames=0 quiet video=HDMI-A-1:1024x768@60e #Use an overlayfs on top of a read-only root filesystem: #cmdline=coherent_pool=1M net.ifnames=0 quiet overlayroot=tmpfs ##enable Generic eMMC Flasher: #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh debian@beaglebone:/boot$ please help me , here i am missing anything ?? -- 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/4f16b278-9deb-489c-88ca-e09e87c611ba%40googlegroups.com.
[beagleboard] Re: PWM in beagle bone black
Hi, I got why that error is coming . already i used those pins to UART , so i can't use that pins again to PWM. i am using P9.14 for pwm, but still also it is not working for me.. i am feeling something i need to add in to uEnv.txt, but i am not getting .. please suggest me?? -- 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/063a4722-7e7e-4e7e-ab02-86bf08a07e90%40googlegroups.com.
[beagleboard] LED blinking using Timer interrupt
Hi, i am new to the beagle bone black. i need to use Timer interrupt to blink the LED connected on breadboard... my requirement is like i need to blink LED for every 15 seconds using timer interrupt.. i checked any example projects?? or how to configure timer interrupt?? i not got anything please help me resolve this.. i am using BBB in Linux Ubuntu with kernel Version 4.14 -- 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/923ad510-66a4-41b9-811e-e97ecd6ff3b7%40googlegroups.com.