SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By ffbboy30
#198563
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
By jremington
#198567
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.
By jremington
#198589
but the board is not recognize
Meaningless statement. Please post all the error messages.
By ffbboy30
#198965
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
By jremington
#198967
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.
By ffbboy30
#198970
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
By jremington
#198976
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.
User avatar
By DanV
#198980
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
By jremington
#198981
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.