Arduino nano resets when Software inits COM port.

Hello,
I have an Arduino Nano v3.0. Every time some software starts to use the serial port the Arduino is on the Arduino gets reset.
I do not understand why this happens. According to the schematic only TX and RX lines are connected between the FTDI and the ATMEL chips, so there should be no trigger to reset the ATMEL.
Also I would like to prevent this from happening.
First I thought that it was my self written java code on the PC that uses the RXTX library, but the same thing also happens when I start the Serial console from the arduino software. OK the serial console also uses RXTX. BUT it also happens when I just connect with PUTTY.

So what do I need to change (hardware or software does not matter) so that I can connect to the Arduino with some PC software while the Ardunio software continues to run and the Ardunio is not reset.

greets,
chippy

According to the schematic posted below, I see the FTDI chip's DTR signal wired to the AVR reset pin, so the auto-reset function is there and is what is causing your board's reset. This is normal behavior.

Lefty

OH !
I see now.
I guess I mixed up DTR with DSR. So reset is connected.
But following code still does not prevent autoreset.
serialPort.setDTR(false);
Is there anything else (in software) I could try before removing C4 ?

.

chippy:
OH !
I see now.
I guess I mixed up DTR with DSR. So reset is connected.
But following code still does not prevent autoreset.
serialPort.setDTR(false);
Is there anything else (in software) I could try before removing C4 ?

.

That is dependent on the OS and FTDI driver on the PC, and I'm not the person to ask if it's possible it could be defeated or not. However removing C4 or cutting a trace to or from it will certainly defeat the auto-reset function at it's root, but at the cost of losing auto-reset used for uploading sketches.

Lefty