From: Bas de B. <bde...@lu...> - 2014-01-10 20:01:04
|
I’m trying to setup the limit switches for my delta printer with a BBB + BeBoPr-bridge. I am having issues with the setup of the hal file. I get the message: Pin bb_gpio.p8.in-9 does not exist. the referral is to the line in my .hal file stating net home-x bb_gpio.p8.in-9 => axis.0.home-sw-in Now i checked the pins with the pin layout of https://github.com/modmaker/BeBoPr-Bridge/blob/master/BBB-P8-P9-signals.pdf and I was under the impression that for using these limit switches/home switches I had to use these pins (P8.8, P8.14 and P8.18 for the max switches). I read the post of Brandon Heller on the bb-lcnc blog about adding the pins for input, where pin 109, 114 and 118 seem to be there already. my .hal states: # load low-level drivers loadrt hal_bb_gpio output_pins=107,126,217,218,224,226 input_pins=108,109,110,114,117,118 further more uncommented in setup.bridge.sh the following and set the right direction. 69 in # P8.9 gpio2.5 X_Max 26 in # P8.14 gpio0.26 Y_Max 65 in # P8.18 gpio2.1 Z_Max I checked that gpio-26, gpio 65 and gpio-69 react to my jumping the BeBoPr-bridge: $sudo cat /sys/kernel/debug/gpio GPIOs 0-31, gpio: . . . . . . . . . gpio-26 (sysfs ) out lo GPIOs 32-63, gpio: . . . . . . . . . GPIOs 64-95, gpio: gpio-65 (sysfs ) out lo gpio-66 (sysfs ) out lo gpio-69 (sysfs ) out lo GPIOs 96-127, gpio: linuxcnc@arm:~$ sudo cat /sys/kernel/debug/gpio GPIOs 0-31, gpio: . . . . . . . . . gpio-26 (sysfs ) out hi GPIOs 32-63, gpio: . . . . . . . . . GPIOs 64-95, gpio: gpio-65 (sysfs ) out hi gpio-66 (sysfs ) out lo gpio-69 (sysfs ) out hi GPIOs 96-127, gpio: Did i miss something or do I make a typo? I’ve tried changing ‘bb_gpio.p8.in-9’ to 'bb_gpio.P8.in-9’. Thanks, Bas |