• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Generic digital I/O on GuruPlugs JTAG or USNAP port?  (Read 2742 times)
sdaau
Newbie
*

Karma: 1
Posts: 8


View Profile
« on: June 03, 2010, 01:16:02 AM »

Hi all,

I just got GuruPlug server (basic), and I was wandering if there is a possibility to use the 'naked' pins of either the JTAG or the USNAP connector, as generic digital I/O - input/output? The USNAP pin header especially looks hackable to me Smiley

I'm hoping something would exist, in the likes of calling a command:
Code:
usnap_out 0x0000011111
which would then set pins 0-5 to +Vcc, and pins 6-10 to 0V.

Or even better, maybe there would be something like
Code:
$ usnap_read 3 # read value of pin 3
1
$ usnap_write 3 0 # write value 0 to pin 3
$ usnap_read 3 # read value of pin 3
0

The application for me would be something like described in ArduinoWaker (however, if it is actually possible to turn on and off power to individual USB ports from Linux on the GuruPlug, that would be even better for the 'waker' purpose). 

Well, hope I can get some comments on this ! Smiley

Cheers!
Logged

sdaau
Newbie
*

Karma: 1
Posts: 8


View Profile
« Reply #1 on: June 03, 2010, 05:34:37 AM »

Well, it seems that GPIO is a term that leads to many more answers in search on this forum, and so I got to:

GuruPlug U-Snap Interface --- Any Use?
How to Add and Control GPIO's of the Sheevaplug

which say that at least usage of U-Snap pins should be possible, but it requires compiling kernel modules..

Cheers!
Logged

Pages: [1]
Print
Jump to: