[beagleboard] Software time measurment between different PRU commands

2019-07-14 Thread Anton Nikiforov
Hi, I making some DMA examples with connection between PRU and ARM. So I need to measure the time between two PRU code commands. The simplest way to do it on the ARM side is using library *time* or something like that. Are there some software method to do the same on the PRU side? -- For

[beagleboard] mount PB filesystem via root ssh

2019-04-07 Thread Anton Nikiforov
I'm trying to mount root filesystem of PocketBeagle from local host with ubuntu 16.04 (with sshfs) using the following command: *sshfs ~/mnt/bbb/ root@192.168.7.2:/* I also tried to remove root password with guide from

[beagleboard] Kernel modules install

2019-04-07 Thread Anton Nikiforov
I tried to run some examples from this repo ( Documentation from repo ) and get stacked in point with installing linux kernel module. In documentation the directory for installing kernel module is "/mnt/bbb" So it's

[beagleboard] PRU DMA Example

2019-03-17 Thread Anton Nikiforov
I tried to launch some examples using chain DMA+PRU. I found this git repository https://github.com/maciejjo/beaglebone-pru-dma (There is guide i used to launch example: https://github.com/maciejjo/beaglebone-pru-dma/tree/master/Documentation) But i didn't make it cause of troubles with

[beagleboard] Error in RPMsg example

2018-11-07 Thread Anton Nikiforov
I'm using this example : https://github.com/PierrickRauby/PRU-RPMsg-Setup-BeagleBoneBlack/blob/master/Codes/Test_RPMsg/PRU_codes/PRU_RPMsg_Echo_Interrupt1/main.c Also i have added some changes : void main(void) { struct pru_rpmsg_transport transport; uint16_t src, dst, len; volatile uint8_t

Re: [beagleboard] GPIO PRU Example

2018-10-19 Thread Anton Nikiforov
Thank's a lot, now it's working properly. понедельник, 15 октября 2018 г., 23:06:00 UTC+3 пользователь RobertCNelson написал: > > On Mon, Oct 15, 2018 at 3:01 PM Anton Nikiforov > wrote: > > > > Trying to load some examples for blinking LED i got 2 different types of

[beagleboard] GPIO PRU Example

2018-10-15 Thread Anton Nikiforov
Trying to load some examples for blinking LED i got 2 different types of code for it: 1. While (1) { __R30 |= (1 << R30_out_bit ); delay(1000); __R30 &= ~(1 << R30_out_bit ); } R30_out_bit = 0 (P8_45 pin) 2. while(1) { __R30 ^= 0x000F; delay(1000); } What the

Re: [beagleboard] Trying to start PRU Programming

2018-09-22 Thread Anton Nikiforov
понедельник, 17 сентября 2018 г., 19:20:22 UTC+3 пользователь RobertCNelson написал: > > > Got it : > > 100+0 records in > > 100+0 records out > > 104857600 bytes (105 MB, 100 MiB) copied > > What it was? > > Old version of u-boot, blocking the newer u-boot on the microSD from > doing the

[beagleboard] Re: Trying to start PRU Programming

2018-09-22 Thread Anton Nikiforov
четверг, 20 сентября 2018 г., 9:48:37 UTC+3 пользователь TJF написал: > > Hi Anton! > > Am Montag, 17. September 2018 18:11:17 UTC+2 schrieb Anton Nikiforov: >> >> >> >> понедельник, 17 сентября 2018 г., 18:02:10 UTC+3 пользователь TJF написал: >>> &

[beagleboard] Can't clone repository by Cloud9

2018-09-17 Thread Anton Nikiforov
Tried to make example from https://markayoder.github.io/PRUCookbook/02start/start.html, but repository did not clone, so i get some commands from stackoverflow and them did not help anyway: debian@beaglebone:/var/lib/cloud9$ git clone https://github.com/MarkAYoder/PRUCookbook.git Cloning into

Re: [beagleboard] Trying to start PRU Programming

2018-09-17 Thread Anton Nikiforov
Thanks a lot понедельник, 17 сентября 2018 г., 19:20:22 UTC+3 пользователь RobertCNelson написал: > > > Got it : > > 100+0 records in > > 100+0 records out > > 104857600 bytes (105 MB, 100 MiB) copied > > What it was? > > Old version of u-boot, blocking the newer u-boot on the microSD from

Re: [beagleboard] Trying to start PRU Programming

2018-09-17 Thread Anton Nikiforov
понедельник, 17 сентября 2018 г., 19:04:41 UTC+3 пользователь RobertCNelson написал: > > On Mon, Sep 17, 2018 at 10:59 AM Anton Nikiforov > wrote: > > > > git:/opt/scripts/:[73593ebe3b7d3cc381eeb502d45ccb33a6ec5e78] > > eeprom:[A335BNLT0

[beagleboard] Re: Trying to start PRU Programming

2018-09-17 Thread Anton Nikiforov
понедельник, 17 сентября 2018 г., 18:02:10 UTC+3 пользователь TJF написал: > > It's pretty easy when you use the matching tools: > > a) disable rproc > b) disable cape-universal > > Instead > > c) enable uio_pruss driver > d) install libpruio > > Then do pinmuxing by function setPin(Top, Ball,

Re: [beagleboard] Trying to start PRU Programming

2018-09-17 Thread Anton Nikiforov
понедельник, 17 сентября 2018 г., 2:42:06 UTC+3 пользователь RobertCNelson написал: > > On Sun, Sep 16, 2018 at 6:37 PM Anton Nikiforov > wrote: > > > > There are a lot of examples for PRU in the web, but most of them don't > work correctly with latest images .

Re: [beagleboard] Trying to start PRU Programming

2018-09-17 Thread Anton Nikiforov
понедельник, 17 сентября 2018 г., 2:42:06 UTC+3 пользователь RobertCNelson > написал: > > > > There are a lot of examples for PRU in the web, but most of them don't > work correctly with latest images . > > > > Most occuring problem - setting up tree overlay for pru. > > > > Are there any

Re: [beagleboard] Trying to start PRU Programming

2018-09-17 Thread Anton Nikiforov
понедельник, 17 сентября 2018 г., 2:42:06 UTC+3 пользователь RobertCNelson написал: > > On Sun, Sep 16, 2018 at 6:37 PM Anton Nikiforov > wrote: > > > > There are a lot of examples for PRU in the web, but most of them don't > work correctly with latest images . > &

[beagleboard] Getting started with PRU (Trying to find examples)

2018-09-17 Thread Anton Nikiforov
There are a lot of examples for PRU in the web, but most of them don't work correctly with latest images . Most occuring problem - setting up tree overlay for pru. Are there any examples or tutorials , which would work with 4.14 kernel , Debian 9.5 2018-08-30? -- For more options,

[beagleboard] Trying to start PRU Programming

2018-09-16 Thread Anton Nikiforov
There are a lot of examples for PRU in the web, but most of them don't work correctly with latest images . Most occuring problem - setting up tree overlay for pru. Are there any examples or tutorials , which would work with 4.14 kernel , Debian 9.5 2018-08-30? -- For more options, visit