Re: [beagleboard] Re: DPRAM interface with BBB

2017-06-30 Thread William Hermans
I'm kind of late to the post here but I remember Tom King doing some work
maybe for a cape years ago, So, I did a quick search, and found this post.
Maybe some useful information for you ?
https://groups.google.com/forum/#!category-topic/beagleboard/gpmc/QENqyIYTlO0

On Fri, Jun 30, 2017 at 9:47 PM, sajeevan k  wrote:

> Hi Gerald and Jason,
>
> Thank You for the reply.
> I got doubt because GPMC_AX lines were utilized for some other purposes.
> So first I thought that BBB is not designed to have external parallel
> interface. But later I found that GPMC_AD0-AD16 are  freely available and
> with ALE signal, Data and Address bus can be multiplexed.
>
>
>
>
> Also I think, even though AD0-AD7 lines are connected to MMC1, since
> Address, Data lines may be connected to many devices, and one particular
> device will be selected only when its CS signal is active, there won't be
> any issues.
>
>
>
> Thank You very much.
>
>
> Thanks & Regards,
> Sajeevan.K
>
>
> On Friday, June 30, 2017 at 5:56:23 PM UTC+5:30, Jason Kridner wrote:
>>
>> There is a peripheral called the GPMC -- general purpose memory
>> controller -- which is pretty good at SRAM-style interfaces.
>>
>> On Jun 30, 2017, at 7:46 AM, Gerald Coley  wrote:
>>
>> It is feasible.
>>
>>
>>
>> Gerald
>>
>>
>>
>> *From:* beagl...@googlegroups.com [mailto:be...@googlegroups.com] *On
>> Behalf Of *sajeevan k
>> *Sent:* Thursday, June 29, 2017 11:48 PM
>> *To:* BeagleBoard 
>> *Subject:* [beagleboard] Re: DPRAM interface with BBB
>>
>>
>>
>> Hi all,
>>
>> Any comments about the feasibility of DPRAM interface with BeagleBone
>> Black will be highly appreciated? Please...
>>
>>
>> Thanks & Regards,
>> Sajeevan.K
>>
>> On Tuesday, June 27, 2017 at 1:59:51 PM UTC+5:30, sajeevan k wrote:
>>
>> Hi all,
>>
>>
>>
>> Is it possible to interface an Asynchronous DPRAM (with 16 address lines
>> and 16 data lines) with BBB?
>>
>>
>>
>> Is there any block diagram (circuit diagram), which shows the
>> connections, available?
>>
>>
>>
>> Can we use GPMC_ADO-GPMC-AD15 pins as Address and Data mux pins with
>> GPMC_ADVN_ALE?
>>
>>
>>
>> Also I think GPMC_Ax pins are not required, since we can use Address-Data
>> multiplexing with ALE signal.
>>
>>
>>
>> I think all the required pins are coming out in P8 connector.
>>
>> 1) GPMC_ADO-GPMC-AD15
>>
>> 2) GPMC_ADVN_ALE
>>
>> 3) GPMC_WEN
>>
>> 4) GPMC_OEN_REN
>>
>> 5) GPMC_BE1N
>>
>> 6) GPMC_CSN0
>>
>>
>>
>> But GMC_AD0-GPMC-AD7 are also connected to MMC1_D0 to MMC1_D7. Will this
>> cause any problem to the functoining of DPRAM? Or will the DPRAM
>> functioning cause any problem to MMC1.
>>
>>
>>
>> Have anybody interfaced DPRAM with BBB? Please share your experience.
>>
>>
>>
>> Thanks and Regards,
>>
>> Sajeevan.K
>>
>> --
>> 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/ms
>> gid/beagleboard/d01d7261-4cad-49b1-965f-4bc3a0e847c7%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...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/beagleboard/4bb8d3999eb34e8d8fff57fd094f9a3b%
>> 40winhexbeus11.winus.mail
>> 
>> .
>> 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/3dea8e8f-98c6-492e-ac15-df96fe45b56a%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 

[beagleboard] RE: ECMA-262/2015

2017-06-30 Thread Mala Dies
Hello,

If there are any ECMA-262 enthusiasts, let me know. It was done in 2015 and 
holds until this hour, i.e. I think. Anyway, I am still learning what I can 
when I can. 

If I was to learn how to use JavaScript easier in my life, I think that the 
BBB and all variants would be an easier task for me. This is esp. true with 
all the sensors we can get our hands on.

...

So, 

If you are working 
on, http://www.ecma-international.org/ecma-262/6.0/ECMA-262.pdf, JavaScript 
and you want to learn alongside with me with the BBB and the various boards 
produced by the bbb.io persons, just chime in.

Seth

P.S. Although my time is limited, I would like to start on a project with a 
couple of people who are looking to not know all too much but would like to 
try to learn how to know things. Seriously! This is now a discussion. Oh 
and does anyone know what form of JavaScript we are using in our BBB or can 
we just pick and choose? Aw!

-- 
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/f656ab84-4c93-4149-88d3-898ec0708ac9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to enable USB power with u-boot?

2017-06-30 Thread William Hermans
On Fri, Jun 30, 2017 at 9:04 PM, Sergey Manucharian  wrote:

> Oh, thanks, William, I was inspired doing this by your post!
>

Oh, cool ! Glad someone reads my stuff now and then ;)

>
> The problem is that "usb start" starts *u-boot*'s USB subsystem, it
> (probably) has nothing to do with the CPU.
> You explicitly mentioned that used a USB HDD with external power supply,
> but I'm trying to boot off a USB flash drive. The CPU doesn't provide USB
> power at early stage. If I provide power from an external source,
> everything works fine.
>

Right so in that case, I explicitly mentioned using external power for a
hard drive. As many hard drives need at least 1-3A when spinning up, then
typically for a 3.5" HDD 1A after that. I just assumed that flash stick
would / should work, because most of them are pulling less than 500mA, or
is what I'd guess at any rate. However, you tested it seems, where I did
not.

>
> The latest u-boot supports loading overlays, I'm not sure whether it's
> possible to load an overlays with the correct configuration of that pin and
> *then* load kernel and stuff from USB flash drive.
>

So I do not know all the specifics, and quite honestly Robert would
probably know better than I. But *maybe* there is a way you can create a
new overlay, based on the board file, to get the USB power up. A lot of
overlays are already set in the board file by default, or more specifically
references to hardware are in the board file, and in some cases all you
need to do is write an overlay that targets the hardware in question, and
provide status="okay". With that said. . . I'm not 100% sure how soon the
overlays get loaded. As in if they're actually loaded in uboot, or if
they're somehow loaded just prior, or simotaneously when the kernel is
loaded via cmdline options.

It's a really interesting problem to solve, one that I'd like to figure out
myself - even.  If only I were not already busy with a ton of things at
work :/ Which, yeah, I'll probably be spending part of my weekend doing too
. . .

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


Re: [beagleboard] Re: DPRAM interface with BBB

2017-06-30 Thread sajeevan k
 

Hi Gerald and Jason,

Thank You for the reply. 
I got doubt because GPMC_AX lines were utilized for some other purposes. So 
first I thought that BBB is not designed to have external parallel 
interface. But later I found that GPMC_AD0-AD16 are  freely available and 
with ALE signal, Data and Address bus can be multiplexed. 


 

Also I think, even though AD0-AD7 lines are connected to MMC1, since 
Address, Data lines may be connected to many devices, and one particular 
device will be selected only when its CS signal is active, there won't be 
any issues.



Thank You very much.


Thanks & Regards,
Sajeevan.K


On Friday, June 30, 2017 at 5:56:23 PM UTC+5:30, Jason Kridner wrote:
>
> There is a peripheral called the GPMC -- general purpose memory controller 
> -- which is pretty good at SRAM-style interfaces. 
>
> On Jun 30, 2017, at 7:46 AM, Gerald Coley  > wrote:
>
> It is feasible.
>
>  
>
> Gerald
>
>  
>
> *From:* beagl...@googlegroups.com  [
> mailto:be...@googlegroups.com ] *On Behalf Of *sajeevan k
> *Sent:* Thursday, June 29, 2017 11:48 PM
> *To:* BeagleBoard 
> *Subject:* [beagleboard] Re: DPRAM interface with BBB
>
>  
>
> Hi all,
>
> Any comments about the feasibility of DPRAM interface with BeagleBone 
> Black will be highly appreciated? Please...
>
>
> Thanks & Regards,
> Sajeevan.K
>
> On Tuesday, June 27, 2017 at 1:59:51 PM UTC+5:30, sajeevan k wrote:
>
> Hi all,
>
>  
>
> Is it possible to interface an Asynchronous DPRAM (with 16 address lines 
> and 16 data lines) with BBB?
>
>  
>
> Is there any block diagram (circuit diagram), which shows the connections, 
> available?
>
>  
>
> Can we use GPMC_ADO-GPMC-AD15 pins as Address and Data mux pins with 
> GPMC_ADVN_ALE?
>
>  
>
> Also I think GPMC_Ax pins are not required, since we can use Address-Data 
> multiplexing with ALE signal.
>
>  
>
> I think all the required pins are coming out in P8 connector. 
>
> 1) GPMC_ADO-GPMC-AD15
>
> 2) GPMC_ADVN_ALE
>
> 3) GPMC_WEN
>
> 4) GPMC_OEN_REN
>
> 5) GPMC_BE1N
>
> 6) GPMC_CSN0
>
>  
>
> But GMC_AD0-GPMC-AD7 are also connected to MMC1_D0 to MMC1_D7. Will this 
> cause any problem to the functoining of DPRAM? Or will the DPRAM 
> functioning cause any problem to MMC1.
>
>  
>
> Have anybody interfaced DPRAM with BBB? Please share your experience. 
>
>  
>
> Thanks and Regards,
>
> Sajeevan.K
>
> -- 
> 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/d01d7261-4cad-49b1-965f-4bc3a0e847c7%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...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/4bb8d3999eb34e8d8fff57fd094f9a3b%40winhexbeus11.winus.mail
>  
> 
> .
> 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/3dea8e8f-98c6-492e-ac15-df96fe45b56a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-30 Thread Mala Dies
Hello,

Thank you.

Seth

On Friday, June 30, 2017 at 10:52:05 PM UTC-5, William Hermans wrote:
>
>
>
> On Fri, Jun 30, 2017 at 8:33 PM, Mala Dies  > wrote:
>
>> Mr. Rob,
>>
>> Why would I use the value 4096.0?
>>
>> Seth
>>
>> P.S. I have tried to suit the software to suit my needs and I keep coming 
>> up empty. I will try this value and I will get back to you.
>>
>
> Do you know anything about the hardware you're trying to use ? the onboard 
> ADC's report a value of 0-4095(4096 total ) depending on how much voltage 
> they're seeing at the pins. 1.8 would be fore the absolute maximum value in 
> voltage the ADC can read before failure. The reason why 4096.0 was probably 
> mentioned is that would indicate a float value, which strickly speaking is 
> not really necessary in Javascript. But in C, sometimes, it's necessary.
>

-- 
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/a0aa2e1c-7536-457c-98dd-baa95e128715%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to enable USB power with u-boot?

2017-06-30 Thread Sergey Manucharian
Oh, thanks, William, I was inspired doing this by your post!

The problem is that "usb start" starts *u-boot*'s USB subsystem, it 
(probably) has nothing to do with the CPU.
You explicitly mentioned that used a USB HDD with external power supply, 
but I'm trying to boot off a USB flash drive. The CPU doesn't provide USB 
power at early stage. If I provide power from an external source, 
everything works fine.

The latest u-boot supports loading overlays, I'm not sure whether it's 
possible to load an overlays with the correct configuration of that pin and 
*then* load kernel and stuff from USB flash drive.

On Friday, June 30, 2017 at 9:46:27 PM UTC-6, William Hermans wrote:
>
>
>
> On Fri, Jun 30, 2017 at 7:50 PM, Sergey Manucharian  > wrote:
>
>> From this thread https://e2e.ti.com/support/arm/sitara_arm/f/791/t/270060
>> :
>> Modifying bit 0 of 8 bit register address 0x47401C60 it switch on/off 
>> USB1_DRVVBUS pin
>>
>
> But I don't think you have to do all that. Read my post from nearly 4 
> years ago here: 
> http://www.embeddedhobbyist.com/2013/07/beaglebone-black-usb-boot/
>
> Scroll down where I talk about uEnv.txt. "usb start" should initiate 
> power, and the driver. Note that I'm calling it first before loading files 
> over USB. If you require in depth details, you'll have to read through the 
> source code. But I might be able to answer *some* questions. I'm by no 
> means a uboot expert.
>

-- 
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/cbb243a0-bb18-4fec-b9b9-d407aae15166%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-30 Thread William Hermans
On Fri, Jun 30, 2017 at 8:33 PM, Mala Dies  wrote:

> Mr. Rob,
>
> Why would I use the value 4096.0?
>
> Seth
>
> P.S. I have tried to suit the software to suit my needs and I keep coming
> up empty. I will try this value and I will get back to you.
>

Do you know anything about the hardware you're trying to use ? the onboard
ADC's report a value of 0-4095(4096 total ) depending on how much voltage
they're seeing at the pins. 1.8 would be fore the absolute maximum value in
voltage the ADC can read before failure. The reason why 4096.0 was probably
mentioned is that would indicate a float value, which strickly speaking is
not really necessary in Javascript. But in C, sometimes, it's necessary.

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


Re: [beagleboard] How to enable USB power with u-boot?

2017-06-30 Thread William Hermans
On Fri, Jun 30, 2017 at 7:50 PM, Sergey Manucharian  wrote:

> From this thread https://e2e.ti.com/support/arm/sitara_arm/f/791/t/270060:
> Modifying bit 0 of 8 bit register address 0x47401C60 it switch on/off
> USB1_DRVVBUS pin
>

But I don't think you have to do all that. Read my post from nearly 4 years
ago here: http://www.embeddedhobbyist.com/2013/07/beaglebone-black-usb-boot/

Scroll down where I talk about uEnv.txt. "usb start" should initiate power,
and the driver. Note that I'm calling it first before loading files over
USB. If you require in depth details, you'll have to read through the
source code. But I might be able to answer *some* questions. I'm by no
means a uboot expert.

-- 
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/CALHSORr9Me_7hnr%2BU%3Dmciv-RUi-Qu4YVG-MatjZJwAiYPsKGmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-30 Thread Mala Dies
Mr. Rob,

Why would I use the value 4096.0?

Seth

P.S. I have tried to suit the software to suit my needs and I keep coming 
up empty. I will try this value and I will get back to you.

On Thursday, June 29, 2017 at 8:29:36 PM UTC-5, RobertCNelson wrote:
>
>
>
> On Thu, Jun 29, 2017 at 8:21 PM, Mala Dies  > wrote:
>
>> Hello Rob,
>>
>> Seth here. I am located in the states. There is a big fault and I am not 
>> clued in, obviously. How is F == C?
>>
>
> Your values are correct:
>
> -39.58241C = -39.2483F
>
> -40C = -40F
> 0C = 32F
> 100C = 212F
>
>  
>
>> I figured that there would be a part to the software, the section that 
>> displays the difference, that tells me/you the C and F reads. 
>>
>> Seth
>>
>> P.S. I am in about an 80 degree temp. right now. So, do I need to replace 
>> "reading.value" with an actual numerical value? I will keep trying.
>>
>
> var millivolts = reading.value * 1800;
>
> That's not right..
>
> var millivolts = (reading.value / 4096.0) * 1800;
>
> i think...
>
> 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/fa12cb77-3e1a-4a52-b79c-b603a4357785%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to enable USB power with u-boot?

2017-06-30 Thread Sergey Manucharian
>From this thread https://e2e.ti.com/support/arm/sitara_arm/f/791/t/270060:
Modifying bit 0 of 8 bit register address 0x47401C60 it switch on/off 
USB1_DRVVBUS pin

Is it possible to do from u-boot environment or I'll need to modify u-boot 
source code?

On Friday, June 30, 2017 at 1:19:54 PM UTC-6, Sergey Manucharian wrote:
>
> That's exactly what I do, it works fine, the problem is that the USB has 
> no power at that time, I have to use an external power supply.
>
> On Friday, June 30, 2017 at 1:16:08 PM UTC-6, RobertCNelson wrote:
>>
>>
>> Once you boot into "U-Boot" from the microSD/eMMC, load the files from 
>> the USB flash drive and jump into that rootfs.. 
>>
>> 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/8d48e174-6fd4-43b0-89eb-282e22670622%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-30 Thread Mala Dies
Hello,

Okay...I will try it.

Seth

On Friday, June 30, 2017 at 4:14:06 PM UTC-5, Przemek Klosowski wrote:
>
>
> On Fri, Jun 30, 2017 at 10:54 AM, Dennis Lee Bieber  > wrote:
>
>>   Someone else will have to comment on whether that language does
>> automatic promotion to float on division, otherwise they could be a loss 
>> of
>> significance ( 2/3 => 0 vs 2.0/3.0 => 0.7)
>>
>
> just use commandline javascript interpreter:
> $ js
> js> 9/5
> 1.8
>
>

-- 
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/53401c7b-c618-4f38-8b07-fd253dc3e700%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-30 Thread Mala Dies
Hello,

I got the software from a book, "Programming the BeagleBone Black."

Seth

On Friday, June 30, 2017 at 9:54:56 AM UTC-5, Dennis Lee Bieber wrote:
>
> On Thu, 29 Jun 2017 17:46:14 -0700 (PDT), Mala Dies 
>  declaimed the following: 
>
> >var b = require('bonescript'); 
> > 
> >function readTemp() { 
> >b.analogRead('P9_39', displayTemp); 
> >} 
> > 
> >function displayTemp(reading) { 
> >var millivolts = reading.value * 1800; 
> >var tempC = (millivolts - 500) / 10; 
> >var tempF = (tempC * 9/5) + 32 
> >console.log("TempC = " + tempC + "\t Temp F = " + tempF); 
> >} 
>
> Is that a cut, or did you type it in by hand? 
>
> I ask as I note that there is no semicolon ending the line 
> declaring 
> tempF 
>
> Someone else will have to comment on whether that language does 
> automatic promotion to float on division, otherwise they could be a loss 
> of 
> significance ( 2/3 => 0 vs 2.0/3.0 => 0.7) 
>
> -- 
> Wulfraed Dennis Lee Bieber AF6VN 
> wlf...@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 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/ec45d101-2bfb-4ae7-b592-420b1e81a189%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to enable USB power with u-boot?

2017-06-30 Thread Sergey Manucharian
That's exactly what I do, it works fine, the problem is that the USB has no 
power at that time, I have to use an external power supply.

On Friday, June 30, 2017 at 1:16:08 PM UTC-6, RobertCNelson wrote:
>
>
> Once you boot into "U-Boot" from the microSD/eMMC, load the files from 
> the USB flash drive and jump into that rootfs.. 
>
> 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/c0aa0f4d-b52a-464b-8433-2f344274b268%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to enable USB power with u-boot?

2017-06-30 Thread Robert Nelson
On Fri, Jun 30, 2017 at 1:21 PM, Sergey Manucharian  wrote:
> I'd like to use uboot's USB subsystem to boot off a USB flash drive.
> However, the USB power is disabled at boot/reset. When I provide external
> power everything works as expected,
>
> So, how to enable USB power at CPU power-up/reset or with u-boot itself?
> Thanks for advises!

Once you boot into "U-Boot" from the microSD/eMMC, load the files from
the USB flash drive and jump into that rootfs..

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/CAOCHtYgxUsJj3o6kov96Op2N2P6%2BU-4aTBpHNBOJf%2BeQJxLYvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] How to enable USB power with u-boot?

2017-06-30 Thread Sergey Manucharian
I'd like to use uboot's USB subsystem to boot off a USB flash drive.
However, the USB power is disabled at boot/reset. When I provide external 
power everything works as expected,

So, how to enable USB power at CPU power-up/reset or with u-boot itself?
Thanks for advises!

-- 
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/552eb732-1d94-478c-9b7d-7787bdbe9020%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-30 Thread Robert Nelson
On Fri, Jun 30, 2017 at 11:53 AM, Robert Nelson  wrote:
> On Fri, Jun 30, 2017 at 11:51 AM, Jason Kridner  wrote:
>> Robert,
>>
>> Can we make sure the Blue UART pins default to UART and that config-pin is
>> not necessary? This is critical to our expected user experience where the
>> I/O ports are defined by their default function.
>>
>> What did I do wrong?
>
> I'm not sure, i had assumed your dts changes would make it default..
> but it didn't..
>
> I'll shove it in the bootscript, to fix it now...
>
> cd /opt/scripts/tools/
> git pull

Okay that's fixed:

If config-pin is too old, it'll complain..

debian@beaglebone:~$ journalctl | grep am335x_evm: | grep config-pin
Jun 30 17:23:51 beaglebone sh[429]: am335x_evm: broken
/usr/bin/config-pin upgrade bb-cape-overlays

once it's updated..

debian@beaglebone:~$ journalctl | grep am335x_evm: | grep config-pin
Jun 30 17:27:17 beaglebone sh[412]: am335x_evm: config-pin: GPS:
Setting P9.21/P9.22 as: uart: [/dev/ttyS2]
Jun 30 17:27:17 beaglebone sh[412]: am335x_evm: config-pin: UT1:
Setting P9.24/P9.26 as: uart: [/dev/ttyS1]

debian@beaglebone:~$ config-pin -q P9.24
P9_24 Mode: uart
debian@beaglebone:~$ config-pin -q P9.26
P9_26 Mode: uart
debian@beaglebone:~$ config-pin -q P9.21
P9_21 Mode: uart
debian@beaglebone:~$ config-pin -q P9.22
P9_22 Mode: uart

debian@beaglebone:~$ tio -b 9600 /dev/ttyS1
[tio 17:30:57] tio v1.20
[tio 17:30:57] Press ctrl-t q to quit
[tio 17:30:57] Connected
$GPRMC,173058.00,V,,,300617,,,N*76
$GPVTG,N*30
$GPGGA,173058.00,0,00,99.99,,*6E
$GPGSA,A,1,99.99,99.99,99.99*30
$GPGSV,1,1,02,13,,,19,17,,,22*77
$GPGLL,173058.00,V,N*42
$GPRMC,173059.00,V,,,300617,,,N*77

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/CAOCHtYiagS%3Dc%2Bq8ekshHm68yFNGkAuj3Ezic%2BgLy-ZoQBQX4fQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-30 Thread Robert Nelson
On Fri, Jun 30, 2017 at 11:51 AM, Jason Kridner  wrote:
> Robert,
>
> Can we make sure the Blue UART pins default to UART and that config-pin is
> not necessary? This is critical to our expected user experience where the
> I/O ports are defined by their default function.
>
> What did I do wrong?

I'm not sure, i had assumed your dts changes would make it default..
but it didn't..

I'll shove it in the bootscript, to fix it now...

cd /opt/scripts/tools/
git pull

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/CAOCHtYiV%2Bh9QEjzch8LBRuHRvKuPm83%3Dj7giZ--G%3DPjedVJQmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-30 Thread Jason Kridner
Robert,

Can we make sure the Blue UART pins default to UART and that config-pin is
not necessary? This is critical to our expected user experience where the
I/O ports are defined by their default function.

What did I do wrong?

Regards,
Jason

On Fri, Jun 30, 2017 at 12:35 PM Robert Nelson 
wrote:

> On Thu, Jun 29, 2017 at 5:38 PM, Timothy Litvin 
> wrote:
> > Robert, Easy enough: I’ve deleted the dtb=am335x-boneblue-ArduPilot.dtb
> from
> > /boot/uEnv.txt and rebooted. So, explicitly, the Blue-Ardupilot recipe
> line
> > #3 Add BLUE DTB
> >
> > sudo sed -i 's/#dtb=$/dtb=am335x-boneblue-ArduPilot.dtb/' /boot/uEnv.txt
> >
> > is now obsolete with Jason’s recent DTB fix.  Now I get:
> >
> >
> > kimo@beaglebone:~$ sudo /opt/scripts/tools/version.sh
> >
> > [sudo] password for kimo:
> >
> > git:/opt/scripts/:[6d017b3c0902fd4e67fa6ef4801139da9a1726d6]
> >
> > eeprom:[A335BNLTBLA21712EL005600]
> >
> > dogtag:[BeagleBoard.org Debian Image 2017-02-19]
> >
> > bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot
> > 2017.03-rc2-2-g11d4fd]
> >
> > kernel:[4.4.68-ti-rt-r111]
> >
> > nodejs:[v4.8.3]
> >
> >
> > However, having done so hasn’t yet gotten a GPS signal through. A query
> >
> > desmg | grep tty
> >
> > returns the same Port report I’ve gotten all along (included in the
> original
> > post). I’ve nevertheless tried the blue-arduplane/Mission Planner with
> > various parameters, e.g.,
> >
> >  sudo /usr/bin/ardupilot/blue-arduplane -C udp:192.168.8.132:14550 -B
> > /dev/ttyO2
> >
> > that continue to transmit telemetry without GPS.
> >
> > I’ve verified that I’m updated on Debian, blue-arduplane and the RT
> kernel.
>
> Hi Timothy,
>
> i think i found the problem... the pinmux was still not being setup
> properly..
>
> I just pushed a config-pin update for the Blue..
>
> sudo apt update
> sudo apt upgrade
> sudo apt install tio
>
> i picked up a uBlox PAM-7Q module, it's only 3.3v so i have it hooked
> up to UT1, i know your on GPS connector (5.0v)
>
> So on bootup we see:
>
> (UT1)
> debian@beaglebone:~$ config-pin -q P9.24
> P9_24 Mode: none
> debian@beaglebone:~$ config-pin -q P9.26
> P9_26 Mode: none
>
> and (GPS)
> debian@beaglebone:~$ config-pin -q P9.21
> P9_21 Mode: none
> debian@beaglebone:~$ config-pin -q P9.22
> P9_22 Mode: none
>
> So by default, using tio:
>
> debian@beaglebone:~$ tio -b 9600 /dev/ttyS1
> [tio 16:32:20] tio v1.20
> [tio 16:32:20] Press ctrl-t q to quit
> [tio 16:32:20] Connected
>
>
> 
>
> If i switch P9.24/P9.26 to uart:
>
> debian@beaglebone:~$ config-pin P9.24 uart
> debian@beaglebone:~$ config-pin P9.26 uart
> debian@beaglebone:~$ config-pin -q P9.24
> P9_24 Mode: uart
> debian@beaglebone:~$ config-pin -q P9.26
> P9_26 Mode: uart
>
> then fire up tio:
>
> debian@beaglebone:~$ tio -b 9600 /dev/ttyS1
> [tio 16:33:08] tio v1.20
> [tio 16:33:08] Press ctrl-t q to quit
> [tio 16:33:08] Connected
> W$GPRMC,163309.00,V,,,300617,,,N*70
> $GPVTG,N*30
> $GPGGA,163309.00,0,00,99.99,,*68
> $GPGSA,A,1,99.99,99.99,99.99*30
> $GPGSV,3,1,11,01,31,123,,07,46,149,17,08,32,052,17,11,50,107,19*74
> $GPGSV,3,2,11,13,31,299,21,15,08,327,,17,26,215,,19,02,218,*76
> $GPGSV,3,3,11,27,00,046,,28,64,291,,30,79,211,23*42
> $GPGLL,163309.00,V,N*44
> $GPRMC,163310.00,V,,,300617,,,N*78
>
>
> In your case run:
>
>
> debian@beaglebone:~$ config-pin P9.21 uart
> debian@beaglebone:~$ config-pin P9.22 uart
>
>
> debian@beaglebone:~$ tio -b 9600 /dev/ttyS2
>
> and see that happens (9600 might not be the baud)
>
> I've added both UT1 and GPS info here:
>
> https://github.com/beagleboard/beaglebone-blue/wiki/Pinouts
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>
-- 
https://beagleboard.org/about

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


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-30 Thread Robert Nelson
On Thu, Jun 29, 2017 at 5:38 PM, Timothy Litvin  wrote:
> Robert, Easy enough: I’ve deleted the dtb=am335x-boneblue-ArduPilot.dtb from
> /boot/uEnv.txt and rebooted. So, explicitly, the Blue-Ardupilot recipe line
> #3 Add BLUE DTB
>
> sudo sed -i 's/#dtb=$/dtb=am335x-boneblue-ArduPilot.dtb/' /boot/uEnv.txt
>
> is now obsolete with Jason’s recent DTB fix.  Now I get:
>
>
> kimo@beaglebone:~$ sudo /opt/scripts/tools/version.sh
>
> [sudo] password for kimo:
>
> git:/opt/scripts/:[6d017b3c0902fd4e67fa6ef4801139da9a1726d6]
>
> eeprom:[A335BNLTBLA21712EL005600]
>
> dogtag:[BeagleBoard.org Debian Image 2017-02-19]
>
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot
> 2017.03-rc2-2-g11d4fd]
>
> kernel:[4.4.68-ti-rt-r111]
>
> nodejs:[v4.8.3]
>
>
> However, having done so hasn’t yet gotten a GPS signal through. A query
>
> desmg | grep tty
>
> returns the same Port report I’ve gotten all along (included in the original
> post). I’ve nevertheless tried the blue-arduplane/Mission Planner with
> various parameters, e.g.,
>
>  sudo /usr/bin/ardupilot/blue-arduplane -C udp:192.168.8.132:14550 -B
> /dev/ttyO2
>
> that continue to transmit telemetry without GPS.
>
> I’ve verified that I’m updated on Debian, blue-arduplane and the RT kernel.

Hi Timothy,

i think i found the problem... the pinmux was still not being setup properly..

I just pushed a config-pin update for the Blue..

sudo apt update
sudo apt upgrade
sudo apt install tio

i picked up a uBlox PAM-7Q module, it's only 3.3v so i have it hooked
up to UT1, i know your on GPS connector (5.0v)

So on bootup we see:

(UT1)
debian@beaglebone:~$ config-pin -q P9.24
P9_24 Mode: none
debian@beaglebone:~$ config-pin -q P9.26
P9_26 Mode: none

