Re: [beagleboard] Autorun Python Script can't write files

2021-04-16 Thread Steve Lentz
Dennis: Thanks for this, I had to increase the hold off to 60 seconds but that’s fine for my purposes. I discovered that sudo systemctl status cron gives good output for debugging. While troubleshooting, I made my script executable with chmod 777 autotest.py although I’m not certain this

[beagleboard] Need armhf java 8

2021-04-16 Thread maxmike
It looks like the Oracle download page for this archive version is under repairs (for who knows how long) does anybody have a copy of jdk-8u191-linux-arm32-vfp-hflt.tar.gz ? Please? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are

Re: [beagleboard] versioning beaglebone images with OSTree

2021-04-16 Thread Robert Nelson
On Fri, Apr 16, 2021 at 4:19 PM John Allwine wrote: > > I'd like to start a discussion about creating complete Beaglebone images that > leverage OSTree to be able to atomically update the system as a whole. The > scripts in https://github.com/beagleboard/image-builder generate complete >

[beagleboard] versioning beaglebone images with OSTree

2021-04-16 Thread John Allwine
I'd like to start a discussion about creating complete Beaglebone images that leverage OSTree to be able to atomically update the system as a whole. The scripts in https://github.com/beagleboard/image-builder generate complete images for the Beaglebone that include specific kernel, apt

[beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread Walter Cromer
Dennis - It was just an example that, for me, made it clearer to me the relationship between A/D channels and steps. This isn't something we're doing in this application. WC On Friday, April 16, 2021 at 1:36:16 PM UTC-4 Dennis Bieber wrote: > On Thu, 15 Apr 2021 09:35:20 -0700 (PDT), in >

Re: [beagleboard] What is the difference between flasher and microSD images?

2021-04-16 Thread eb
Thank you for the clarification. I successfully flashed to the eMMC, mounted a FAT32 SD card, and everything works great. On Friday, April 16, 2021 at 2:13:39 PM UTC-4 RobertCNelson wrote: > On Wed, Apr 14, 2021 at 11:23 PM eb wrote: > > > > I'm having trouble finding information on the

[beagleboard] Re: Autorun Python Script can't write files

2021-04-16 Thread Dennis Lee Bieber
On Fri, 16 Apr 2021 09:01:33 -0700 (PDT), in gmane.comp.hardware.beagleboard.user "stl...-re5jqeeqqe8avxtiumw...@public.gmane.org" wrote: >I want my autorun python script to write information into a text file. > This works fine when the python file is run from the Cloud9 interface, but >does

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread jeff....@gmail.com
Ok thank you sir!! (but I probably am still losing my mind :-) ) The daily emails (and Mark's email) gets us to the latest posts in the meantime.. On Friday, April 16, 2021 at 2:59:39 PM UTC-4 RobertCNelson wrote: > On Fri, Apr 16, 2021 at 1:40 PM jeff@gmail.com > wrote: > > > > Really

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread Robert Nelson
On Fri, Apr 16, 2021 at 1:40 PM jeff@gmail.com wrote: > > Really interesting post!! > > But I can't seem to find this thread on the new Beaglebone forums webpage > over here: https://forum.beagleboard.org/ > > Am I missing something or just loosing my mind? No, the last sync of the classic

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread 'Mark Lazarewicz' via BeagleBoard
Sorry Chrome browser on windows this works for me  https://groups.google.com/g/beagleboard/c/-WlvGEaqrKU/m/EatslVHvCwAJ On Friday, April 16, 2021, 01:51:00 PM CDT, 'Mark Lazarewicz' via BeagleBoard wrote: Hi Jeff I have it open on my PC in gmail I'll send you a link to your personal

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread 'Mark Lazarewicz' via BeagleBoard
Hi Jeff I have it open on my PC in gmail I'll send you a link to your personal email. Strange stuff going on in my Yahoo client. And searching the group on Google group's took me a few tries to find this so no your not crazy Jeff. Key words seem important I'd imagine this group's archive is

[beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread jeff....@gmail.com
Really interesting post!! But I can't seem to find this thread on the new Beaglebone forums webpage over here: https://forum.beagleboard.org/ Am I missing something or just loosing my mind? On Friday, April 16, 2021 at 1:36:16 PM UTC-4 Dennis Bieber wrote: > On Thu, 15 Apr 2021 09:35:20

Re: [beagleboard] What is the difference between flasher and microSD images?

2021-04-16 Thread Robert Nelson
On Wed, Apr 14, 2021 at 11:23 PM eb wrote: > > I'm having trouble finding information on the difference between the flasher > and microSD images. Why can an image made for microSD not be flashed to eMMC? > > The reason I'm asking is because the Debian 9.12 ImgTec image is only > available as

[beagleboard] Re: What is the difference between flasher and microSD images?

2021-04-16 Thread Dennis Lee Bieber
On Wed, 14 Apr 2021 21:23:16 -0700 (PDT), in gmane.comp.hardware.beagleboard.user eb wrote: >I'm having trouble finding information on the difference between the >flasher and microSD images. Why can an image made for microSD not be >flashed to eMMC? > The difference is one line at the

[beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread Dennis Lee Bieber
On Thu, 15 Apr 2021 09:35:20 -0700 (PDT), in gmane.comp.hardware.beagleboard.user Walter Cromer wrote: >So if I had an application that had a sensor A that needs to be read every >10ms and sensor B that only needs to be read every minute, I could wire >channel 1 to sensor A and assign it to

[beagleboard] Autorun Python Script can't write files

2021-04-16 Thread stl...@gmail.com
I want my autorun python script to write information into a text file. This works fine when the python file is run from the Cloud9 interface, but does not run properly when the beagleboard restarted. The command that is failing is: with open("/home/debian/logs/testlog.txt",'a',encoding =

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread Mark Lazarewicz
I spent most of yesterday reading TI's documentation and the Beaglebone Black SRM in detail and believe I have a much better handle on how this works now. My plan is to allocate memory space in pru0's RAM for the data storage and then have an ARM program read it from there Thanks for link

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread 'Mark Lazarewicz' via BeagleBoard
Hello Walter I think so nice novel approach. Since the 2nd PRU is started manualy from command line in Linux you shouldnt get clobbered as thats what that memory is for the PRU code and Resource Tables from my reading. Id guess address  translation is required.  shared RAM could be used as

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread Walter Cromer
I'm 100% sure it wasn't doing this before because I worked through the exercises in Mark Yodre's PRUCookbook and this command config-pin P9_31 pruout worked before Now it gives debian@beaglebone:/var/lib/cloud9/PRUCookbook/docs/05blocks/code$ config-pin P9_31 pruout ERROR: open() for

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread Walter Cromer
As I get a better understanding and experience this may change, but right now I don't think it can handle the volume of data we need to move between systems. And, that volume is only needed during R The production system will not need to keep that data. So, my plan is to instance arrays on

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread Walter Cromer
Yes. It’s throwing an error when I do that. I don’t think it was before but I could be mistaken. I can’t even query the options with configure-pin. It makes me wonder if the pins I’m choosing are in use by something else like video or audio. I will check this today. On Thu, Apr 15, 2021 at

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread TJF
lazarman schrieb am Freitag, 16. April 2021 um 09:01:56 UTC+2: > Looks very powerful and code is very generic and well thought out. I > thought you couldn't code?藍 Even a blind hen sometimes finds a grain of corn. I'm not a programming expert, but I've a ton of hands-on experience in

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-16 Thread 'Mark Lazarewicz' via BeagleBoard
Hello TJF Looks very powerful and code is very generic and well thought out. I thought you couldn't code?藍 I'm on tablet forgive my laziness where are the ADC examples located in c language if possible  Looks like you support multiple languages nice. I'm guessing  below reference you mentioned