one thing that would work pretty well would be to use one of the FT233RL bitbang pins instead of the DTR pin...
Hmm, on an alternative note, is there some way to disable the handshake pins in the FTDI chip using the FTDI tools?
Do you know if the bit bang pins default to inputs or outputs (or if the mode persists through power loss)? It could be a problem if you had to explicitly set the bit bang pin used for reset to an input every time you powered up the board. Also, reading through the documentation, it wasn't clear to me which function actually set the states of the bit bang pins (I didn't spend much time on it); do you know?
ladyada: have you used libftdi?
Does it run under Windows?
Do you know if the bit bang pins default to inputs or outputs (or if the mode persists through power loss)?
Also, reading through the documentation, it wasn't clear to me which function actually set the states of the bit bang pins (I didn't spend much time on it); do you know?
FT_SetBitMode CBUS Bit Bang mode is enabled using the FT_SetBitMode command. Avalue of 0x20 will enable it and a value of 0x00 will reset the device mode.Note that the CBUS pins must also be configured for CBUS Bit Bang in theFT232R EEPROM.FT_SetBitMode also provides the means to write data to the CBUS pins.The upper nibble of the Mask parameter controls which pins are inputs oroutputs, while the lower nibble controls which of the outputs are high or low.FT_GetBitMode FT_GetBitMode returns the instantaneous value of the pins. A single bytewill be returned where the lower nibble contains the current values of thepins, both those which are inputs and those which are outputs.For example:Set all pins to output with bit 0 high: FT_SetBitMode(Handle, 0xF1, 0x20)
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16