and (GPS)
debian@beaglebone:~$ config-pin -q P9.21
P9_21 Mode: none
debian@beaglebone:~$ config-pin -q P9.22
P9_22 Mode: none

So by default, using tio:

debian@beaglebone:~$ tio -b 9600 /dev/ttyS1
[tio 16:32:20] tio v1.20
[tio 16:32:20] Press ctrl-t q to quit
[tio 16:32:20] Connected




If i switch P9.24/P9.26 to uart:

debian@beaglebone:~$ config-pin P9.24 uart
debian@beaglebone:~$ config-pin P9.26 uart
debian@beaglebone:~$ config-pin -q P9.24
P9_24 Mode: uart
debian@beaglebone:~$ config-pin -q P9.26
P9_26 Mode: uart

then fire up tio:

debian@beaglebone:~$ tio -b 9600 /dev/ttyS1
[tio 16:33:08] tio v1.20
[tio 16:33:08] Press ctrl-t q to quit
[tio 16:33:08] Connected
W$GPRMC,163309.00,V,,,300617,,,N*70
$GPVTG,N*30
$GPGGA,163309.00,0,00,99.99,,*68
$GPGSA,A,1,99.99,99.99,99.99*30
$GPGSV,3,1,11,01,31,123,,07,46,149,17,08,32,052,17,11,50,107,19*74
$GPGSV,3,2,11,13,31,299,21,15,08,327,,17,26,215,,19,02,218,*76
$GPGSV,3,3,11,27,00,046,,28,64,291,,30,79,211,23*42
$GPGLL,163309.00,V,N*44
$GPRMC,163310.00,V,,,300617,,,N*78


In your case run:


debian@beaglebone:~$ config-pin P9.21 uart
debian@beaglebone:~$ config-pin P9.22 uart


debian@beaglebone:~$ tio -b 9600 /dev/ttyS2

and see that happens (9600 might not be the baud)

I've added both UT1 and GPS info here:

https://github.com/beagleboard/beaglebone-blue/wiki/Pinouts

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


Re: [beagleboard] [Help] Cannot go to linux cnc after stepconfig files created

2017-06-30 Thread Eric Keller
machinkit isn't linuxcnc.  There is a machinekit mailing list on google
groups where you probably can get help with this.
https://groups.google.com/forum/#!forum/machinekit
Looks like a path problem to me, but PNCconf has always worked out of the
box for me.


On Fri, Jun 30, 2017 at 7:44 AM,  wrote:

> Hello everyone!
> I'm just a beginner to linux CNC,  i'm using a Black Beagle Bone device
> with machinekit installed , after i created a stepconfig profile,i saw that
> it created a shortcut and my stepconf folder on Desktop,but however i
> cannot launch it to go to axis menu. I got this enror messages:
> [img  ]http://i.imgur.com/zCU10aP.png[/img]
>
>
> [code]can't read "::sampleconfigs_node": no such variable
> can't read "::sampleconfigs_node": no such variable
> while executing
> "if {"$node" == "$::myconfigs_node"} {
>  $::detail_box insert end "Your existing configs"
>   } elseif { "$node" == "$::sampleconfigs_..."
> invoked from within
> "if [file isdirectory $node] {
>   if {"$node" == "$::myconfigs_node"} {
>  $::detail_box insert end "Your existing configs"
>   ..."
> (procedure "node_clicked" line 72)
> invoked from within
> "node_clicked "
> (command bound to event)[/code]
>
> Can anyone help me to fix this problem? Thank you very much
>
> --
> 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/513a2131-b8bf-41a3-86d6-a2bd6cbd37af%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/CANEU9UzQ8Lnx8gDTkxO517mFvbHYUjCSvofbPmFLhE1ayfutQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: DPRAM interface with BBB

2017-06-30 Thread Jason Kridner
There is a peripheral called the GPMC -- general purpose memory controller -- 
which is pretty good at SRAM-style interfaces. 

> On Jun 30, 2017, at 7:46 AM, Gerald Coley  wrote:
> 
> It is feasible.
>  
> Gerald
>  
> From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
> Behalf Of sajeevan k
> Sent: Thursday, June 29, 2017 11:48 PM
> To: BeagleBoard 
> Subject: [beagleboard] Re: DPRAM interface with BBB
>  
> Hi all,
> 
> Any comments about the feasibility of DPRAM interface with BeagleBone Black 
> will be highly appreciated? Please...
> 
> 
> Thanks & Regards,
> Sajeevan.K
> 
> On Tuesday, June 27, 2017 at 1:59:51 PM UTC+5:30, sajeevan k wrote:
> Hi all,
>  
> Is it possible to interface an Asynchronous DPRAM (with 16 address lines and 
> 16 data lines) with BBB?
>  
> Is there any block diagram (circuit diagram), which shows the connections, 
> available?
>  
> Can we use GPMC_ADO-GPMC-AD15 pins as Address and Data mux pins with 
> GPMC_ADVN_ALE?
>  
> Also I think GPMC_Ax pins are not required, since we can use Address-Data 
> multiplexing with ALE signal.
>  
> I think all the required pins are coming out in P8 connector.
> 1) GPMC_ADO-GPMC-AD15
> 2) GPMC_ADVN_ALE
> 3) GPMC_WEN
> 4) GPMC_OEN_REN
> 5) GPMC_BE1N
> 6) GPMC_CSN0
>  
> But GMC_AD0-GPMC-AD7 are also connected to MMC1_D0 to MMC1_D7. Will this 
> cause any problem to the functoining of DPRAM? Or will the DPRAM functioning 
> cause any problem to MMC1.
>  
> Have anybody interfaced DPRAM with BBB? Please share your experience.
>  
> Thanks and Regards,
> Sajeevan.K
> -- 
> 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/d01d7261-4cad-49b1-965f-4bc3a0e847c7%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/4bb8d3999eb34e8d8fff57fd094f9a3b%40winhexbeus11.winus.mail.
> 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/2C2C5BE9-3491-451E-A0F1-1151AF255AFF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] [Help] Cannot go to linux cnc after stepconfig files created

