วันจันทร์ที่ 22 กันยายน พ.ศ. 2557
การหาขา GPIO ของ SoC
1. find ground (like that on the USB port)
2. look for traces coming from the SoC via just one resistor (10K?) and linked to ground: these are most likely unused GPIOs
3. put your multimeter between gnd and the resister (try both sides)
4. try this until you get a reading (change):
(this is for GPIO0)
echo 0 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio0/direction
echo 0 > /sys/devices/virtual/gpio/gpio0/value
echo 1 > /sys/devices/virtual/gpio/gpio0/value
ที่มา
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น