Guys! Success!! I've just read the full atr out of the card!
How nice!! I haven't got words to say how much appreciate your patience, help and support, as any of this wouldn't have been possible with your tips. Well, my findings: * With my card, I can read from 500 Khz to 4 Mhz, haven't test 5 Mhz yet. * The higher the frequency applied to the card's clock-line is, the most it takes to return an atr after the TS byte. Then I recalled what you said Sebastien, that atr is given by software, so it all starts making sense. As soon as I got this working, been trying to connect the chip the serial port, but it seems the maxim on my adaptor is not up or it today, so I'll see tomorrow what's wrong with it or make a new one. The crystals haven't arrived so far, so the clock line is output by the chip as well, the bits are read one by one till it gets a byte, but it works so reliably!. The good point of going this lowlevel instead of by usart, is that I can implement error reporting by means of holding the line low, which I coulnd't do if using the hardware usart module, appart from supporting synchronous cards, etc. Anyways, I'm so happy, can't wait to have the maxim circuit working so as to go further with this. As soon as I have the circuit talking to the pc I'll upload code and schematics. Also, would the specs @ cardwerk I mentioned be up to date regarding the command protocol? I guess they would. hmm, there's soemthing else I was curious about, but can remember now, will leave it for latter. Thanks! Regards, On 7/9/10, Sébastien Lorquet <[email protected]> wrote: > I was ascertained by my "personal card expert" that the lower limit is > guaranteed to be lower than 1MHz, so that frequency shall be OK. > > Sebastien > > On Fri, Jul 9, 2010 at 4:54 PM, Drasko DRASKOVIC <[email protected] >> wrote: > >> On Fri, Jul 9, 2010 at 4:04 PM, Sébastien Lorquet <[email protected]> >> wrote: >> > Beware: the line is *toggled* every 10 clock pulses, so a period is 20 >> > pulses or 1 MHz :) >> >> Yes, you're right. In that case, rising up this frequency is worth >> trying, as you mentioned, because we might be on a low limit... >> >> _______________________________________________ >> Muscle mailing list >> [email protected] >> http://lists.drizzle.com/mailman/listinfo/muscle >> > _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
