OpenLog ftdi connection

Have questions about a SparkFun product or board? This is the place to be.

Moderators: phalanx, TS-Tim

Post Reply
ffbboy30
Posts: 10
Joined: Fri Mar 20, 2015 11:27 pm

OpenLog ftdi connection

Post by ffbboy30 » Mon Mar 05, 2018 11:27 am

Hi,
I would like to modify the OpenLog firmware to simplify it.
Directly record at 115200 everything it receive.
I'm trying to connect the board with the arduino IDE without success.
I've a ftdi dongle USB/232TTL converter. I cross Tx and Rx but the board is not recognize by the IDE.
Is there another tuto than the Hokkup guide that not works actually.

Thanks you

jremington
Support Volunteer
Posts: 2246
Joined: Fri Jun 15, 2007 9:41 pm
Location: Eugene, Or

Re: OpenLog ftdi connection

Post by jremington » Mon Mar 05, 2018 11:58 am

The IDE does not configure itself automatically for boards.
You need to tell it which COM port and board you are using. It should work to select the board as Arduino Pro Mini @ 8 MHz.

ffbboy30
Posts: 10
Joined: Fri Mar 20, 2015 11:27 pm

Re: OpenLog ftdi connection

Post by ffbboy30 » Tue Mar 06, 2018 1:04 am

Yes I do it and I choose this board too but the board is not recognize.

jremington
Support Volunteer
Posts: 2246
Joined: Fri Jun 15, 2007 9:41 pm
Location: Eugene, Or

Re: OpenLog ftdi connection

Post by jremington » Tue Mar 06, 2018 10:38 am

but the board is not recognize
Meaningless statement. Please post all the error messages.

ffbboy30
Posts: 10
Joined: Fri Mar 20, 2015 11:27 pm

Re: OpenLog ftdi connection

Post by ffbboy30 » Mon Apr 16, 2018 1:26 pm

I choose the board "Arduino pro or Pro mini" with the 328P at 3.3V and the good COM.
The sketch compile well. Here is the error log

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x6e
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e

jremington
Support Volunteer
Posts: 2246
Joined: Fri Jun 15, 2007 9:41 pm
Location: Eugene, Or

Re: OpenLog ftdi connection

Post by jremington » Mon Apr 16, 2018 6:26 pm

That message means that the Arduino IDE is attempting to program the Arduino, but is not getting any response from it.

Did you make certain that the FTDI adapter is supplying 3.3V, as required? Triple check that RX and TX are correctly connected.

ffbboy30
Posts: 10
Joined: Fri Mar 20, 2015 11:27 pm

Re: OpenLog ftdi connection

Post by ffbboy30 » Mon Apr 16, 2018 11:25 pm

Hi,

Here is the wiring

OpenLog Ftdi/converter
Grn------------------Gnd(Black)
Rx1------------------Tx(Green)
Tx1------------------Rx(Blue)
Vcc------------------+5V (Red)
Gnd------------------Gnd(Black)

http://www.ftdichip.com/Support/Documen ... 2R_PCB.pdf

The wire is 10 cm length.

I've tried to reverse Rx and Tx but nothing change.
The Vcc is 5V and there is 3.3V on the OpenLog

Thanks for your help

David

jremington
Support Volunteer
Posts: 2246
Joined: Fri Jun 15, 2007 9:41 pm
Location: Eugene, Or

Re: OpenLog ftdi connection

Post by jremington » Tue Apr 17, 2018 8:42 am

The OpenLog runs on 3.3V. Applying 5 V to the RX input of the OpenLog will destroy it.

You need to buy a 3.3V FTDI adapter, or modify the one you have to make sure that 3.3V IO is selected.

You may also need to buy a new OpenLog, as it may already have been destroyed.

ffbboy30
Posts: 10
Joined: Fri Mar 20, 2015 11:27 pm

Re: OpenLog ftdi connection

Post by ffbboy30 » Tue Apr 17, 2018 8:57 am

generally the UART pin are 5V tolerant on the other chip

User avatar
DanV
Posts: 365
Joined: Sat Apr 25, 2015 9:29 am

Re: OpenLog ftdi connection

Post by DanV » Tue Apr 17, 2018 9:32 am

The hookup Guide clearly states the power ratings:
  • VCC Input 3.3V-12V (Recommended 3.3V-5V)
    RXI Input 2.0V-3.8V
    TXO Output 3.3V

jremington
Support Volunteer
Posts: 2246
Joined: Fri Jun 15, 2007 9:41 pm
Location: Eugene, Or

Re: OpenLog ftdi connection

Post by jremington » Tue Apr 17, 2018 10:10 am

ffbboy30 wrote:
Tue Apr 17, 2018 8:57 am
generally the UART pin are 5V tolerant on the other chip
Certainly not on ATMega chips powered by 3.3V, which is what this post is discussing.

ffbboy30
Posts: 10
Joined: Fri Mar 20, 2015 11:27 pm

Re: OpenLog ftdi connection

Post by ffbboy30 » Tue Apr 17, 2018 11:57 am

tomorrow I will change the Chip and work on a new board.
Thanks you

Post Reply