Offline
Full Member
Karma: 0
Posts: 207
|
 |
« on: January 22, 2013, 10:14:38 am » |
Dear friend,
Recently I bought one ft232rl and try to make my own arduino to comminicate through serial port.
I connected everything just that I didntconnect a 500mA inductor from VCC of USB to VCC of ft232rl.
Arduino IDE recognised the serial port. However, when I try to upload code, it was not sucessful.
Below is the error message shown.
Hope anyone can help.
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 282
Posts: 15442
Measurement changes behavior
|
 |
« Reply #1 on: January 22, 2013, 10:33:06 am » |
Recently I bought one ft232rl and try to make my own arduino to comminicate through serial port. Does it have a DTR pin and if so did you wire it to the reset pin on your arduino board? If so, then a another possible problem area is getting rec tx pins backwards. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 207
|
 |
« Reply #2 on: January 22, 2013, 10:39:41 am » |
Oh..OK..I will connect the DTR pin..will try.. thanks
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 207
|
 |
« Reply #3 on: January 22, 2013, 11:12:08 am » |
Recently I bought one ft232rl and try to make my own arduino to comminicate through serial port. Does it have a DTR pin and if so did you wire it to the reset pin on your arduino board? If so, then a another possible problem area is getting rec tx pins backwards. Lefty Tried it.. still the same. Rx to Rx TX to Tx right ? Still the same error..Tried it either way already ><
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 282
Posts: 15442
Measurement changes behavior
|
 |
« Reply #4 on: January 22, 2013, 11:21:23 am » |
Recently I bought one ft232rl and try to make my own arduino to comminicate through serial port. Does it have a DTR pin and if so did you wire it to the reset pin on your arduino board? If so, then a another possible problem area is getting rec tx pins backwards. Lefty Tried it.. still the same. Rx to Rx TX to Tx right ? Not by FT232RL standard nomenclature, I believe you need to have Rx to Tx and Tx to Rx, and leave the DTR connected for the arduino IDE auto-reset to function correctly.Still the same error..Tried it either way already >< You could always try and run the loop back test (it's a sticky post around here somewhere) where you loop the tx and rx together on the FT with no connections to the AVR chip.
Also are you sure you are selecting the proper board type, as the bootloader in your chip is what determine which board selection you use, as that determines the baud rate the IDE uses to talk to the bootloader on the chip.
|
|
|
|
« Last Edit: January 22, 2013, 11:24:14 am by retrolefty »
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 207
|
 |
« Reply #5 on: January 22, 2013, 11:29:22 am » |
Tried either way. It does not wwork >< Is it important to have a 500mA inductor at the VCC?
|
|
|
|
|
Logged
|
|
|
|
|
Portugal
Offline
God Member
Karma: 10
Posts: 784
Tomorrow I will know a BIT more than yesterday
|
 |
« Reply #6 on: January 22, 2013, 01:43:38 pm » |
Connect then like this:
FTDI Arduino Breakout (5V)
GND <--> GND CTS <--> (not connected) 5V <--> 5V (if you want the breakout to power the arduino) TXO <--> RX (pin 0) RXO <--> TX (pin 1) DTR <--> RESET ( through a 100nF cap)
|
|
|
|
|
Logged
|
Debian,Mint,Ubuntu Arduino Mega 2560 Arduino Nano Arduino Duemilanove MAC OS Montain Lion Raspberry PI Model B
|
|
|
|
Georgia, US
Offline
Jr. Member
Karma: 2
Posts: 83
|
 |
« Reply #7 on: January 22, 2013, 06:28:10 pm » |
I'm currently going through the exact same thing at the moment (except using a PL2303 instead of a FT232). I home again so I'll be trying a few different things now. Baud rate and swapping the Rx and Tx lines are first on the list.
I'll post if I get it working. So far I do know to use the Arduino Duemilanove w/ ATmega328 board type.
-------
update: no go on the above ideas.
|
|
|
|
« Last Edit: January 22, 2013, 07:00:31 pm by WinstonP »
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 282
Posts: 15442
Measurement changes behavior
|
 |
« Reply #8 on: January 22, 2013, 07:13:12 pm » |
I'm currently going through the exact same thing at the moment (except using a PL2303 instead of a FT232). I home again so I'll be trying a few different things now. Baud rate and swapping the Rx and Tx lines are first on the list.
I'll post if I get it working. So far I do know to use the Arduino Duemilanove w/ ATmega328 board type.
-------
update: no go on the above ideas.
The correct baud rate is predetermined by the actual bootloader code installed into the AVR chip and the value shown for baud rate in the board selected in the boards.txt core file. The FTDI chip/module has no hardware settings that setup baudrate, that's all done in USB software. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Georgia, US
Offline
Jr. Member
Karma: 2
Posts: 83
|
 |
« Reply #9 on: January 22, 2013, 07:26:39 pm » |
well, in that case I guess it's back to the grindstone and see if I can bug Makershed enough to see if anyone can give a hand.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 207
|
 |
« Reply #10 on: January 22, 2013, 08:18:27 pm » |
So what should I do now?
|
|
|
|
|
Logged
|
|
|
|
|
Georgia, US
Offline
Jr. Member
Karma: 2
Posts: 83
|
 |
« Reply #11 on: January 22, 2013, 10:14:25 pm » |
same as me, take a rest and work on something else for a while, then come back to it later and scour the internet for an answer or hope someone else has run into this and can hand us a clue.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 207
|
 |
« Reply #12 on: January 22, 2013, 10:42:34 pm » |
Is this the connection to MCU ?
|
|
|
|
|
Logged
|
|
|
|
|
Georgia, US
Offline
Jr. Member
Karma: 2
Posts: 83
|
 |
« Reply #13 on: January 22, 2013, 10:46:32 pm » |
no, not for our beloved ATMega. but I'm following the guide from this post right not.... http://arduino.cc/en/Tutorial/ArduinoToBreadboardI'm doing the one at the VERY bottom as it's using the bare; absolute (could use a bottle right now) minimum of extra parts. ps if you try this one, watch that very bottom power rail. it's upside down. just make sure you connect positive to positive and negative to negative.
|
|
|
|
« Last Edit: January 22, 2013, 10:49:41 pm by WinstonP »
|
Logged
|
|
|
|
|
Georgia, US
Offline
Jr. Member
Karma: 2
Posts: 83
|
 |
« Reply #14 on: January 22, 2013, 11:35:50 pm » |
WELL, CRAP! that didn't work. I'm just gonna play Minecraft for a while.
|
|
|
|
|
Logged
|
|
|
|
|
|