[beagleboard] i wanna 8bit gpio control

2014-07-27 Thread kthabc2002
/sys/class/gpio/export this driver file i have used. but this control only one bit. so, i try to 8bit control like this #include "bb_gpio.h" #include #include //#include void main(void) { gpio_export(p9_11); gpio_export(p9_12); gpio_export(p9_13); gpio_export(p9_14); gpio_export(p9_15); gpio

[beagleboard] I wanna 8bit gpio control

2014-07-27 Thread kthabc2002
/sys/class/gpio/export this driver file i have used. but this control only one bit. so, i try to 8bit control like this #include "bb_gpio.h" #include #include //#include void main(void) { gpio_export(p9_11); gpio_export(p9_12); gpio_export(p9_13); gpio_export(p9_14); gpio_export(p9_15); gpi

[beagleboard] i wanna use highlevel file io multi use

2014-07-27 Thread kthabc2002
i use high level file io to control GPIO pins i wanna use like general MCU port register (use 8bit). so i'm writing eight file functions. but appear this compile error. /tmp/ccP4wrXQ.o: In function `main': led_blink.c:(.text+0x598): undefined reference to `pin_wirte' collect2: ld returned 1 exit

[beagleboard] SDcard is dead?

2014-07-24 Thread kthabc2002
hi everyone. i have a question. i'm following this site. http://adis.ca/post/debian-wheezy-beaglebone-black/ but while rebooting. sdcard boot do not working & appearance emergencymode. how can i fix it?