2017-06-30 Thread dung144vt
Hello everyone!
I'm just a beginner to linux CNC,  i'm using a Black Beagle Bone device 
with machinekit installed , after i created a stepconfig profile,i saw that 
it created a shortcut and my stepconf folder on Desktop,but however i 
cannot launch it to go to axis menu. I got this enror messages:
[img  ]http://i.imgur.com/zCU10aP.png[/img]


[code]can't read "::sampleconfigs_node": no such variable
can't read "::sampleconfigs_node": no such variable
while executing
"if {"$node" == "$::myconfigs_node"} {
 $::detail_box insert end "Your existing configs"
  } elseif { "$node" == "$::sampleconfigs_..."
invoked from within
"if [file isdirectory $node] {
  if {"$node" == "$::myconfigs_node"} {
 $::detail_box insert end "Your existing configs"
  ..."
(procedure "node_clicked" line 72)
invoked from within
"node_clicked "
(command bound to event)[/code]

Can anyone help me to fix this problem? Thank you very much

-- 
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/513a2131-b8bf-41a3-86d6-a2bd6cbd37af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] RE: Can't import pyserial or serial in python 3.4 2017-03 Debian

2017-06-30 Thread Dr. John Liu
I think I figured this out. I needed to install pip3 aka python3-pip using 
apt-get. I’ve never done that my whole time using python on any OS. It took me 
a while to get the combination of python, pip, a dash, and 3 in the right order 
to get it to install. What’s the preferred programming language on BBB platform?

 

From: zli...@gmail.com [mailto:zli...@gmail.com] 
Sent: Thursday, June 29, 2017 4:28 PM
To: BeagleBoard 
Cc: zli...@gmail.com
Subject: Re: Can't import pyserial or serial in python 3.4 2017-03 Debian

 

Thanks but this command produces an error:

debian@beaglebone:~$ python3 -m pip list
/usr/bin/python3: No module named pip

How do I install a pip3 or pip for python3? I tried a few combinations with 
apt-get and couldn't find what to install. I thought that BBB is probably not 
optimized to run python3 code otherwise these facilities should have been in 
place for the average python person.

Best,

On Thursday, June 29, 2017 at 9:56:06 AM UTC-5, Brett Hamilton wrote:

The python module in pyserial is called serial, so no mystery there.

 

To run a version of pip for your python3.4 you can use "python3 -m pip [pip 
args]".

-- 
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/006601d2f156%242fe27f20%248fa77d60%24%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [beagleboard] Re: DPRAM interface with BBB

2017-06-30 Thread Gerald Coley
It is feasible.

Gerald

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of sajeevan k
Sent: Thursday, June 29, 2017 11:48 PM
To: BeagleBoard 
Subject: [beagleboard] Re: DPRAM interface with BBB

Hi all,

Any comments about the feasibility of DPRAM interface with BeagleBone Black 
will be highly appreciated? Please...


Thanks & Regards,
Sajeevan.K

On Tuesday, June 27, 2017 at 1:59:51 PM UTC+5:30, sajeevan k wrote:

Hi all,



Is it possible to interface an Asynchronous DPRAM (with 16 address lines and 16 
data lines) with BBB?



Is there any block diagram (circuit diagram), which shows the connections, 
available?



Can we use GPMC_ADO-GPMC-AD15 pins as Address and Data mux pins with 
GPMC_ADVN_ALE?



Also I think GPMC_Ax pins are not required, since we can use Address-Data 
multiplexing with ALE signal.



I think all the required pins are coming out in P8 connector.

1) GPMC_ADO-GPMC-AD15

2) GPMC_ADVN_ALE

3) GPMC_WEN

4) GPMC_OEN_REN

5) GPMC_BE1N

6) GPMC_CSN0



But GMC_AD0-GPMC-AD7 are also connected to MMC1_D0 to MMC1_D7. Will this cause 
any problem to the functoining of DPRAM? Or will the DPRAM functioning cause 
any problem to MMC1.



Have anybody interfaced DPRAM with BBB? Please share your experience.



Thanks and Regards,

Sajeevan.K
--
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/d01d7261-4cad-49b1-965f-4bc3a0e847c7%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/4bb8d3999eb34e8d8fff57fd094f9a3b%40winhexbeus11.winus.mail.
For more options, visit https://groups.google.com/d/optout.