Re: [beagleboard] "fd_set" unknow in debian & QT-5.2.1 (!)

2014-05-03 Thread cecco
Hi Robert
first of all congratulations for everything you do for the community!!!

I'm sorry but I forgot to bring this important detail: I've compiled QT 
with "gcc-linaro-arm-linux-gnueabihf-4.8-2013.04-20130417_linux.tar" on my 
host machine,
and libmodbus on target (BBW), then with "gcc (Debian 4.6.3-14) 4.6.3".
Is this correct?



Can I ask you an other favour? can you see at this other mi 
post-replay? 
I've spent weeks over it and I've lost hope...

Thanks in advance!

Have a good Sunday!

Francesco.




Il giorno domenica 4 maggio 2014 03:34:18 UTC+2, RobertCNelson ha scritto:
>
> On Sat, May 3, 2014 at 10:37 AM, cecco > 
> wrote: 
> > Hello to everyone! 
> > 
> > I'm porting my application written in QT-5.2.1 from Texas sdk to debian 
> > 2014-04-14. 
> > 
> > the most part works well, but I get a Segmentation Fault when I execute 
> that 
> > (from libmodbus 3.1.1): 
> >  FD_SET(server_socket, &refset); 
> > that is the code: 
> > 
> > fd_set refset; 
> > fd_set rdset; 
> >  
> >  
> > 
> > server_socket = modbus_tcp_listen(ctx, NB_CONNECTION); 
> >  
> > 
> > /* Clear the reference set of socket */ 
> > FD_ZERO(&refset); 
> > /* Add the server socket */ 
> > FD_SET(server_socket, &refset);   --->>> segfault! 
> > 
> > the strange things is that if I put my mouse on "fd_set" the popup 
> > report:"Anonymous:11 fd_set", an over "refset" i get"Anonymous:11". 
> > 
> > This happens only with the "debian kit"  : if I compile my project with 
> an 
> > other kit (i.e. Texas with QT-4.8.5, or Android with QT-5.2.1 this no 
> > happens 
>
> My first thoughts, (mostly as this hasn't been published everywhere 
> yet) but what compiler are you using? With the debian image we have a 
> "gnueabihf" system, so your "gnueabi" compiler is not going to work 
> anymore. 
>
> Other then that, I'll have to leave it to the qt experts, I'm not one of 
> them. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Connect BeagleBone Black with USB to RS232/TTL Converter

2014-05-03 Thread diycup
 

*Connect BeagleBone Black with  USB to RS232/TTL Converter*
The* USB to RS232/TTL Converter* module provides a simple method of 
adapting legacy serial units with RS232 interfaces, to modern USB ports. 
This is accomplished by using the industry standard *FTDI FT230X*USB-Serial 
bridge IC. 


   
 
*F**eatures:*

• Support RS232/TTL output and input

• Add one RS-232 serial port (3.5mm Jack) for Intel Galileo.

• Operates with, and powered by, USB 1.1 or USB 2.0 host or hub.

• FIFO: 512 byte transmit buffer, 512 byte receive buffer.

• 12Mbps USB Full Speed interface and up to 1Mbps on the RS232 interface.

• LED indicate status & easy diagnostics.
• Data transfer rates from 300 baud to 3 Mbaud.


 
 

*The* *converter is able to connect Raspberry Pi, BeagleBone Black and more 
boards. *

*Want more details? Please go to **www.goembed.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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: I need to build ubuntu Rootfs from scratch -help needed

2014-05-03 Thread pavan
Hello ,

Could anybody please help me with this ?
I want to build Rootfs for OMAP3 from scratch.Help will be 
appreciated.Thanks 

On Saturday, May 3, 2014 10:59:20 AM UTC+5:30, pavan wrote:
>
> Hello ,
>
> I have plans to build ubuntu rootfs for Beagleboard xm rev C on my 
> own.Please help me for a good start .Thanks
>
> I googled but there are lot many sources ,I am not able to decide what to 
> follow and what not.
>
>
> Regards
> Pavan
>

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


Re: [beagleboard] "fd_set" unknow in debian & QT-5.2.1 (!)

2014-05-03 Thread Robert Nelson
On Sat, May 3, 2014 at 10:37 AM, cecco  wrote:
> Hello to everyone!
>
> I'm porting my application written in QT-5.2.1 from Texas sdk to debian
> 2014-04-14.
>
> the most part works well, but I get a Segmentation Fault when I execute that
> (from libmodbus 3.1.1):
>  FD_SET(server_socket, &refset);
> that is the code:
>
> fd_set refset;
> fd_set rdset;
> 
> 
>
> server_socket = modbus_tcp_listen(ctx, NB_CONNECTION);
> 
>
> /* Clear the reference set of socket */
> FD_ZERO(&refset);
> /* Add the server socket */
> FD_SET(server_socket, &refset);   --->>> segfault!
>
> the strange things is that if I put my mouse on "fd_set" the popup
> report:"Anonymous:11 fd_set", an over "refset" i get"Anonymous:11".
>
> This happens only with the "debian kit"  : if I compile my project with an
> other kit (i.e. Texas with QT-4.8.5, or Android with QT-5.2.1 this no
> happens

My first thoughts, (mostly as this hasn't been published everywhere
yet) but what compiler are you using? With the debian image we have a
"gnueabihf" system, so your "gnueabi" compiler is not going to work
anymore.

Other then that, I'll have to leave it to the qt experts, I'm not one of them.

Regards,

-- 
Robert Nelson
http://www.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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Is memory spec in dts shipped with BBB A6A Angstrom 3.8.13 wrong?

2014-05-03 Thread Robert Nelson
On Sat, May 3, 2014 at 4:40 PM, ags  wrote:
> Can anyone explain how/why the dtc specification of memory size is not being
> used, and/or where the actual size is coming from?

u-boot... Would you feel more comfortable if i patch the
am335x-boneblack.dtb to the correct memory size, on the next kernel
build, even thou it won't really change anything?

Regards,

-- 
Robert Nelson
http://www.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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] beagleboard.org vs rcn-ee.net

2014-05-03 Thread Robert Nelson
On Sat, May 3, 2014 at 3:29 PM,   wrote:
> Hello,
>
> I would like to know what are differences between debian images given by
> beagleboard.org and rcn-ee.net. Do they use a same kernel? Are the kernels
> built from the same source? Which one website should I use in order to get
> most stable and bugless system.


They serve two markets, the "first" is a custom version of the
"second" for CircuitCo to ship as the new default image.  It's
requirements were to replace the out of box experience of the older
Angstrom Image.

The "second" is designed to be very minimal and allow other developers
to base their custom stacks on.  It also supports other products such
as the original beagle/xm/panda and a few imx devices.

Regards,

-- 
Robert Nelson
http://www.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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Debian images

2014-05-03 Thread Robert Nelson
On Sat, May 3, 2014 at 6:17 PM, Timbo  wrote:
> Hello Beaglers,
>
> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
> http://elinux.org/BeagleBoardDebian
>
> The Debian images at the second link seem to be different from the
> "official" ones.  Does anybody know what the main differences are?
> thanks,

They serve two markets, the "first" is a custom version of the
"second" for CircuitCo to ship as the new default image.  It's
requirements were to replace the out of box experience of the older
Angstrom Image.

The "second" is designed to be very minimal and allow other developers
to base their custom stacks on.  It also supports other products such
as the original beagle/xm/panda and a few imx devices.

Regards,

-- 
Robert Nelson
http://www.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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Bonescript serial communication ttyO4

2014-05-03 Thread sarkar
Thanks Chris!

I need bit more help. Can you tell me how did you set up your device tree? 
Or it worked without editing the tree?

On Saturday, November 9, 2013 11:12:00 PM UTC+5:30, Chris Rogers wrote:
>
> I am not sure if you are still having issues - but I got this example 
> working :
>
>  https://github.com/jadonk/bonescript/blob/master/test/test-serial.js   
>
> To get that version working, I had to do a few things:
>
> 1. you have to have python on your bone
>
> # opkg update
>
> # opkg install python-compiler
> 2. you need to shut off the python version check in 
> /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js 
> - I did this by typing
>
> #nano /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js
> then searching for semver.lt (^W) and then commenting out these lines 
> (NOTE one does not get commented out):
>
>  // if (semver.gte(version, '2.7.3') && semver.lt(version, '3.0.0')) {
>
> getNodeDir()
>
>  // } else {
>
>  //   failPythonVersion(version)
>
>  // }
> 3. switch paths to cloud9 (and maybe a reboot for good measure) - I am not 
> sure why this is necessary - but it is...
>
> cd /var/lib/cloud9
>
> 4. Then install the latest bonescript version (0.2.3)
>
> npm install -g bonescript
>
> 5. test with
>
> # node -pe "require('bonescript').getPlatform().bonescript"
>
> 6. then open cloud9 and run his example code - and all seemed to work
>
>
> I hope that helps
>
> On Monday, October 7, 2013 4:30:34 AM UTC-4, Dennis Osipov wrote:
>>
>> I would like to send and receive data from ttyO4 (P9_11, P9_13) using 
>> bone script. Unfortunately I didn't find any projects or examples, how to 
>> make it with bonescript. 
>> It should be just a normal serial connection with 9600 baudrate. 
>>
>> Does anybody have some tips, how I can access ttyO4 with bonescript? 
>>
>> 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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Debian images

2014-05-03 Thread Timbo
Hello Beaglers,

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
http://elinux.org/BeagleBoardDebian

The Debian images at the second link seem to be different from the 
"official" ones.  Does anybody know what the main differences are?
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] customize cap-universal-00A0.dts

2014-05-03 Thread Charles Steinkuehler
On 5/3/2014 2:52 AM, Hannes Hörting wrote:
> Hello!
> 
> The work of Charles is great and very helpful:
> https://github.com/cdsteinkuehler/beaglebone-universal-io
> 
> Now I want to customize the file to:
> 
>1. enable all GPIO from HDMI (because I disable the HDMI)
>2. enable UART5 (because I disable the HDMI)

I intend for the HDMI pins to be a separate overlay which you would load
if you have disabled the on-board HDMI.  I already made the eMMC
version, but ran out of steam before I did the HDMI and HDMIN.

> The steps I already made:
> 
>1. uncomment P8.27 - P8.46
>2. uncomment "uart5"
> 
> Now I have to set for P8_27:
> P8_26_default_pin: pinmux_P8_26_default_pin {
> pinctrl-single,pins = <0x07c  0x37>; }; /* Mode 7, 
> Pull-Up, RxActive */
> P8_26_gpio_pin: pinmux_P8_26_gpio_pin {
> pinctrl-single,pins = <0x07c  0x2F>; }; /* Mode 7, 
> RxActive */
> P8_26_gpio_pu_pin: pinmux_P8_26_gpio_pu_pin {
> pinctrl-single,pins = <0x07c  0x37>; }; /* Mode 7, 
> Pull-Up, RxActive */
> P8_26_gpio_pd_pin: pinmux_P8_26_gpio_pd_pin {
> pinctrl-single,pins = <0x07c  0x27>; }; /* Mode 7, 
> Pull-Down, RxActive */
> 
> Replace _26 to _27
> But what for "0x07c" ?
> How are calculate or is there a list?

The bit definitions are in the "Control Module" section of the AM335x
Technical Reference Manual, generally section 9.3.1.50 (although check
the register list at the start of section 9.3 to be sure).

-- 
Charles Steinkuehler
char...@steinkuehler.net

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


Re: [beagleboard] Using GPIO

2014-05-03 Thread Charles Steinkuehler
You beat me to the answer...use the config-pin utility!  :)

