Can't upload - Loopback test is OK.

Hi All,

I have an Arduino Uno and am trying to upload a basic sketch.

The loopback test is OK.

When I upload, the last line of the console window shows the size of the sketch, and then the IDE closes.

Can someone help me resolve this please?

James.

Can you do a "Verify"? That will do a build without an upload and will give an idea if the crash is at the end of the build or the beginning of the upload.

Hi John,

A verify works OK.

The console output of the verify looks no different to the upload just prior to it quiting.

Should I see avrdude doing its thing in the console window?

Does the Arduino IDE call avrdude, or is can this be configured, e.g. I have set the wrong thing somewhere?

Kr,

James.

The IDE does call avrdude. Unfortunately it directs the output to the sketch windows. If the IDE crashes early in the upload process it will probably not be possible to read the messages. Can you look in a system error log somewhere? Usually the OS will log the cause of a process crash.