Go Down

Topic: FT232RL: USB to Serial 232 TTL Adapter –?and ISP? (Read 21510 times) previous topic - next topic

Darkwing

I'm now the owner of this little device:


link


It works great for the Serial part so far -?but now I wonder, how I can make use of these ISP pins.


I tried connecting this:



But in the IDE I get the error:

Code: [Select]
avrdude: stk500_getsync(): not in sync: resp=0x00
when using AVR ISP as a programmer


and/or

Code: [Select]
avrdude: usbdev_open(): did not find any USB device "usb"
when using AVRIPS mkII as a programmer



I'm beginning to wonder: are those yellow ISP pins meant for programming the Arduino via ISP from USB or are they meant for 'converting ' ISP signals to Serial 232? So, are they inputs or outputs?


Can anyone make a guess?
Thanks!

knut_ny

#1
Feb 10, 2014, 10:34 pm Last Edit: Feb 10, 2014, 10:51 pm by knut_ny Reason: 1
Dont !!
Those pins are for communication with the MCU on the adapter board.
..Yes it can be reprogrammed, but get the knowhow first
................................
In Arduino IDE  : select the correct arduino mini.
Press reset-button on the mini  as upload starts...
Cables to connect:  RX, TX, Ucc and GND
(remember Tx on one unit  to RX on the other)
Ny

graynomad

That is not designed for ISP programming, it's for programming using the bootloader. As such you connect it to Rxd and Txd plus reset and GND. Also it doesn't appear to have the reset cap on DTR so you would have to add that.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Darkwing

#3
Feb 11, 2014, 12:20 am Last Edit: Feb 11, 2014, 12:29 am by Darkwing Reason: 1
Thanks, but your answers confuse me a little?…

So what you're saying is:
No, these yellow ISP pins are no outputs to connect to an Arduino and program it.
These yellow ISP pins are inputs and they are meant for programming the FTDI chip on the adapter itself.

Is that right?

--

Well, if so, can you point me to where in the datasheet it sais, that the FT232RL has a (re-)programming capability via ISP? To me, it doesn't look like that at all?…

graynomad

Sorry Darkwing, I didn't spot that yellow connector. I have no idea what that's for, the FT232 cannot be programmed, it can be made to bit-bash several of its IO pins and maybe they are connected to that 2x3 header. In which case it might be possible to ISP an Arduino with it, but I can't find any supporting documentation.

So in lieu of any documentation (typical of these BS cheap vendors) I would have to say you cannot use that connector.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

CrossRoads

If the yellow pins are connected to FT232 such as here
http://make.kosakalab.com/arduino/bootloader/index_en.html
you can bit-bang a bootloader in.
http://arduino.cc/en/uploads/Main/arduino-duemilanove-schematic.pdf
See if the pins connect to the FT232 as they do on a duemilanove.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Darkwing

#6
Feb 11, 2014, 01:59 pm Last Edit: Feb 11, 2014, 02:19 pm by Darkwing Reason: 1
Thanks for your answers!

In the meantime I found a little something; it sais translated:

Quote
As a new feature there is a 6-pin ISP header available. With it, avrdude and avrftdi you can program Atmels and Arduino bootloaders. A special version of avrdude with compiled FTDI driver is neccessary.


And then the following link is given: http://helix.air.net.au/index.php/avrdude-and-ftdi-232h/

That's information from some kind of official supplier. Sounds like interesting material, I'll see if I can try this out the next couple of days. I keep you posted!


--


EDIT: Even more official, but also even more confusing:

http://www.aliexpress.com/store/product/FT232RL-USB-to-serial-line-download-USB-TO-232-USB-to-TTL-mode/236095_1309632740.html

Can anyone make sense of the naming for the connections?



Thanks!

CrossRoads

Those are the names of the IO functions the pins perform. See the duemilanove schematic for X3, and see where they connect to in the link I posted.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

graynomad

Are those signal names right? If so it's not ISP/SPI in the normal sense of the term, not even close despite the label.

That said the signals do match the old X3 header, was that used for a bit-banged SPI on the Duemilanove?

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

CrossRoads

Yes, see first link in reply #5. My Duemilanove board still has pins in X3 for that, you connect jumpers from X3 to the ICSP header for bootloading.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

dineshkatta06

how to interface 2 ft232rl devices

zerojj

I know this is an old thread, but I picked up one of these exact "Inland" branded ftdi usb adapter with the isp header. It did not have any information, and took a bit of research to get it working right.

Looks like this works for the ISP header and avrdude (at least on Linux):
Code: [Select]

programmer
 id    = "inland";
 desc  = "FT232R Synchronous BitBang";
 type  = "ftdi_syncbb";
 connection_type = usb;
 reset = 7; #
 sck   = 5; #
 mosi  = 6; #
 miso  = 3; #
;


Just thought this might help others...

also, I noted that trying to burn bootloader was flakey as erase seemed to fail in avrdude (although it appears to have actually succeeded on the chip).

I was getting this with avrdude 6.1
Code: [Select]

avrdude: Device signature = 0x1e950f
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as 5
avrdude: erasing chip
avrdude: Program enable command not successful. Retrying.
avrdude: Program enable command not successful. Retrying.
avrdude: Program enable command not successful. Retrying.
avrdude: Program enable command not successful. Retrying.
avrdude: Device is not responding to program enable. Check connection.


I found that latest avrdude-6.3 doesn't seem to have this issue any longer and seems to work fine... I have replaced the avrdude (6.0.1) in my arduino-1.6.7 folder with 6.3 and it seems to be quite happy.

aarg

Hardly worth the effort though, considering the low cost of a USBASP.
  ... with a transistor and a large sum of money to spend ...
Please don't PM me with technical questions. Post them in the forum.

gelfling6

I got one of these a month ago, as a Serial bit-banger for the ESP8266-01. (the one with the SM DIP FTDI chip). Word Of Warning! the 3V/5V switch only change4s the voltage of the serial I/O & handshake lines. it does _NOT_ change the VCC voltage. the VCC pin will still be +5V, no matter which position the switch is. If you plan on running anything off the VCC pin, at 3V, You will need to add a regulator (I.E. L78L33AC) between the project & the adaptor.   Word of the wise, before you fry, Check the voltage!

CrossRoads

FT232 only outputs 50mA at 3.3V, so not a great power source for much. Especially not ESP8266.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up