Hi Yishin,
Am 04.01.2013 um 05:13 schrieb Yishin Li: > Hi Michael, > > I can not blinking the user leds with the following steps: > > # su as root execute the following commands to set OUTPUT mode for user > leds > echo 7 > /sys/kernel/debug/omap_mux/gpmc_a5 > echo 7 > /sys/kernel/debug/omap_mux/gpmc_a6 > echo 7 > /sys/kernel/debug/omap_mux/gpmc_a7 > echo 7 > /sys/kernel/debug/omap_mux/gpmc_a8 > # switch to user linuxcnc > cd ~/linuxcnc-dev/configs/pru-examples > make > halcmd -f debugger-example.hal > # follow the guide from ./README > # from PRU Debugger: > # - load pruexample.dbg > # - click "continuous" > # - click "reset" > # - click "continue" > > Awesome! the debugger is running, and the registers are updating. > > However, I could not observe any of the 4 user leds blinking. > Would the USER-LEDs be blinking at your platform? I admit they wont blink for me either. Great blinkenleds demo ;) I'll look into it - Michael > > Thanks, > > -Yishin > > > On Fri, Jan 4, 2013 at 5:49 AM, Michael Haberler <[email protected]> wrote: > >> Hello Joachim, >> >> good to hear you got it to work! >> >> Charles has added quite some unannounced magic to here: >> http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/arm335x-hal-pru-modulesince >> I built the root filesystem with the repo in it >> >> so you might want to >> >> git pull origin arm335x-hal-pru-module >> and rebuild >> the interesting stuff is in configs/pru-example >> >> Am 03.01.2013 um 21:42 schrieb Joachim Franek: >> >>> >>> Hello, >>> >>> the best wishes to all for 2013. >>> >>> Trying the setup from >>> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?BeagleboneDevsetup >>> I have to add a file >>> >>> $ cat /etc/gdm/custom.conf >>> [security] >>> DisallowTCP=false >>> >>> (see http://ubuntuforums.org/showthread.php?t=1755126) >>> >>> and changed (as described) >>> >>> $ cat /etc/X11/xinit/xserverrc >>> #!/bin/sh >>> #exec /usr/bin/X -nolisten tcp "$@" >>> exec /usr/bin/X "$@" >> >> thanks for those - feel free to add to the Wiki page! >> >> >>> on Ubuntu 12.04 to be able to run linuxcnc with >>> the window on the Xserver of my desktop box. >>> >>> Thanks to KAR for the explanations in the wiki. >>> >>> I have also observed the crashes after about 5min. >> >> I had these initally as well, and I permuted a few power supplies; I use a >> 5V/2A supply now and the crashes went completely away since; USB power >> alone definitely is insufficient >> >> Once reason might well be that power management (CPU frequency scaled with >> load) is turned off in kernel as per Xenomai recommendations, so it might >> well use more power than with the default kernel >> >> - Michael >> >>> But after several reboots I was able to run >>> the cnc demo programm from sim/axis/axis_mm. >>> >>> After quitting linuxcnc my Xserver hangs. Rebooting >>> shows, that the beaglebone is still running and I can >>> start linuxcnc again. >>> >>> To conect to the beaglebone >>> over the serial line I need A: >>> sudo chmod a+rw /dev/ttyUSB* >>> >>> Joachim >>> >>> >> ------------------------------------------------------------------------------ >>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >>> MVPs and experts. ON SALE this month only -- learn more at: >>> http://p.sf.net/sfu/learnmore_122712 >>> _______________________________________________ >>> Emc-developers mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/emc-developers >> >> >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. ON SALE this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122712 >> _______________________________________________ >> Emc-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-developers >> > > > > -- > ARAIS ROBOT TECHNOLOGY > www.araisrobo.com > ------------------------------------------------------------------------------ > Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and > much more. Get web development skills now with LearnDevNow - > 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122812 > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
