Sweet FishQ: What kind of fish goes well with peanut butter?A: Jellyfish!Categories: Animal Jokes(Fish Jokes), Food Jokes, Riddles(Riddles for Kids)Copyright © 2013 - All Rights Reserved - Used with Permission.Share ViaE-MailTwitterFacebookGoogle PlusURL Share264111AnonymousBlow Your Top -RiddlesQ: What is a volcano?A: A mountain with the hiccups.Categories: Riddles(Riddles for Kids)Share ViaE-MailTwitterFacebookGoogle PlusURL Share13227AnonymousIdentity TheftQ: What do you call a noodle that committed identity theft?A: An im-pasta!Categories: Food Jokes, Word Play Jokes, Riddles(Riddles for Kids)Copyright © 2013 - All Rights Reserved - Used with Permission.130AnonymousDeportationI live in constant fear that Trump will deport my latina mother-in-law who lives at 1944 5th Street in a white house with a blue door. She gets off work at 6PM.Categories: Jokes about Families(Mother-in-Law Jokes), Ethnic / Country Jokes(Mexico Jokes)220AnonymousGetting on TelevisionQ: How do you get on television?A: You sit on it!Categories: One-Liner Jokes, Word Play Jokes, Riddles(Riddles for Kids)Copyright © 2013 - All Rights Reserved - Used with Permission.032Submitted By: toemeraldcityCall Me MaybeQ: How did the telephone propose to his girlfriend?A: He gave her a ring.Categories: Relationship Jokes(Dating Jokes), Telephone Jokes, Riddles(Riddles for Kids)11122AnonymousPolice Stop at 2AMAn elderly man is stopped by the police around 2 a.m. and is asked where he is going at this time of night.The man replies, "I am on my way to a lecture about alcohol abuse and the effects it has on the human body, as well as smoking and staying out late." The officer then asks, "Really? Who is giving that lecture at this time of night?"The man replies, "That would be my wife."Categories: Old Age Jokes, Relationship Jokes(Marriage Jokes), Alcohol Jokes490AnonymousShady DogQ: Why did the dog sit in the shade?A: Because he didn't want to be a hot dog!Categories: Food Jokes, Animal Jokes(Dog Jokes), Funny Thoughts, Word Play Jokes, Riddles(Riddles for Kids)11001636422AnonymousSnowman TransportQ: How does a Snowman get to work?A: By icicle.
On Thursday, March 9, 2017 at 5:17:59 AM UTC-7, woody stanford wrote:
OK, I want to get to the bottom of this whole GPIO issue on the BBB, so I'm opening up this thread as a "documenter" whereby which I can take notes based on my research into how you consistently, stably and SOLIDLY programatically access the GPIO pins on a BBB. I've already done a lot of the footwork so I'm not entirely unknowledgeable, but I want to get to the heart of this issue and solve the mental block people have with this. A private hope.Either way, probably a good mess of processed links, articles and information where you can start.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/59810c04-e7f2-4da9-b42e-80c2ee8be07d%40googlegroups.com.
Bye Bye!!Gerald
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/59810c04-e7f2-4da9-b42e-80c2ee8be07d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/ee9affaf-6335-4465-aaee-cf4f70c25fb7%40googlegroups.com.
Moderators could you please remove this post. I haven't a clue what he means by "bye bye" but it doesn't sound all that positive. Thank you.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/cd518af1-d3f9-471b-972d-f3da446fbfd9%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYiSjb0g9%2B2rFCFrRThQnMVk39TOm1FxJMp79Q-%2BVGWr_w%40mail.gmail.com.
OK, here is where I'm at
**** IMPORTANT: a lot of these things that I'm saying are my own educated guesses, this is not an enumeration of the correct way of enabling and using the P8/9 headers. I just want to make that clear. It doesn't currently work****
The procedure I took was the uEnv.txt route. On my BBBW it is in the /boot directory ( I noticed that its in different spots on different boards). So I had to make the directory Read/Write so I did this:
chmod 644 /boot
which makes it R/W for owner and R for group, I think.
The I pico'ed the uEnv.txt file and cut and pasted this line under its equivalent commented out line:
cape_enable=bone_capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART3,BB-UART4,BB-UART5
...and saved it.
I then rebooted.
From what I've gathered, this will configured the UART1 thru 5's on the p8/9 pins to their base UART mode. Then I looked up the pin configurations in the BBB reference manual and found the pins “named” (I see there are multiple modes, so I just went with the name of the pin as I figured this is the default) UART1_TXD, UART1_RXD...UART5_TXD, UART5 RXD.
According to the manual:
UART5_RXD is pin p8_38
UART4_TXD is pin p9_13
I jumpered these physically figuring I would write a short program to shoot some data across to check that they are transmitting and receiving right (I don't have an O-Scope). I checked this connection thrice just to make sure I had the physical layer right.
I gathered from various posts on BB that how you access these serial connections via the /dev/ttyO1 thru /dev/ttyO5 device streams. I assumed that you just open a stream to the device and fread and fwrite from them. Am I correct to do this? Would read and write be better (ie. Using file handles as opposed to fptr's?) here?
So here is my code:
[code]
//*********************************
// UART 4 to UART 5 connection test
//
// For correctly configured Beagleboard Black Wireless
// (Use uEnv.txt procedure by uncommenting capes you need
// in this case BB_UART4 and BB_UART5)
//
// Remember to physically jumper across:
// P8_38 (UART5_RXD)
// to
// P9_13 (UART4_TXD)
// Important: on a BBBW the P8 is on the RIGHT and the P9 is on the LEFT
// Easy to forget this
// ********************************
#include <stdio.h>
#include <string.h>
main()
{
FILE *dptr1, *dptr2;
char buf[255];
char buf2[255];
//manual clear both test buffers
memset(buf,0,255);
memset(buf2,0,255);
//set test transmit buffer to a value that can be read
strcpy(buf,"Transmit Test String.");
printf("Opening UART4 for transmit\n");
dptr1=fopen("/dev/ttyS4","w");
printf("Opening UART5 for receive\n");
dptr2=fopen("/dev/ttyS5","r");
printf("Writing test string \"%s\" to UART4_TXD\n",buf);
fwrite(buf,sizeof(buf),1,dptr1);
fflush(NULL);
printf("Receiving test string from UART5_TXD\n");
fread(buf,sizeof(buf2),1,dptr2);
printf("Received test string: %s\n",buf2);
fclose(dptr1);
fclose(dptr2);
}
[/code]
All this code when compiled and run does is send a test string out UART4_TX out to UART5_RX.
OK, THE MOMENT OF TRUTH: what happens when I do this?
The program outputs:
Opening UART4 for transmit
Opening UART5 for receive
Writing test string "Transmit Test String." to UART4_TXD
Receiving test string from UART5_TXD
^C
...it hangs on the receive (so I'm not even sure if it transmitted correctly) why I included the caret C to indicate where I had to stop execution with a <ctrl>C because it hung there.
Any ideas?
--
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/53822ae9-ef4e-4a9d-8e0c-c77cb4548b86%40googlegroups.com.