system
April 28, 2012, 1:35pm
1
So, my Arduino Ethernet arrived a few days ago. I discovered I would need a cable like this to program my board.
So I thought I could use my typical USB>RS232 cable and take their outputs to TTL level using two MAX 232 and use an external power supply to get the pin 3 of my desired cable, which is +5V.
I made it. Here is a picture:
The problem is that I just can't upload my sketch to the board, as seen below:
I tried each of the programmer options, none got me results.
Does someone have an idea of what is wrong?
cmiyc
April 28, 2012, 1:39pm
2
The "Programmer" section doesn't apply, so it won't matter what you select.
Select Arduino Uno in the board selection and the Serial Port for your adapter.
If you don't have DTR connected to the reset signal, you will have to manually reset the board before the upload starts. 1-2 seconds after you see the "Binary Sketch Size" message, press the RESET button.
system
April 28, 2012, 1:53pm
3
I did what you told me. Selected the board as Arduino Uno, even if it's not. and tried to upload, pressing the reset button on the board after seeing the message about the bytes. Follows the result:
avrdude: stk500_getsync(): not in sync: resp=0x30
cmiyc
April 28, 2012, 1:59pm
4
blacblu:
I did what you told me. Selected the board as Arduino Uno, even if it's not.
If your IDE has an "Arduino Ethernet" option, then use that.
When you connected TX and RX, did you swap them? RS232 TX goes to Arduino RX and vice versa.
system
April 28, 2012, 2:35pm
5
blacblu:
I did what you told me. Selected the board as Arduino Uno, even if it's not.
If your IDE has an "Arduino Ethernet" option, then use that.
When you connected TX and RX, did you swap them? RS232 TX goes to Arduino RX and vice versa.
I made this 6 pin cable, as I showed on the first post, and attached the pins on the 6 holes on the board that says EXT-PROG
The Arduino Ethernet does have a TX and RX pin, but I think they are for serial communicating, not programming.
I made the connections as seen below:
cmiyc
April 28, 2012, 2:44pm
6
blacblu:
I made this 6 pin cable, as I showed on the first post,
It is difficult to see what you built in the first post. The chip names are unreadable and following the same colored wired in a photograph is tough.
blacblu:
The Arduino Ethernet does have a TX and RX pin, but I think they are for serial communicating, not programming.
That's the same thing. The chip is programmed over serial. The TX/RX pins on the side are the same as pins 0 and 1, which are also marked TX and RX.
If you've made the cable correctly and selected the write items in the IDE, then you wouldn't need to manually reset.
system
April 28, 2012, 3:13pm
7
blacblu:
I made this 6 pin cable, as I showed on the first post,
It is difficult to see what you built in the first post. The chip names are unreadable and following the same colored wired in a photograph is tough.
blacblu:
The Arduino Ethernet does have a TX and RX pin, but I think they are for serial communicating, not programming.
That's the same thing. The chip is programmed over serial. The TX/RX pins on the side are the same as pins 0 and 1, which are also marked TX and RX.
If you've made the cable correctly and selected the write items in the IDE, then you wouldn't need to manually reset.
I've just made an schematic:
cmiyc
April 28, 2012, 3:31pm
8
Don't worry about CTS. It doesn't connect to anything on the Arduino. So you only need to use RX, TX, and RTS, which should fit on one chip.
system
April 28, 2012, 3:43pm
9
Don't worry about CTS. It doesn't connect to anything on the Arduino. So you only need to use RX, TX, and RTS, which should fit on one chip.
I see.
But am I connecting everything in the correct place?
Thank you.
cmiyc
April 28, 2012, 4:35pm
10
It looks like the diagram is correct.
system
April 28, 2012, 7:10pm
11
Do you know if the RTS signal is PC->BOARD or BOARD->PC?
I'm thinking maybe I should buy a FTDI cable or board, what you think?
http://multilogica-shop.com/placa-FTDI
This board have DTR instead of RTS, so it will automatically reset the board on upload. You think it's a good investment?
system
October 31, 2012, 3:26pm
12
please can I connect the ethernet arduino board to pc by using rs232 cable only