On Mon, Jan 2, 2012 at 9:03 AM, Anthony Andriano <[email protected]> wrote: > I am currently using AVRDude to communicate with my devices over a virtual > com port and an FT232R (USB <-> UART bridge). I see that AVRDude has a > programmer type called avrftdi, but I don't think it provides a solution to > my problem. At the moment, when I want to communicate with my device, I have > the ability to use the FT232R in native USB mode through the vendor supplied > DLL. However, when I want to access the bootloader, I have to change the > EEPROM in the FT232R to enumerate as a VCP. Then, AVRDude can > communicate using "-c avr911 -P comXX".
I do not think you need to change the EEPROM. FTDI driver has an option to load VCP driver which override normal device behavior. +++++++ Windows Device Manager --> Universal Serial Bus controllers --> USB Serial Converter --> Advanced --> Configuration Use these settings to override normal device behavior. (checkbox) Load VCP +++++++ You can use the above to load VCP on the fly. > What I want is a way to communicate with the AVR using the supplied DLL over > a native USB interface without needing the VCP at all. Can AVRDude already > do this? > > Basically, I am asking if AVRDude uses any of the API calls in the FTDI > provided DLL called FTD2XX.DLL such as FT_Write() and FT_Read() to write and > read bytes from the AVR. I do not want to enumerate my device as a VCP, but > I still want to be able to communicate with the bootloader using a VCP. Maybe this is close to what you want, not using libftd2xx, but libftdi, http://helix.air.net.au/ You can use the libusb-win32 filter driver option so that you can still use the FTDI driver. -- Xiaofan _______________________________________________ AVR-chat mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-chat
