Main Site Documentation

Sd-card fezzer sample help


#1

On the SD-card detect fezzer sample for cobra. Can someone figure out how to change this line to work with Domino/Other:

private InterruptPort interrupt = new InterruptPort((Cpu.Pin)FEZ_Pin.Interrupt.IO33
//, true, Port.ResistorMode.PullUp, Port.InterruptMode.Int...

http://www.fezzer.com/project/199/sd-card-detection/


#2

I don’t think card detection is hooked up on domino. I don’t see it from schematics.


#3

There is no card detect pin on the socket but I believe GHI provides a method to detect the card by sensing its data pins.


#4

like this? http://www.ghielectronics.com/downloads/NETMF/Library%20Documentation/html/fff84776-352e-cb54-54f0-e14c49073e0b.htm


#5

Yeah, that’s it.


#6

Yes. Like that. However we (all) need an event driven method for same. You could poll on a thread calling DetectSDCard(), but that is kinda a hack IMHO. Can someone with more exp in this area do a sample on fezzer using data pins and event to do same? tia