[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] half-duplex
From: |
Axelrod, Ben |
Subject: |
[avrdude-dev] half-duplex |
Date: |
Fri, 6 Jun 2014 20:29:22 +0000 |
I would like to use avrdude to program my chip through the xboot bootlader,
over a ftdi cable
(http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_USB_RS232_CABLES.pdf)
and a half-duplex communication bus. Is this possible?
I think the tricky part is the half-duplex bus. This means that avrdude will
need to pull the transceiver-enable line high (the RTS line) while
transmitting, then low when waiting for a response. My version of xboot is
hacked to have this feature. (FYI I have used avrdude + xboot in the past, but
was either going through the avrispmkII, or going straight through the serial
port on a gumstix using the AVR109 "programmer").
Is this half-duplex programmer-less option supported in avrdude? Or would it
be easy (for me) to add? I poked around a little and it looks like the ftdi
library does support low-level control of this pin. Although I haven't tried
it yet.
My only other option is to use a secondary chip to be some sort of go-between.
(full-duplex on one side, and half on the other). But this would have to know
when each side is done talking to appropriately switch the transceiver enable
pin...
Thanks,
Ben
Ben Axelrod
Sr. Robotics Software Engineer
iRobot Corporation
8 Crosby Drive, M/S 8-1
Bedford, MA 01730
(781) 430-3315
address@hidden<mailto:address@hidden>
- [avrdude-dev] half-duplex,
Axelrod, Ben <=