-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Start with the README and README.stepgen files in
configs/pru-examples, that should be enough to get a couple pins
twiddling.

Note I have a setup.sh script in that directory that puts pins into
the proper mode for PRU access.  This is the nasty, dangerous, no
error checking version of how to do this...if you enable *ALL* PRU
pins this way you *WILL* crash the system (by breaking the SD card
interface) which is why some of the pins are commented out.  I am also
not positive the stepgen code is 100% correct.  It seems to "wander" a
bit much in the DRO when there is no commanded movement, but I haven't
actually hooked it to motors yet.

Anyway, once you can see some pins toggling, you can play around with
the code.  Micheal's "debugger" is actually quite helpful for single
stepping through the code.  I have begun work on adding GPIO support
and a more flexible "tasklet" scheme to the PRU code, so holler if you
want to coordinate on any changes, or have any questions about how the
code is written.

On 5/8/2013 12:03 AM, Ian McMahon wrote:
> I'd like to spend a little bit of time messing with your PRU
> code... got any tips on the best way to get started with it?
> 
> On May 7, 2013, at 5:04 PM, Charles Steinkuehler
> <[email protected]> wrote:
> 
> Awesome!  I'm looking forward to playing with this!
> 
> ...now where did I put all that free time?!?  :)
> 
> On 5/7/2013 2:52 PM, Ian McMahon wrote:
>>>> There's a mostly functionally complete bb_gpio driver in the 
>>>> bb-hal-gpio branch:
>>>> 
>>>> http://git.mah.priv.at/gitweb?p=emc2-dev.git;a=shortlog;h=refs/heads/bb-hal-gpio

- --
>>>> 
Charles Steinkuehler
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGKOmAACgkQLywbqEHdNFz0tQCgqWBSXyYoBJTBgWBT9zqm5+bM
1LkAnAvKkVk2o7gycFG7flI4csekdFGy
=l8W/
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to