Pages: [1]   Go Down
Author Topic: Software reset doesn't work on my Diecimila compatible board  (Read 929 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I haved designed a board compatible with Diecimila(ATmega168). I do connect DTR pin of FTDI chip to reset pin of ATmega168. However I found that I still need to press the reset button after clicking upload icon in arduino environment.

My question is: how to upload the firmware without pressing reset button?

Thanks for any comments or suggestions.

HHPP
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 202
Posts: 8711
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You could check the Diecimilla schematics and see where your circuit differs from theirs.

http://arduino.cc/en/uploads/Main/Arduino-Diecimila-schematic.pdf

The schematic shows both DTR# and RTS# from the FTDI FT232RL chip being connected to the Reset line through resistors marked "100_NM" (whatever that means).
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17263
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
resistors marked "100_NM" (whatever that means).

The "NM" means not mounted, as in not installed in production units.


Lefty

Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17263
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I haved designed a board compatible with Diecimila(ATmega168). I do connect DTR pin of FTDI chip to reset pin of ATmega168. However I found that I still need to press the reset button after clicking upload icon in arduino environment.

My question is: how to upload the firmware without pressing reset button?

Thanks for any comments or suggestions.

HHPP

Many other designs also use the simple .1ufd series cap between FTDI DTR/ pin and the AVR reset pin successfully. Can you post a drawing of your design to see what might be preventing auto-reset function from working?

Lefty
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have attached my schematic capture.
Please let me know if you find anything wrong. Thank you Guys!


* tmp.JPG (84.5 KB, 1319x550 - viewed 12 times.)
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17263
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have attached my schematic capture.
Please let me know if you find anything wrong. Thank you Guys!

Try it without C-29. And if R-16 isn't just a piece of wire, replace it with a piece of wire.

Lefty

Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Lefty,

Thank you very much for your suggestion. I removed C29 and it works!!

Regards,
hhpp
Logged

"The old Europe"
Offline Offline
Edison Member
*
Karma: 1
Posts: 2005
Bootloaders suck!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

For completeness, see this post as well.
Logged

• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

Pages: [1]   Go Up
Jump to: