This started when i changed my projekt from uno to mega.
Seems like bootloader waits for upload or something when board gets a reset from processing.
Board resets when i start my program in processing. Something built in for easy uploading i think, reset on serial connection...
Is there a command to send bootloader to start?