![]() |
How to control N900's GPIO?
I think this is a very basic but important question.
I did a trial just now but failed. The code is below. GPIO 0x48002110 is the CAM_B_EN signal of N900, which could change the camera to A or B. If success, when you open N900's camera application(that's camera A, the big one), it will be influenced due to 1/0 in turn each 1000ms. Then I compile it in the scratchbox and upload it to N900. When running it, below feedback comes. Code:
Nokia-N900:~# ./gpio Can anyone help to find the reason? Thanks! Code:
#include <sys/types.h> |
Re: How to control N900's GPIO?
Compile with symbols and step it through gdb to see where it vomits.
|
All times are GMT. The time now is 13:15. |
vBulletin® Version 3.8.8