Let me know if you run into any problems.  I haven't tested every
combination of features and there was a lot of cut-and-paste, so there
could be some bugs.

On 5/3/2014 1:59 AM, Hannes Hörting wrote:
> Sorry. You already answered:
> 
> Once loaded, all pins default to inputs with their power-on reset 
>> default pull up/down settings.  To change the pin functions, use the 
>> config-pin utility: 
>> config-pin p9.24 uart 
>> config-pin p9.25 high 
>> Just type config-pin (with no options) to get usage info. 

-- 
Charles Steinkuehler
char...@steinkuehler.net

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


Re: [beagleboard] Re: Is memory spec in dts shipped with BBB A6A Angstrom 3.8.13 wrong?

2014-05-03 Thread ags
Can anyone explain how/why the dtc specification of memory size is not 
being used, and/or where the actual size is coming from?

On Friday, April 25, 2014 10:02:40 PM UTC-7, ags wrote:
>
> Not necessarily an issue. Originally I was wondering if only half of 
> available physical memory was being made available. Still, I'd like to 
> understand why the device tree bindings indicate 256 MB memory, yet it 
> appears that the full 512 MB are available.
>
>
>>

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


Re: [beagleboard] beagleboard.org vs rcn-ee.net

2014-05-03 Thread John Syn

From:  
Reply-To:  
Date:  Saturday, May 3, 2014 at 1:29 PM
To:  
Subject:  [beagleboard] beagleboard.org vs rcn-ee.net

> Hello,
> 
> I would like to know what are differences between debian images given by
> beagleboard.org and rcn-ee.net. Do they use a same kernel? Are the kernels
> built from the same source? Which one website should I use in order to get
> most stable and bugless system.
Robert's latest kernel code is here. I believe the kernel images on
rcn-ee.net are built from this repository.

https://github.com/RobertCNelson/linux-dev

Regards,
John
> 
> 
> -- 
> 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.
> 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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] beagleboard.org vs rcn-ee.net

2014-05-03 Thread nilas4ever
Hello,

I would like to know what are differences between debian images given by 
beagleboard.org and rcn-ee.net. Do they use a same kernel? Are the kernels 
built from the same source? Which one website should I use in order to get 
most stable and bugless system.

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


[beagleboard] "fd_set" unknow in debian & QT-5.2.1 (!)

2014-05-03 Thread cecco
Hello to everyone!

I'm porting my application written in QT-5.2.1 from Texas sdk to debian 
2014-04-14.

the most part works well, but I get a* Segmentation Faul*t when I execute 
that (from libmodbus 3.1.1):
* FD_SET(server_socket, &refset);*
that is the code:

fd_set refset;
fd_set rdset;



server_socket = modbus_tcp_listen(ctx, NB_CONNECTION);


/* Clear the reference set of socket */
FD_ZERO(&refset);
/* Add the server socket */
FD_SET(server_socket, &refset);   --->>> segfault!


*the strange things is that if I put my mouse on "fd_set" the popup 
report:"Anonymous:11 fd_set", an over "refset" i get"Anonymous:11".*
This happens only with the "debian kit"  : if I compile my project with an 
other kit (i.e. Texas with QT-4.8.5, or Android with QT-5.2.1 this no 
happens

Have you any idea?
Thanks,
Francesco.


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


Re: [beagleboard] debian and networking

2014-05-03 Thread Jerry Davis
ok will try setting the BBB side and I will let you know.


On Fri, May 2, 2014 at 5:40 PM, William Hermans  wrote:

> I am no expert with networking either, for a more complete description use
> wikipedia or just google and read.
>
> Here is what I think i understand is happening here. OSX is setting up the
> network so only 3 IP addresses on this network can be used,  *.1, *.2, and
> broadcast *.255. broadcast is never assigned to any one machine. Now, the
> BBB is set to have the whole range open. That is *.1-*.254 plus *.255 for
> broadcast. I believe this can cause network issues, so best to have both
> set to the same value. the OSX value of 255.255.255.252 is possibly
> slightly more secure. BUt if the OSX machine and the BBB are connected
> directly together . . . personally I think it is a moot point.
>
> SO, change either the BBB to 255.255.255.252, or the OSX machine to
> 255.255.255.0.
>
>
>
>
> On Thu, May 1, 2014 at 3:55 PM, Jerry Davis  wrote:
>
>> hmm. I don't have anything to do with what the osx gives me.
>> should I change the BBB interfaces to match the 255.255.255.252 that I
>> see in osx?
>>
>>
>> On Thu, May 1, 2014 at 7:45 AM, William Hermans wrote:
>>
>>> well, that was odd . .
>>>
>>> Subnet Mask = 255.255.255.252 and netmask 255.255.255.0
>>>
>>> Mismatch.
>>>
>>>
>>> On Thu, May 1, 2014 at 7:43 AM, William Hermans wrote:
>>>
 Look closely at the lines below. Hint it has to do with first and last
 lines ;)

 Subnet Mask = 255.255.255.252

 connect to BBB using:

 screen /dev/tty.usbmodem2413 115200

 on BBB:
 $ ping 74.125.224.137
 connect: Network is unreachable

 At this point it doesn't matter what resolv.conf has in it, as it can't
 get out to DNS anyway.

 $ cat /etc/network/interfaces | grep -v '^#'

 auto lo
 iface lo inet loopback

 iface usb0 inet static
 address 192.168.7.2
 netmask 255.255.255.0
 network 192.168.7.0
 gateway 192.168.7.1


 On Thu, May 1, 2014 at 5:55 AM, Jerry Davis  wrote:

> > Oh by the way, the startup script under:
> >
> > /opt/scripts/boot/am335x_evm.sh loades the gadget module and sets up
> > the network udhcp for usb0. But i think you disabled those scripts in
> > your image build. so you might have usb0 disabled..
>
> So is this why nothing I have been able to do works?
> How do I enable this script when booting? And is this the whole
> problem.
>
> I would think that this should be fixed before BBB goes with Debian in
> the the next go around.
>
> Jerry
>
>
> On Wed, Apr 30, 2014 at 2:03 PM, Charles Steinkuehler <
> char...@steinkuehler.net> wrote:
>
>> On 4/30/2014 3:19 PM, Robert Nelson wrote:
>> > On Wed, Apr 30, 2014 at 10:42 AM, Charles Steinkuehler
>> >  wrote:
>> >>
>> >> I'm pretty good with networking, but don't generally use wicd or
>> the usb
>> >> interface, so I'm not familiar with this issue first-hand.  I
>> guess I've
>> >> got some learning to do...since I'm tracking your images for
>> Machinekit,
>> >> I've now got wicd in control of my Ethernet port.  :)
>> >
>> > Oh by the way, the startup script under:
>> >
>> > /opt/scripts/boot/am335x_evm.sh loades the gadget module and sets up
>> > the network udhcp for usb0. But i think you disabled those scripts
>> in
>> > your image build. so you might have usb0 disabled..
>>
>> My new images attempt to stay as close to your BeagleBone Debian
>> images
>> as possible, to the point of including the node.js and chromium
>> "bloatware" I'd rather see removed.  :)
>>
>> Hopefully this will make support on our side easier:
>>   "I don't know, go ask Robert!"  ;-)
>>
>> My previous images were based on the minimal Debian builds from your
>> script, and I didn't jump through any hoops to try and port the
>> Angstrom
>> BeagleBone specific features like usb networking.
>>
>> ...I did change the desktop background image, but yours is still on
>> the
>> /opt partition if folks want to change back.
>>
>> --
>> Charles Steinkuehler
>> char...@steinkuehler.net
>>
>> --
>> 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.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Extra Ham Operator: K7AZJ
> Registered Linux User: 275424
> Raspberry Pi and Arduino developer
>
> There are 10 kinds of people in the world:
> Those who can read binary and those who can't.
>
> --
> For more op

Re: [beagleboard] RS485 without direction control

2014-05-03 Thread arsi

;) D1 and R1 is simple 5V/3.3V level translator..

when RO is Low (RO is switched internaly with tranzistor to ground) 3.3V 
from R1 is Grounded and RXD is Low
when RO is High, 5V from IC is blocked by diode and RXD side is 3.3V 
High from R1




*From:* ??
*Sent:* Saturday, May 03, 2014 7:28AM
*To:* ??
*Subject:* Re: [beagleboard] RS485 without direction control


You will never read anything from this chip. What's the point?

03 Май 2014 г. 1:12 пользователь "arsi" > написал:


   Hello,

   Here is my solution for RS485, without direction control...
   MAX13487EESA - AutoDirection RS485 IC
   100% functional and simple ;)

   RS485 circuit

   Arsi



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


[beagleboard] customize cap-universal-00A0.dts

2014-05-03 Thread Hannes Hörting
Hello!

The work of Charles is great and very helpful:
https://github.com/cdsteinkuehler/beaglebone-universal-io

Now I want to customize the file to:

   1. enable all GPIO from HDMI (because I disable the HDMI)
   2. enable UART5 (because I disable the HDMI)

The steps I already made:

   1. uncomment P8.27 - P8.46
   2. uncomment "uart5"

Now I have to set for P8_27:
P8_26_default_pin: pinmux_P8_26_default_pin {
pinctrl-single,pins = <0x07c  0x37>; }; /* Mode 7, 
Pull-Up, RxActive */
P8_26_gpio_pin: pinmux_P8_26_gpio_pin {
pinctrl-single,pins = <0x07c  0x2F>; }; /* Mode 7, 
RxActive */
P8_26_gpio_pu_pin: pinmux_P8_26_gpio_pu_pin {
pinctrl-single,pins = <0x07c  0x37>; }; /* Mode 7, 
Pull-Up, RxActive */
P8_26_gpio_pd_pin: pinmux_P8_26_gpio_pd_pin {
pinctrl-single,pins = <0x07c  0x27>; }; /* Mode 7, 
Pull-Down, RxActive */

Replace _26 to _27
But what for "0x07c" ?
How are calculate or is there a list?

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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Using GPIO

2014-05-03 Thread Hannes Hörting
Sorry. You already answered:

Once loaded, all pins default to inputs with their power-on reset 
> default pull up/down settings.  To change the pin functions, use the 
> config-pin utility: 
> config-pin p9.24 uart 
> config-pin p9.25 high 
> Just type config-pin (with no options) to get usage info. 


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