Re: [beagleboard] Re: Debian 9: autorun on boot with systemd does not work

2018-12-04 Thread Harke Smits
Looks like we are close. But the error codes are persistent. I can not copy/paste but serial does not load. Whatever I place in the first line of the python file. I tried: #!/bin/env/python and other shebangs (I learn!) but the error remains exactly the same. Btw: I use python2.x Any clue what to

[beagleboard] Can't get SPI data up to 10 MHz - PRU

2018-12-04 Thread fred . p . gomes92
Hi, I need your help, I need to read data of an SPI Master device on the BeagleBone. Since the SPI kernel driver doesn't support an SPI slave mode I have to implement it in the PRU (Because the maximum frequency one BeagleBone's GPIO can be toggle is only 15 KHz). >From what I have read, the

Re: [beagleboard] Can't get SPI data up to 10 MHz - PRU

2018-12-04 Thread Fred Gomes
I've forgotten to mention. I am sending the clocks from the PRU 1 to PRU 0 at this time. So I know exactly how many clocks there is and the frequency. The objective is to plug the sensor which I want to read the data after having this working . -- Fred Gomes escreveu no dia terça, 4/12/2018

Re: [beagleboard] Can't get SPI data up to 10 MHz - PRU

2018-12-04 Thread Charles Steinkuehler
Try writing in assembly, or at least providing a listing of the PRU code your compiler is generating. The C code you've written could turn into very ugly assembly with a lot of memory reads (which are *VERY* expensive on the PRU) depending on the compiler. In general, for speed you only want the

Re: [beagleboard] Beaglebone Black SPI with GPIO CS

2018-12-04 Thread Robert Nelson
On Tue, Dec 4, 2018 at 1:18 PM wrote: > > Hi everyone, > I'm trying to add at least three additional GPIO chip selects in addition to > the existing hardware CS for SPI0. I found a tutorial here: > https://dev.iachieved.it/iachievedit/gpio-chip-selects-with-the-beaglebone/ > However, I'm

Re: [beagleboard] How to verify the image flashing/contents check onto EMMC is successfull or not using bmaptool

2018-12-04 Thread srinivasan
Thanks a lot Robert Nelson for your quick responses and really appreciate the same. I am trying to automate feature "to verify the image flashing/contents check onto EMMC is successfull or not using bmaptool" using the python code snippet or bash? Ie., how can I see explicitly, Is there any

Re: [beagleboard] How to verify the image flashing/contents check onto EMMC is successfull or not using bmaptool

2018-12-04 Thread Robert Nelson
On Tue, Dec 4, 2018 at 2:31 PM srinivasan wrote: > > Thanks a lot Robert Nelson for your quick responses and really > appreciate the same. > > I am trying to automate feature "to verify the image flashing/contents > check onto EMMC is successfull or not using bmaptool" using the python > code

[beagleboard] Beaglebone Black SPI with GPIO CS

2018-12-04 Thread jamesgao
Hi everyone, I'm trying to add at least three additional GPIO chip selects in addition to the existing hardware CS for SPI0. I found a tutorial here: https://dev.iachieved.it/iachievedit/gpio-chip-selects-with-the-beaglebone/ However, I'm trying to get this to work with the latest U-boot

[beagleboard] Re: Cannot i2cdetect I2C device PCA9685 on BBG

2018-12-04 Thread Mala Dies
Hello, I have updated my machine to the newest image and kernel that BBB.io/latest-images provide. Also, I use config-pin now. For example: sudo config-pin P9.17 i2c and then try sudo config-pin P9.18 i2c, too. That should open up your i2c address on your BBB or other bbb.io related boards.

Re: [beagleboard] Re: Debian 9: autorun on boot with systemd does not work

2018-12-04 Thread Mala Dies
Hello, If you are using an environment, env, to run your software on boot, I may be out of line. I do not use environments for my Linux Distros when running software on boot. Um, I think if you just type up your software w/ Python2 and add the top line #!/usr/bin/python to the software, you

Re: [beagleboard] Re: Debian 9: autorun on boot with systemd does not work

2018-12-04 Thread Mala Dies
Okay and Hello Once More, Seth here. I think (know) Jim F was on to something w/ your software and setting up .service files for running on boot. For example: Here is another test example to try out to learn more about .service files and starting files on boot on the BBB (or other related

[beagleboard] Re: The LoadCape and am335x/BeagleBone Black

2018-12-04 Thread Mala Dies
Hello, I am still pursuing the LoadCape functionality if you are interested. Please let me know if you are using this Cape. Seth On Monday, November 19, 2018 at 8:02:36 PM UTC-6, Mala Dies wrote: > > Hello, > > Do not listen to the above statements if you plan on making the LoadCape > work

[beagleboard] Re: 1-wire on BB Blue

2018-12-04 Thread Mala Dies
Hello, Use this: https://debian.beagleboard.org/images/bone-debian-9.5-iot-armhf-2018-10-07-4gb.img.xz which can be found at bbb.io/latest-images. You can then use config-pin to set up your "pinmuxing." Seth P.S. Use this cmd for P9.13 to use GPIO functionality: sudo config-pin P9.13

Re: [beagleboard] Beaglebone Black SPI with GPIO CS

2018-12-04 Thread Robert Nelson
On Tue, Dec 4, 2018 at 4:03 PM wrote: > > Here's the output: > > git:/opt/scripts/:[0726131c362e3adfcf359f3e1debf5ff156e5bec] > eeprom:[A335BNLT000CyywwBBo] > model:[TI_AM335x_BeagleBone_Black] > dogtag:[Machinekit Debian Image 2018-09-16] > bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot

[beagleboard] How to verify the image flashing/contents check onto EMMC is successfull or not using bmaptool

2018-12-04 Thread Srini
Dear Beagleboard, I am using bmaptool image for flashing the images onto eMMC on Beagleboard Could you please let me know how to verify whether the image is successfully flashed onto eMMC or not , can we use bmaptool to verify the image that is successfully flashed? If bmaptool can be used,

Re: [beagleboard] How to verify the image flashing/contents check onto EMMC is successfull or not using bmaptool

2018-12-04 Thread Robert Nelson
On Tue, Dec 4, 2018 at 2:06 PM Srini wrote: > > Dear Beagleboard, > > I am using bmaptool image for flashing the images onto eMMC on Beagleboard > > Could you please let me know how to verify whether the image is successfully > flashed onto eMMC or not , can we use bmaptool to verify the image

Re: [beagleboard] Beaglebone Black SPI with GPIO CS

2018-12-04 Thread jamesgao
Here's the output: git:/opt/scripts/:[0726131c362e3adfcf359f3e1debf5ff156e5bec] eeprom:[A335BNLT000CyywwBBo] model:[TI_AM335x_BeagleBone_Black] dogtag:[Machinekit Debian Image 2018-09-16] bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2018.09-2-g0b54a51eee]:[location: dd MBR]

Re: [beagleboard] Re: 1-wire on BB Blue

2018-12-04 Thread Jim F
Hi Seth, I'm glad to hear from you. I am already using the latest-images iot build. But I'm trying to learn how to reconfigure the 1-wire interface which has a dts file configured to use P9.22 on the beaglebone black, and move it to a different GPIO pin on the beaglebone blue. P9.13 (which I

Re: [beagleboard] Re: Debian 9: autorun on boot with systemd does not work

2018-12-04 Thread Jim F
I actually think what you need to do is something along the following line. I don't think the shebang line makes a difference (rather, I know this) if you pass the python script directly to the python binary. ExecStart=/usr/bin/python2.7 /path/to/my_file.py You should post your errors if Seth's

Re: [beagleboard] Can't get SPI data up to 10 MHz - PRU

2018-12-04 Thread Gerhard Hoffmann
Am 04.12.18 um 10:25 schrieb fred.p.gome...@gmail.com: Hi, I need your help, I need to read data of an SPI Master device on the BeagleBone. Since the SPI kernel driver doesn't support an SPI slave mode I have to implement it in the PRU (Because the maximum frequency one BeagleBone's GPIO

Re: [beagleboard] Re: BBB industrial version

2018-12-04 Thread 'Luther Goh Lu Feng' via BeagleBoard
May I ask if the BBB Industrial boards from Special Computing are identical to the one from Element14[1]? --Luther [1] https://www.element14.com/community/docs/DOC-78671/l/element14-beaglebone-black-industrial-4g-based-on-sitara-am3358-processor On Wednesday, November 21, 2018 at 9:17:25 AM