Re: [beagleboard] Re: GPIO JAVA library for Beaglebone Black

2021-07-01 Thread Gwen Stouthuysen
Then Linux and Java have other ways to deal with this.

The uart is known (should be) as a serial port in the OS, this is something
you can instruct the OS to do.

Check out serial communication in Java and connect through the OS with the
right port.

Gwen


Op do 1 jul. 2021 om 15:51 schreef Radovan Chovan :

> I would like to trasmit data via UART4_TXD and receive viac UART4_RXD.
>
> Btw, I try to write to gpio30 and I think I figured out finally how it
> use. Export -> Set Direction -> Read / Write -> Unexport.
>
> Dátum: štvrtok 1. júla 2021, čas: 12:51:05 UTC+2, odosielateľ:
> hel...@deepsoft.com
>
>> At Wed, 30 Jun 2021 23:25:19 -0700 (PDT) beagl...@googlegroups.com
>> wrote:
>>
>> >
>> > config-pin P9_26 gpio
>> > ERROR: open() for /sys/devices/platform/ocp/ocp:P9_26_pinmux/state
>> failed,
>> > No such file or directory
>> >
>> >
>> > write "in" to /sys/class/gpio/gpio14/direction (for input)
>> > write "out" to /sys/class/gpio/gpio14/direction (for output) ... Did
>> you
>> > mean gpio15 (not gpio14)? gpio15 ... UART1_TXD
>> >
>> > I will try UART4_RXD (P9_11 - gpio30) and UART4_TXD (P9_13 - gpio31).
>>
>> Why are you speificly going after UART pins? Are you wanting to actually
>> use
>> the UARTs?
>>
>> >
>> >
>> > Dátum: streda 30. júna 2021, Ä as: 17:21:06 UTC+2, odosielateľ:
>> > hel...@deepsoft.com
>> >
>> > > At Wed, 30 Jun 2021 07:03:38 -0700 (PDT) beagl...@googlegroups.com
>> wrote:
>> > >
>> > > >
>> > > > I tried to use write operation on /sys/class/gpio/gpio14
>> (gpio15)/value,
>> > > > but nothing happens (from
>> > > >
>> https://github.com/RobertPHeller/JAVALinuxGPIO/blob/main/LinuxGPIO.java
>> > > )
>> > > > I figured out that PrintStream doesn't throw exceptions so I tried
>> to
>> > > use
>> > > > FileOutputStream.
>> > > > Then I got exception:
>> > > >
>> > > > java.io.IOException: Operation not permitted
>> > > > at java.io.FileOutputStream.write(Native Method)
>> > > > at java.io.FileOutputStream.write(FileOutputStream.java:290)
>> > > >
>> > > > Read operation via FileInputStream is ok.
>> > > >
>> > > > I run my java application with "sudo".
>> > > >
>> > > > gpio14 ... P9_24 (UART1_TXD)
>> > > > gpio15 ... P9_26 (UART1_RXD)
>> > > > Right?
>> > >
>> > > First of all you need to configure the pins:
>> > >
>> > > config-pin P9_24 gpio
>> > > config-pin P9_26 gpio
>> > > ("config-pin -l P9_24" list the possible options, "config-pin -q
>> P9_24"
>> > > displays the current settings. There is an extended versin of
>> config-pin
>> > > under /opt/source/bb.org-overlays/tools/beaglebone-universal-io/)
>> > >
>> > > You then need to "export" the GPIO pins:
>> > >
>> > > write "14" to /sys/class/gpio/export
>> > > write "15" to /sys/class/gpio/export
>> > >
>> > > You also need to configure the direction:
>> > >
>> > > write "in" to /sys/class/gpio/gpio14/direction (for input)
>> > > write "out" to /sys/class/gpio/gpio14/direction (for output)
>> > >
>> > > (My GPIO class does that in the constructor)
>> > >
>> > > To avoid sudo, you put yourself into the gpio group:
>> > >
>> > > sudo usermod -a -G gpio $USER
>> > >
>> > > then logout and log back in.
>> > >
>> > > >
>> > > >
>> > > > Dátum: utorok 29. júna 2021, Ä as: 16:42:45 UTC+2,
>> odosielateľ:
>> > > Dennis Bieber
>> > > >
>> > > > > On Tue, 29 Jun 2021 07:02:06 -0700 (PDT), in
>> > > > > gmane.comp.hardware.beagleboard.user Radovan Chovan
>> > > > >  wrote:
>> > > > >
>> > > > > >Thanks for all your comments.
>> > > > > >
>> > > > > >Is there any mapping between /sys/class/gpio and schematic
>> diagram of
>> > > > > >Beaglebone Black board?
>> > > > > >
>> > > > > Does
>> > > > >
>> https://vadl.github.io/beagleboneblack/2016/07/29/setting-up-bbb-gpio
>> > > > > provide any help.
>> > > > >
>> > > > > >I want to use pin P9_24 (UART1_TXD) and P9_26 (UART1_RXD).
>> > > > > >
>> https://beagleboard.org/static/beaglebone/BEAGLEBONE_SCHEM_A3.pdf
>> > > (page
>> > > > > >11/11)
>> > > > > >
>> > > > > P9_24 equates to GPIO15, but in raw pin numbering appears to be
>> 97. As
>> > > > > I recall, there are 32 GPIOs per "CHIP", so that might be the 4th
>> CHIP
>> > > > > (counting from 0), and the second GPIO (again, counting from 0)
>> > > > >
>> > > > > >>> divmod(97, 32)
>> > > > > (3, 1)
>> > > > >
>> > > > > P9_26 -> GPIO14, raw 96...
>> > > > >
>> > > > > >>> divmod(96, 32)
>> > > > > (3, 0)
>> > > > > >>>
>> > > > >
>> > > > > HOWEVER,
>> > > > > debian@beaglebone:~$ gpioinfo
>> > > > > gpiochip0 - 32 lines:
>> > > > > line 0: "MDIO_DATA" unused input active-high
>> > > > > 
>> > > > > line 12: "UART1_CTSN" "P9_20" input active-high [used]
>> > > > > line 13: "UART1_RTSN" "P9_19" input active-high [used]
>> > > > > line 14: "UART1_RXD" "P9_26" input active-high [used]
>> > > > > line 15: "UART1_TXD" "P9_24" input active-high [used]
>> > > > > line 16: "GMII1_TXD3" unused input active-high
>> > > > >
>> > > > > indicates that it is CHIP0, and the "line" 14/15 map to the
>> GPIOxx (so
>> > > for,
>> > > > > say, 

Re: [beagleboard] GPIO JAVA library for Beaglebone Black

2021-06-24 Thread Gwen Stouthuysen
Is there a base reason to use Java in this project?

By design Java has a high separation from the hardware.
Accessing the hardware (GPIo) is not simple.
Doing this on Linux is anyhow not simple due the same reason: Linux
separates the userspace from the hardware.

You better look into C/C++ for hardware access.
The ultimate speed of the application will also improve.

Gwen

Op do 24 jun. 2021 om 08:08 schreef Radovan Chovan :

> Thanks.
> I need to use Debian 10.3 and display GEN4-4DCAPE-70CT-CLB from 4D Systems.
> I will try another project for java gpio https://github.com/koert/gpio
> Do you know something else like libbulldog?
>
> Dátum: streda 23. júna 2021, čas: 16:32:35 UTC+2, odosielateľ:
> RobertCNelson
>
>> On Wed, Jun 23, 2021 at 8:39 AM Radovan Chovan  wrote:
>> >
>> > In the past I used java gpio library libbulldog.
>> >
>> > description from author of library:
>> > https://groups.google.com/g/beagleboard/c/QkdoypqrTPQ/m/L7URLQ1dCAAJ
>> >
>> > http://www.libbulldog.org ... page not found
>> >
>> > Now I am using Debian 10.3 with kernel 4.19.94-ti-r42 in Beaglebone
>> Black.
>> >
>> > Board is detected via command Board board = Platform.createBoard();
>> > but now I get error:
>> >
>> > java.lang.ArrayIndexOutOfBoundsException: 0
>> > at
>> org.bulldog.beagleboneblack.sysfs.BBBSysFs.getCapeManager(BBBSysFs.java:23)
>> > ...
>> > at org.bulldog.core.platform.Platform.createBoard(Platform.java:13)
>> >
>> > From BBBSysFs file:
>> >
>> > private String SYSFS_DEVICES_PATH = "/sys/devices";
>> > return getFilesInPath(this.SYSFS_DEVICES_PATH, "bone_capemgr")[0];
>> >
>> > but path sys/devices/bone_capemgr doesn't exist.
>> >
>> > I think problem is in newer kernel:
>> >
>> https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Where_did_the_slots_file_go.3F
>>
>> Correct, kernel is too new for that library..
>>
>> Reboot with 3.8.13, (if it even boots..)
>>
>> 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/08bc6689-17dd-47f6-bcad-094c9774ee53n%40googlegroups.com
> 
> .
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAFfeaG9DU-haRtLeEEf%2Bt9%2Bw5Y48tsibUApqnmPmiJV%3DtA%3DS1A%40mail.gmail.com.


Re: [beagleboard] Re: serial console

2020-12-20 Thread Gwen Stouthuysen
I notice some alignment issues on the answers with respect to the original
question:

The OR want's to see the first output of a booting beagleboard
(pocketbeagle here), not the port that is channeled over USB when the OS is
up.

I have had an analogous issue a while ago when I was confronted with a boot
issue on a device.
I discovered that the serial parameters differ from how the power is
applied to the board: when using a direct USB connection with a host PC the
serial interface functioned as described.
When using a USB power supply or the 5V power input the serial parameters
are different, I saw data coming in, but could not read them.

Robert explained this is due a TI issue deep in the MPU, it has no relation
to the OS upgrade we were trialling, so I left it there.

My advice: dive into the TI documentation on the serial port and see what
parameters TI gives it when it is unconfigured from the host.

On the serial adapter: I use any serial adapter I can put my hands on,
mostly ST Nucleo boards (they have a nice serial port on the programmer)
I recently discovered that windows has altered it's USB to Serial adapter
support and doesn't install the supporting drivers anymore out of the box
for the adapters I use in my classes.
It baffled me, as last year I gave the devices to the students and I had no
issues. This year it only worked out of the box on those that use Linux
(which is limited for fresh students, they will move over in the coming
months  ).
I had to download the driver and make them install it prior to being able
to use the adapters.

Regards,
Gwen

Op ma 21 dec. 2020 om 00:21 schreef Robert Berger <
robert.karl.ber...@gmail.com>:

> Hi,
>
> My comments are in-line.
>
> On 21/12/2020 01:05, jonnymo wrote:
> > Looking at the post from Google GMail, it does not specify what board
> > the post is from.  It just says Beagle Board.
>
> Yes it's not obvious:
>
>
> https://groups.google.com/forum/embed/?place=forum/beagleboard#!category-topic/beagleboard/pocketbeagle/omDhIBOeRYo
>
>   
>
> >
> > Are you trying to connect  directly to the PB via serial or are you
> > using something like a FTDI interface to communicate to via serial?
>
> I tried with this[1] and this[2]
>
> [1]
>
> https://www.amazon.co.uk/dp/B07BBPX8B8/ref=sspa_dk_detail_1?psc=1_rd_i=B07BBPX8B8_rd_w=bMrBp_rd_p=1055d8b2-c10c-4d7d-b50d-96300553e15d_rd_wg=x9xga_rd_r=4CE6P3A41TY2T1YEWT9D_rd_r=8d2c3d2f-1616-48b7-909a230a9812d43d=ZW5jcnlwdGVkUXVhbGlmaWVyPUEzSko1VE9HOTZUUklQJmVuY3J5cHRlZElkPUEwODg0NTU5MTdWWENKTDRESDE1MiZlbmNyeXB0ZWRBZElkPUEwNTYxNzYwMkRDUlBZRUk4TzJKMCZ3aWRnZXROYW1lPXNwX2RldGFpbCZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU=
>
> [2] https://www.artekit.eu/products/accessories/comm/ak-rs232/
>
> > Assuming you are using some sort of Linux host,  if you type 'dmesg' it
> > should tell you what tty device enumerated for the interface.
>
> Yes of course.
>
> >
> > Also, have you set the 'udev' entries on your host for the BeagleBoard
> > device?
>
> No. Why would I do that?
>
> The USB to serial device is /dev/ttyUSB4.
>
> The virtual USB device shows up.
>
> > Ex  See the "mkudevrule.sh" script from the following link:
> > https://beagleboard.org/getting-started
> >
> >
> >
> > Jon
>
> Regards,
>
> Robert
>
> >
> > On Sun, Dec 20, 2020 at 2:15 PM Robert Berger
> > mailto:robert.karl.ber...@gmail.com>>
> wrote:
> >
> > Hi,
> >
> > My comments are in-line.
> >
> > On 20/12/2020 22:54, Dennis Lee Bieber wrote:
> >  > On Sat, 19 Dec 2020 02:16:56 -0800 (PST), in
> >  > gmane.comp.hardware.beagleboard.user "robert.berger"
> >  >  > >
> > wrote:
> >  >
> >  >   There is a distinct lack of information in this post.
> >  >
> >  >> Hi,
> >  >>
> >  >> I tried in a couple of ways to get something out of the serial
> > console
> >  >> while booting (U-Boot, kernel, console,..)
> >  >>
> >  >   Which Beagle are you using?
> >
> > Pocketbeagle
> >
> > I posted it under "pocketbeagle" and thought that would be more
> > obvious,
> > but it does not seem to be.
> >
> >  >
> >  >> This seems extremely unstable and random.
> >  >
> >  >   What results have you obtained that cause you to make that
> > statement.
> >
> > screen /dev/ttyUSB4 115200
> >
> >   From "nothing" to some gibberisch (non ASCII characters, sometimes
> > some
> > ASCII characters)
> >
> > after the board is booted screen /dev/ttyACM0 115200 works fine, but
> > that's NOT what I want.
> >
> >  > Presuming you are wired properly to the board,
> >
> > That could be one problem, I guess, hence I am searching for a device
> > which might work, as already indicated in another reply and the
> > docs[3][4]
> >
> > [3] https://shop.mikroe.com/ftdi-click
> > [4]
> >
> 

Re: [beagleboard] creating astable build for a commercial system

2020-10-07 Thread Gwen Stouthuysen
You might start with hardening the solution by moving the application from
JS to a compiled C program.
I never had issues with locking up peripherals when using C.

Traditionally a watchdog feature is used to reboot the system when lockups
are preventing the normal continuation of the program.
I think the TI processor has watchdog circuitry, not sure whether you can
access it from the Linux OS (it might already use it to ensure OS lockups
invoke reboots), quite sure JS will have no features with respect to this.

just my 5c

Gwen

Op wo 7 okt. 2020 om 10:41 schreef morgant...@gmail.com <
morgantabra...@gmail.com>:

>   Hello beaglebone community,
>
>   This is my first post.
>
>   I used beaglebone to develop a prototype for for a self-cleaning
> smoothie machine that we plan to commercialize (see video below).  It has
> multiple sensors and outputs to run motors/solenoids while ensuring user
> safety.
>
> https://www.youtube.com/watch?v=76XDJK5V0PA=share;
> ab_channel=PascalKriesche
>
>Right now we have. BBB running a linux OS and running a script we wrote
> in JS. One issue we have had was the 1.8V analog sensors losing signal
> which required us to reboot the system every tie that occurred. We also had
> an issue flashing 2 out of our 4 prototypes with an image that worked
> (seems to be a firmware version issue  leasing to an incorrect hardware pin
> mapping).
>
>I know eventually we want to use a chip on board, but for the initial
> production run we were hoping on sticking to a prebuilt onboard computing
> module for the initial 1000 units in order to save time and costs.  I was
> wondering if anyone in this forum had experience launching a product with
> beaglebone and if this instability can be resolved with the correct I/O
> filtering on our PCB and software functionality.
>
>Thanks in advance!
>
> --
> 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/faf26e97-c403-4dac-adc8-7acede4832b9n%40googlegroups.com
> 
> .
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAFfeaG_q4y_OjWOJyotqYe-ysABMxd3dzwag-hNp6ZpsAeCZqw%40mail.gmail.com.


Re: [beagleboard] Re: Install Ubuntu using SD card and Windows

2020-09-19 Thread Gwen Stouthuysen
As far as I am knowledgeable, the ip address of the debian image is
192.168.7.2
192.168.7.1 is the socket of the USB networking adapter at the Windows side.

The FTDI adapter is an option to look into the real boot process.
But dont take it for granted,  when i power the bbb from a USB power plug
it's baud rate is different .
Who knows why?

Gwen Stouthuysen

Op za 19 sep. 2020 16:40 schreef Dennis Lee Bieber <
dennis.l.bie...@gmail.com>:

> On Sat, 19 Sep 2020 14:35:29 +0200, in gmane.comp.hardware.beagleboard.user
> Pieter Beneke  wrote:
>
>
> >
> >Unless there is some other serial port I am not aware of?
>
>
> >
> >
> >Unless there is some other serial port I am not aware of?
>
> The hardware console/debug port that is on the 6-pin header. You'll
> need a 3.3V compatible FTDI adapter.
>
>
> https://www.amazon.com/Converter-Terminated-Galileo-BeagleBone-Minnowboard/dp/B06ZYPLFNB
> claims to be Beaglebone compatible -- others have loose leads, which allows
> them to be used with devices having different pin-outs
>
> https://www.amazon.com/ADAFRUIT-Industries-954-Serial-Raspberry/dp/B00DJUHGHI/ref=rtpb_3?pd_rd_w=nxwqS_rd_p=49740592-2805-416d-896c-b825ad91c2cf_rd_r=9EW8MP06H9544B0KZ8PA_rd_r=4088b22e-a62e-4a46-a474-bf2dcce33875_rd_wg=00Qmu_rd_i=B00DJUHGHI
>
>
> --
> Dennis L Bieber
>
> --
> 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/116cmfpsr9avgf7250krpjsus8905o2nnc%404ax.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/CAFfeaG-T9mRTybcHi0XQF6TnsLY7bdwVhZw4jzQ8EAUerX_crw%40mail.gmail.com.


Re: [beagleboard] How to make can0 work

2020-05-20 Thread Gwen Stouthuysen
I have the impression that your network is set up for J1939 or CANOpen (CAN
2.0B)

when you send a message to a short address (CAN 2.0A) it doesn't get
acknowledged, and this might crash your bus, as the BB will try to send it
till the message is acknowledged..
Try to send a message to  a 29bit address, or add a second can interface
that will acknowledge your messages. (CAN1 on the BB).

I'm a bit stuck on moving over to J1939, as that requires at least kernel
5.4, which results in boot issues due the overlay approach as applied in
the Beaglebone OS
You can stop this boot failure, but then I failed to have my network coming
up, which was another issue. (I had to work through the debug port)

If you have some advancements in that domain? I am bit time constraint to
solve it in the near future.
I hope the next release will have the latest kernel.

Prepare to learn a lot about working with micro controllers and OS
environments when working in the CAN domain.

Regards,

Gwen


Op di 19 mei 2020 om 17:02 schreef :

> I tried to do as indicated in this instruction
> ,
> but it is outdated and does not produce results on new linux kernels. What
> I have to do to make the can interface work?
>
>
> Board: custom board am3359 (almost like beaglebone black)
>
> Target: linux kernel 4.14 , debian 9.9
>
> Target: linux kernel 5.6.4 , debian 10 - same result
>
>
> Problem: Can-bus working just *listen-only-mode*
>
>
> *listen-only mode is ok, messages comes:*
> ? 
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> sudo ifconfig can0 down
> sudo ip link set can0 type can bitrate 125000 listen-only on
> sudo ifconfig can0 up
> candump -cae can0,0:0,#
>   can0  1FE4F1DC   [8]  01 64 00 00 00 00 00 00   '.d..'
>   can0  1FE4F1DC   [8]  01 64 00 00 00 00 00 00   '.d..'
>   can0  1FE4F1DC   [8]  01 64 00 00 00 00 00 00   '.d..'
>
> *normal mode bus crashes:*
> ? 
> 1
> 2
> 3
> 4
> 5
> 6
> sudo ip link set can0 type can bitrate 125000
> sudo ifconfig can0 up
> [13210.377469] c_can_platform 481cc000.can can0: setting BTR=1c0b
> BRPE=
> [13210.391464] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
> cansend can0 123#DEADBEAF
> [13220.749607] c_can_platform 481cc000.can can0: bus-off
>
> --
> 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/9673987a-f2a0-4a5f-8b48-d34a2aae61d9%40googlegroups.com
> 
> .
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAFfeaG-7TS1HU1-jVbzwFZ7J%3DSL%2BtGu9OHLnuvFzEh-FYTYYyQ%40mail.gmail.com.


Re: [beagleboard] Latest Image (new Process) - Spring 2020 Release

2020-03-03 Thread Gwen Stouthuysen
No,

Debian 9 ARMHF has no 5.4 version support, starting from the release
version the unit does not boot if I enforce the kernel version.

With Debian10 testing version, 10 has 5.4 available in ARMHF, my device
fails to mount/boot after upgrading the Kernel.

I will do the exercise with a serial debug connected, to get some info on
what is going wrong.

I don't use the overlays as it never really aligns exactly with the
application.
I tend to define the pins in a startup script.

Gwen

Op di 3 mrt. 2020 om 11:10 schreef Jason Kridner :

>
>
> On Tue, Mar 3, 2020 at 8:41 AM Gwen Stouthuysen <
> gwen.stouthuy...@gmail.com> wrote:
>
>> Can we drop features we would like to be implemented in the April release?
>>
>
> Please. There is a tracker.
>
>
>> I would like to have kernel 5.4 (or newer) to be functional in the
>> Pocket/BeagleBoneBlack (Wireless)
>> Reason: I would like to use CAN J1939 directly from Kernel support.
>>
>
> Cool. I need dtbo ovetlays for some of my workshops and a number of out of
> tree drivers. Really, I need to track them to mainline and create a
> regression test suite.
>
> Kernels are pretty big. Robert has scripts to load different kernels. Does
> that work for you?
>
>
>> I will keep an eye on the RCs and test them in my domain
>>
>
> Great!
>
>
>> Gwen
>>
>>
>> Op di 3 mrt. 2020 om 00:03 schreef Robert Nelson > >:
>>
>>> Hi Everyone,
>>>
>>> So it's been a long time since i posted one of these. So let's go more
>>> crazy..
>>>
>>> In the past, Image releases have been kinda random. So let's try to
>>> get things on a better schedule...
>>>
>>> Maybe 3 times a year?  We've been thinking, Early spring for GSOC,
>>> Before School for universities who use our boards, and a mid December
>>> which fits in between..
>>>
>>> So...  With a plan to have an NEW official image released on April
>>> 6th, 2020, let's get started with RC1: (which are up right now..)  New
>>> RC every Monday..
>>>
>>> Right now i just want to limit images to the Base Console, IoT and IoT
>>> TIDL.  (For both Stretch 9.12 and Buster 10.3)
>>>
>>> Let's be honest, who really uses the lxqt image? Raise hand???
>>>
>>> Issue Tracker: https://github.com/beagleboard/Latest-Images/issues
>>> elinux page with img links:
>>> https://elinux.org/Beagleboard:Latest-images-testing
>>>
>>> Changes:
>>>
>>> usb0/usb1: default ip address (192.168.7.2/192.168.6.2)
>>> For users that like to plug many Beagle's into one PC, you can now
>>> stop fighting usb-gadget, under /etc/default/bb-boot, you can now
>>> update the usb0/usb1 default ip address in one location...
>>>
>>> Node-RED : 1.0.4
>>>
>>> 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/CAOCHtYgP5GW-Wi4oCcY3OFfroEvEY7y1QtWnXco9EG41cmCJ4A%40mail.gmail.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/CAFfeaG-nZwBjBwATm%3DsLtK9P7d-F-SbPyEBGoeEih%2Ba0Mexchg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/beagleboard/CAFfeaG-nZwBjBwATm%3DsLtK9P7d-F-SbPyEBGoeEih%2Ba0Mexchg%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> https://beagleboard.org/about - a 501c3 non-profit educating around open
> hardware computing
>
> --
> 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%2BT6QPn5rFO8gTenT0yqTygcvz%2BZ7xwP1_X2LDc2moN6kR0wdg%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CA%2BT6QPn5rFO8gTenT0yqTygcvz%2BZ7xwP1_X2LDc2moN6kR0wdg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAFfeaG8B1z6kRcQQD87dAL9auXB2sBuEJc6irm1625gJCsithQ%40mail.gmail.com.


Re: [beagleboard] Latest Image (new Process) - Spring 2020 Release

2020-03-02 Thread Gwen Stouthuysen
Can we drop features we would like to be implemented in the April release?

I would like to have kernel 5.4 (or newer) to be functional in the
Pocket/BeagleBoneBlack (Wireless)
Reason: I would like to use CAN J1939 directly from Kernel support.

I will keep an eye on the RCs and test them in my domain

Gwen


Op di 3 mrt. 2020 om 00:03 schreef Robert Nelson :

> Hi Everyone,
>
> So it's been a long time since i posted one of these. So let's go more
> crazy..
>
> In the past, Image releases have been kinda random. So let's try to
> get things on a better schedule...
>
> Maybe 3 times a year?  We've been thinking, Early spring for GSOC,
> Before School for universities who use our boards, and a mid December
> which fits in between..
>
> So...  With a plan to have an NEW official image released on April
> 6th, 2020, let's get started with RC1: (which are up right now..)  New
> RC every Monday..
>
> Right now i just want to limit images to the Base Console, IoT and IoT
> TIDL.  (For both Stretch 9.12 and Buster 10.3)
>
> Let's be honest, who really uses the lxqt image? Raise hand???
>
> Issue Tracker: https://github.com/beagleboard/Latest-Images/issues
> elinux page with img links:
> https://elinux.org/Beagleboard:Latest-images-testing
>
> Changes:
>
> usb0/usb1: default ip address (192.168.7.2/192.168.6.2)
> For users that like to plug many Beagle's into one PC, you can now
> stop fighting usb-gadget, under /etc/default/bb-boot, you can now
> update the usb0/usb1 default ip address in one location...
>
> Node-RED : 1.0.4
>
> 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/CAOCHtYgP5GW-Wi4oCcY3OFfroEvEY7y1QtWnXco9EG41cmCJ4A%40mail.gmail.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/CAFfeaG-nZwBjBwATm%3DsLtK9P7d-F-SbPyEBGoeEih%2Ba0Mexchg%40mail.gmail.com.


Re: [beagleboard] Ip forwarding

2019-12-16 Thread Gwen Stouthuysen
No, I haven't tried to remove connmanctl

I have no problem with the application, as it does exactly what I want it
to do.

There is quite some configuration behind the curtains, dive deeper into the
configuration files and you might find the settings you want to alter.

Gwen

Op ma 16 dec. 2019 om 14:17 schreef Josiah Akinloye <
josiahakinl...@gmail.com>:

> Thanks Gwen, Do you have any idea how I can manage the WiFi network on
> beagle bone wireless without using CONNMANCTL
>
> Kind regards,
> Josiah
>
> On Mon, 16 Dec 2019 at 13:55 Gwen Stouthuysen 
> wrote:
>
>> Here is some explication/tutorial on bridging the two networks in your BBW
>>
>> https://wiki.debian.org/BridgeNetworkConnections
>>
>> Regards,
>>
>> Gwen
>>
>> Op ma 16 dec. 2019 om 13:49 schreef Josiah Akinloye <
>> josiahakinl...@gmail.com>:
>>
>>> Thanks for your reply, I have been able to get internet connectivity
>>> from the modem using MBIM and also I have created a WiFi gateway + DHCP
>>> server using COMMANCTL but where I have problem is the bridging the gateway
>>> with the network port offered by the 4g modem.  Thanks again
>>>
>>> On Mon, 16 Dec 2019 at 11:58 Gwen Stouthuysen <
>>> gwen.stouthuy...@gmail.com> wrote:
>>>
>>>> Let me try to explain what you will have to do:
>>>>
>>>>- Connect the module to the BBBW.
>>>>   - It has USB drivers so it should be straight forward to enable
>>>>   it as a network node.
>>>>   - A small cape could be designed to do this, RPi hats do exist
>>>>   -
>>>>   
>>>> https://www.elementzonline.com/blog/Accessing-internet-with-SIM7600-4G-Modem-using-MBIM-interface-in-Pocketbeagle-Beaglebone
>>>>
>>>>   - Set up a WiFi gateway (Wifi access point credentials + DHCP
>>>>server for this port)
>>>>- Bridge the gateway with the network port offered by the SIM7600e
>>>>driver
>>>>- Set up a firewall to avoid malicious access from both WiFi and
>>>>Cellular
>>>>
>>>> It is a bit more complex than forwarding the IP address, but it is a
>>>> well documented setup.
>>>>
>>>> But you are lucky: the standard Debian OS prepares the WiFi as an
>>>> access point, you just have to arrange the SIM7600e integration and the
>>>> bridge & Firewall
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Gwen
>>>>
>>>> Op zo 15 dec. 2019 om 07:42 schreef Josiah Akinloye <
>>>> josiahakinl...@gmail.com>:
>>>>
>>>>> please how can i forward ip address of a sim 7600e to a beaglebone
>>>>> wifi. so as to use it has hotspot?
>>>>>
>>>>> --
>>>>> 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/98926bc9-0d9b-493c-8b49-d06f76b73d62%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/beagleboard/98926bc9-0d9b-493c-8b49-d06f76b73d62%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> 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/CAFfeaG9D9n2VtWqqvmehZDct1r9BU8kV9cv-u046Lk8H9YvKVA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/beagleboard/CAFfeaG9D9n2VtWqqvmehZDct1r9BU8kV9cv-u046Lk8H9YvKVA%40mail.gmail.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
>>>
>>>
>>>
>>>
>>> *Josiah Akinloye+2348135010778ceo at Hubtecs Technological
>>> InstituteRobotic and AutomationEgalitarian TranshumanistFuturist"Mindset
>>> powere

Re: [beagleboard] Ip forwarding

2019-12-16 Thread Gwen Stouthuysen
Here is some explication/tutorial on bridging the two networks in your BBW

https://wiki.debian.org/BridgeNetworkConnections

Regards,

Gwen

Op ma 16 dec. 2019 om 13:49 schreef Josiah Akinloye <
josiahakinl...@gmail.com>:

> Thanks for your reply, I have been able to get internet connectivity from
> the modem using MBIM and also I have created a WiFi gateway + DHCP server
> using COMMANCTL but where I have problem is the bridging the gateway with
> the network port offered by the 4g modem.  Thanks again
>
> On Mon, 16 Dec 2019 at 11:58 Gwen Stouthuysen 
> wrote:
>
>> Let me try to explain what you will have to do:
>>
>>- Connect the module to the BBBW.
>>   - It has USB drivers so it should be straight forward to enable it
>>   as a network node.
>>   - A small cape could be designed to do this, RPi hats do exist
>>   -
>>   
>> https://www.elementzonline.com/blog/Accessing-internet-with-SIM7600-4G-Modem-using-MBIM-interface-in-Pocketbeagle-Beaglebone
>>
>>   - Set up a WiFi gateway (Wifi access point credentials + DHCP
>>server for this port)
>>- Bridge the gateway with the network port offered by the SIM7600e
>>driver
>>- Set up a firewall to avoid malicious access from both WiFi and
>>Cellular
>>
>> It is a bit more complex than forwarding the IP address, but it is a well
>> documented setup.
>>
>> But you are lucky: the standard Debian OS prepares the WiFi as an access
>> point, you just have to arrange the SIM7600e integration and the bridge &
>> Firewall
>>
>>
>> Regards,
>>
>> Gwen
>>
>> Op zo 15 dec. 2019 om 07:42 schreef Josiah Akinloye <
>> josiahakinl...@gmail.com>:
>>
>>> please how can i forward ip address of a sim 7600e to a beaglebone wifi.
>>> so as to use it has hotspot?
>>>
>>> --
>>> 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/98926bc9-0d9b-493c-8b49-d06f76b73d62%40googlegroups.com
>>> <https://groups.google.com/d/msgid/beagleboard/98926bc9-0d9b-493c-8b49-d06f76b73d62%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> 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/CAFfeaG9D9n2VtWqqvmehZDct1r9BU8kV9cv-u046Lk8H9YvKVA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/beagleboard/CAFfeaG9D9n2VtWqqvmehZDct1r9BU8kV9cv-u046Lk8H9YvKVA%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
>
>
>
>
> *Josiah Akinloye+2348135010778ceo at Hubtecs Technological
> InstituteRobotic and AutomationEgalitarian TranshumanistFuturist"Mindset
> powered by hard work equals unbeatable Achievement"--OLUWEST*
>
> --
> 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/CABXof%3DU%3DXOfeHEToNk%2BbR%3Dr29XhEpCUdqYxVAKafb9YtoWGpjA%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CABXof%3DU%3DXOfeHEToNk%2BbR%3Dr29XhEpCUdqYxVAKafb9YtoWGpjA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAFfeaG-YE8MZYXJ_v5zUks6hpix56AD5-x%2BHqMMBwW8xVh-qQA%40mail.gmail.com.


Re: [beagleboard] Ip forwarding

2019-12-16 Thread Gwen Stouthuysen
Let me try to explain what you will have to do:

   - Connect the module to the BBBW.
  - It has USB drivers so it should be straight forward to enable it as
  a network node.
  - A small cape could be designed to do this, RPi hats do exist
  -
  
https://www.elementzonline.com/blog/Accessing-internet-with-SIM7600-4G-Modem-using-MBIM-interface-in-Pocketbeagle-Beaglebone

  - Set up a WiFi gateway (Wifi access point credentials + DHCP server
   for this port)
   - Bridge the gateway with the network port offered by the SIM7600e driver
   - Set up a firewall to avoid malicious access from both WiFi and Cellular

It is a bit more complex than forwarding the IP address, but it is a well
documented setup.

But you are lucky: the standard Debian OS prepares the WiFi as an access
point, you just have to arrange the SIM7600e integration and the bridge &
Firewall


Regards,

Gwen

Op zo 15 dec. 2019 om 07:42 schreef Josiah Akinloye <
josiahakinl...@gmail.com>:

> please how can i forward ip address of a sim 7600e to a beaglebone wifi.
> so as to use it has hotspot?
>
> --
> 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/98926bc9-0d9b-493c-8b49-d06f76b73d62%40googlegroups.com
> 
> .
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAFfeaG9D9n2VtWqqvmehZDct1r9BU8kV9cv-u046Lk8H9YvKVA%40mail.gmail.com.


Re: [beagleboard] C programing of Uart peripheral in beaglebone black (Linux)

2019-07-18 Thread Gwen Stouthuysen
Check out Derek Molloy.
http://derekmolloy.ie/beaglebone/

I use his approach to drive uart communication

Gwen

Op do 18 jul. 2019 12:46 schreef Megha Bhirade :

> Hi,
>
> I am using Beagle bone black board in Linux Ubuntu, i am new to BBB, i
> tried to check the programing of UART peripheral in the BBB..
>
> Exact C - programs i am not able to  found. like simple c program to
> initialize the UART with baud rate and other information and writing some
> data using buffer and i should see the data printing on to the mini com..
>
> please help me...
>
> --
> 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/c6b32cfd-51d9-4294-a03b-d5de332fbb4c%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/CAFfeaG_LXYoBxBED%2BSWaF4vnJduLYD_MNrTFpyguFnJm%2BbXyvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BeagleBone Black CAN Bus Cape

2019-02-22 Thread Gwen Stouthuysen
It all depends how handy you are and the quantity you need.

A CAN tranceiver is a very simple device, it requires power (2 sides), has
two pins for process conenction (CAN-High and CAN-Low) and two pins for µC
connection (TX & RX)

If you need only one/some you can easily build this using prototyping
boards and wires.
If you need more you better design a PCB and assemble the components.

Best is to start from the simple prototyping and evolve.

The Beagle CAN processing is rather easy and works almost immediatly.

Regards,
Gwen


Op vr 22 feb. 2019 om 13:38 schreef :

>
> Hi.
>
> I have a project idea that involves using the BeagleBone Black CAN bus
> controller. I found this cape on e-linux
> https://elinux.org/Beagleboard:BeagleBone_CANBus but then I realized it
> is discontinued long time ago, most distributors have it out of stock or
> discontinued. Is there any alternatives to this cape?
>
> --
> 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/3e9b2ed2-c1ec-490f-83e8-d5ebe84f47a8%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/CAFfeaG_KHub1qPSczyg8jStsEkLfUgki-GJqJujUi9Qx45-NnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to use PocketBeagle CAN Pins?

2019-01-17 Thread Gwen Stouthuysen
this was spot on
Thanks for the tip of leaving out CANbus on the google search.

Op woensdag 16 januari 2019 16:36:55 UTC+1 schreef Tarmo Kuuse:
>
> Hi Gwen,
>
> On Wednesday, 16 January 2019 12:35:09 UTC+2, Gwen Stouthuysen wrote:
>>
>> Is there a method of using these commands at boot so that the CAN 
>> interface is available?
>>
>> config-pin P1_28 can# rx
>> config-pin P1_26 can# tx
>>
>> I have trouble to find the necessary information on how to create a CANbus 
>> related overlay. But in fact I only need these two commands to execute at 
>> boot.
>>
>> Gwen
>>
>>
>> Op maandag 8 januari 2018 03:17:50 UTC+1 schreef RobertCNelson:
>>>
>>> On Sun, Jan 7, 2018 at 5:36 AM,   wrote: 
>>> > Hello Folks! 
>>> > 
>>> > We are currently experimenting with the PocketBeagle CAN Connection 
>>> but 
>>> > haven't got much success yet. The PocketBeagle will be connected to a 
>>> car. 
>>> > To accomplish this we use a CAN Board 
>>> > (https://www.waveshare.com/sn65hvd230-can-board.htm) in connection 
>>> with  a 
>>> > step down converter and a OBD2 Male Connector. 
>>> > 
>>> > Our first thought was that we can use the dcan1 Pins (P2.09 for RX, 
>>> P2.11 
>>> > for TX) to connect the hardware and just test everything with the 
>>> socketcan 
>>> > tool - without success. 
>>> > 
>>> > We then tried different Tutorials: 
>>> > http://www.thomas-wedemeyer.de/beaglebone-canbus-python.html 
>>> > http://www.instructables.com/id/DIY-Beaglebone-CAN-Bus-Cape/ 
>>> > They didn't work either. 
>>> > 
>>> > Another problem is that there is almost no documentation on how to use 
>>> the 
>>> > PocketBealge CAN or maybe we just can't find it. 
>>> > 
>>> > Has someone got a good tutorial or hints how to use the CAN Pins 
>>> correct? Do 
>>> > we need the Device Tree Overlays? How can we test that a Device Tree 
>>> Overlay 
>>> > is working properly or something is connected to the CAN pins? 
>>> > We are really thankful for any advise or solution! 
>>>
>>> https://github.com/beagleboard/pocketbeagle/wiki/Peripherals 
>>>
>>> If you see any mistakes feel free to help improve ^ it.. 
>>>
>>> Regards, 
>>>
>>> -- 
>>> Robert Nelson 
>>> https://rcn-ee.com/ 
>>>
>>
> Googling for "beaglebone config-pin on boot" matches a good example to get 
> you going: https://gist.github.com/pdp7/d4770a6ba17e666848796bf5cfd0caee 
>
> --
> Kind regards,
> Tarmo
>

-- 
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/0820bb31-eb49-483e-b721-117418bca737%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to use PocketBeagle CAN Pins?

2019-01-16 Thread Gwen Stouthuysen
Is there a method of using these commands at boot so that the CAN interface 
is available?

config-pin P1_28 can# rx
config-pin P1_26 can# tx

I have trouble to find the necessary information on how to create a CANbus 
related overlay. But in fact I only need these two commands to execute at boot.

Gwen


Op maandag 8 januari 2018 03:17:50 UTC+1 schreef RobertCNelson:
>
> On Sun, Jan 7, 2018 at 5:36 AM,  > 
> wrote: 
> > Hello Folks! 
> > 
> > We are currently experimenting with the PocketBeagle CAN Connection but 
> > haven't got much success yet. The PocketBeagle will be connected to a 
> car. 
> > To accomplish this we use a CAN Board 
> > (https://www.waveshare.com/sn65hvd230-can-board.htm) in connection with 
>  a 
> > step down converter and a OBD2 Male Connector. 
> > 
> > Our first thought was that we can use the dcan1 Pins (P2.09 for RX, 
> P2.11 
> > for TX) to connect the hardware and just test everything with the 
> socketcan 
> > tool - without success. 
> > 
> > We then tried different Tutorials: 
> > http://www.thomas-wedemeyer.de/beaglebone-canbus-python.html 
> > http://www.instructables.com/id/DIY-Beaglebone-CAN-Bus-Cape/ 
> > They didn't work either. 
> > 
> > Another problem is that there is almost no documentation on how to use 
> the 
> > PocketBealge CAN or maybe we just can't find it. 
> > 
> > Has someone got a good tutorial or hints how to use the CAN Pins 
> correct? Do 
> > we need the Device Tree Overlays? How can we test that a Device Tree 
> Overlay 
> > is working properly or something is connected to the CAN pins? 
> > We are really thankful for any advise or solution! 
>
> https://github.com/beagleboard/pocketbeagle/wiki/Peripherals 
>
> If you see any mistakes feel free to help improve ^ it.. 
>
> 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/c09161d8-ddb9-4250-8301-9f546553bf78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] AT modem networking on PocketBeagle

2019-01-10 Thread Gwen Stouthuysen
I would like to connect a Quectel BG96 Click board to a PocketBeagle
The hardware side is rather straight forward: install the expansion headers 
and click in the board.
LEDs light up and off you go.

The modem is not recognised by the operating system: how would he know 
there is this specific device connected to the UART?
No EEPROM installed, no Cape overlay available.

This can be solved using traditional techniques, if required as the UART I 
would use is /dev/ttyS4, which is available anyhow.

How I can I explain the operating system that this specific device is 
installed and listening on /dev/ttyS4/?

If I understand correctly the device is known by the kernel but is expected 
to connect over USB.

-- 
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/9f479ef4-d141-4c13-9627-4a45042c595b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.