On 22-12-2013 14:48, bdebru...@luminize.nl wrote: >> But first check whether you've loaded the proper overlay as I wrote >> above. > check, I have made sure the line is as follows: > optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G,cape-bebopr-brdg > >>> To avoid misunderstandings maybe: when the line in the uEnv.txt is >>> like this: >>> >>> optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G,cape-bebopr-brdg >>> LinuxCNC is starting up with the BeBoPr bridge(=+) cape >>> configuration. > but there is no difference. > How can I check that the pins of J6, J7 and J8 match AINx?
I'm using the following shell script that writes all AIN values to the console in a loop. #!/bin/sh while : ; do for i in 4 5 6 ; do echo -n "AIN${i}: `cat /sys/devices/ocp.2/44e0d000.tscadc/tiadc/iio\:device0/in_voltage${i}_raw` " sleep 1 done echo "" done Then use a jumper to short the analog input. After one or two readings, the corresponding AIN value should be (close to) zero as in the output shown below: AIN4: 3626 AIN5: 3631 AIN6: 3630 AIN4: 3628 AIN5: 3631 AIN6: 3628 AIN4: 3628 AIN5: 3631 AIN6: 3 AIN4: 3628 AIN5: 3631 AIN6: 1 AIN4: 3628 AIN5: 3632 AIN6: 3629 AIN4: 33 AIN5: 3633 AIN6: 3630 AIN4: 40 AIN5: 3632 AIN6: 3630 AIN4: 39 AIN5: 3632 AIN6: 3629 Note: I've only tested this with the cape-bebopr-brdg device tree overlay loaded, but I guess it should also work with Charles' overlay. Do check the output of "dmesg | grep capemgr" to make sure the proper one is loaded! -- Bas > > Bas de B > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users