Joe
-
Content Count
31 -
Joined
-
Last visited
-
Days Won
2
Posts posted by Joe
-
-
On 6/16/2021 at 12:54 PM, Fu-. said:Hi,
I want to use wiringPi on Tinker2S.
I'm trying to use GPIO Pin#15 (wiring Pi Pin#3) as a pull-down input, but after a bit of research, it seems to be acting like it's latching. Once the Input goes High, the input does not drop to Low after that.
Is there a good solution?
Hi Fu,
Please refer the following examples
[Image Version]
Tinker_Board_2-Android10-V1.0.0-20210318.img[Example]
/usr/local/share/gpio_lib_c_rk3399/examples/isr.c
/usr/local/share/gpio_lib_c_rk3399/examples/isr-osc.c[Step]
1. cd /usr/local/share/gpio_lib_c_rk3399/examples
2. sudo make isr
3. sudo ./isr
4. GPIO #15 (wiring Pi #3) pulled down <-> up switch
4. Output:
Waiting ... Int on pin 3: Counter: 1
Waiting ... Int on pin 3: Counter: 2
Waiting ... Int on pin 3: Counter: 3
……. -
Hi Omirax:
- [Execution environment -- Ubuntu 18.04]
1). Kernel Code => git clone https://github.com/TinkerEdgeR/debian-kernel.git
2). GCC => wget http://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/aarch64-linux-gnu/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz
3). cd debian-kernel
4). make ARCH=arm64 tinker_edge_r_defconfig CROSS_COMPILE=/media/edger/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- -j32
5). make ARCH=arm64 tinker_edge_r.img CROSS_COMPILE=/media/edger/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- -j32- [Execution environment -- EdgeR]
6). compile finish,copy [Ubuntu src] --> debian-kernel/boot.img to EdgeR
7). dd if=boot.img of=/dev/mmcblk1p4
8). sudo rebootThanks.
-
Hi
Can you provide your download URL?
Is Jump removed during burning?
Thank you -
Hi
Can you provide burn img, let me try it?? (download Link)
"But I still get the error (warning) from Etcher" <-- is https://imgur.com/vzanC6G ?? -
Hi
"balenaEtcher says that it is not a valid image."
Is as https://imgur.com/vzanC6G ??
Missing Partition Table Issue --> https://forums.balena.io/t/missing-partition-table-issue/175129[Check]
(1) My Mac load normal. My Etcher version is 1.5.116
(2) My Tinker_Board-Debian-Stretch-v2.2.2-20210326.img size 3.38 GB (3,631,173,632 bytes)
(3) md5sum Tinker_Board-Debian-Stretch-v2.2.2-20210326.img
07385e98a4c3689d396409fb48508c65 Tinker_Board-Debian-Stretch-v2.2.2-20210326.img
How about you??
wiringPi problem
in Hardware
Posted
You can try to modify Pin define from /boot/config.txt
And run "gpio readall" to get list