Go Down

Topic: [solved thanks to BJHenry ;) ] USB Sketch Upload impossible (I2C problem?) (Read 301 times) previous topic - next topic

n1c0l45

Hi All

Now that i have found how to fix the bootloader burn problem (thanks BJHenry !) I now have another problem....

I can't upload program using my ftdi cable! Could it be the I2C connections that block it?

here is a part of my pcb (the reset capacitor is no more there)




does someone know how to fix it?

thanks

BJHenry

I can't upload program using my ftdi cable! Could it be the I2C connections that block it?
No. When uploading via an FTDI cable you are using the Serial connection on Pin 0 and Pin 1, it has nothing to do with I2C.
Have you uploaded the bootloader correctly? What is the error message that you get when you try to upload using the FTDI cable?

here is a part of my pcb (the reset capacitor is no more there)
Please post an update, correct circuit diagram. There needs to be a reset capacitor going from the DTR line of the FTDI cable, to the reset pin of the microcontroller.

n1c0l45

BJHenry, you're my hero!!!!!

i have solder back the capacitor, and ftdi cable works!

my problem is that i have put reset for ISP port with the reset of the ftdi cable (after the capacitor)

Many thanks!!!!!

BJHenry

Since you have a separate ICSP and FTDI header, if I were you I would just cut the trace that leads to the reset pin on the FTDI header and add the capacitor in. That way you can use both methods without constantly having to modify the board.

n1c0l45

Since you have a separate ICSP and FTDI header, if I were you I would just cut the trace that leads to the reset pin on the FTDI header and add the capacitor in. That way you can use both methods without constantly having to modify the board.
i have cut a track and put a airwire!
working great!
thanks again

Go Up