-
Notifications
You must be signed in to change notification settings - Fork 16
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
Segmentation Fault #21
Comments
I don't have Pi Zero W. |
Actually, I was just trying it out on a Pi 3 B, although I just swapped the SD card and didn't do a fresh install. I ended up with the same result. |
OK
|
Hello I have not made any changes to tft.config. I hade already put in some debugging code in demo.c. I only made changes to the main function.
This is what I get when I compile and run it:
It's weird because the first statement after the printf that outputs my offsety is just another printf, and I never see the output from that. |
Hello again, I started with a fresh install of the latest version of Raspberry PI OS, did sudo apt-get update, sudo apt-get upgrade and then followed the Rapsberry Pi only instructions. I did have to run sudo apt-get install git half way through, but other than that, I ran everything as the instructions indicated. I still get the segmentation fault error. |
I figured it out. I was running ./demo When I run sudo ./demo it works fine. So it's a permissions issue. |
Older OS don't require permissions. There may be a bug in the latest OS. |
Hello,
I'm using a Pi Zero W with a generic ili9340 display. I've got it wired as per your instructions in the README.md. I followed the directions that you have labeled just for the Raspberry Pi and did not receive any errors. during setup/compiling. When everything was done I ran:
./demo
from the Raspberry-ili9340spi directory and received the following error:
Your TFT resolution is 240 x 320.
Your TFT offsetx is 0.
Your TFT offsety is 0.
Segmentation fault
I looked through the issues and saw a recommendation to someone to use bmc2835 1.6.4, so I used the only Raspberry Pi instructions to use 1.64 instead. I still receive the same error.
Thank you
The text was updated successfully, but these errors were encountered: