Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWM at 4.14 #31

Open
masla84 opened this issue Jun 28, 2019 · 1 comment
Open

PWM at 4.14 #31

masla84 opened this issue Jun 28, 2019 · 1 comment

Comments

@masla84
Copy link

masla84 commented Jun 28, 2019

I tried loading several PWM overlays on BBB debian with 4.14 kernel.
Sysfs files seems to work, at least there is something in /sys/class/pwm/
But when I try to read PWMSS memory at /dev/mem/ with devmem2 I get only bus-error:

sudo ./devmem2 0x48304000
/dev/mem opened.
Memory mapped at address 0xb6feb000.
Bus error

Also the PRU can't access the PWMSS0/1/2 registers.

@RobertCNelson
Copy link
Owner

Well my initial answer is don't do that.. If devmem2 returns an error, then it's locked out by the kernel..

Go ask the google group about pru and pwm..

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants