Arduino Forum

Development => Other Software Development => Topic started by: buddhafragt on Oct 27, 2015, 12:52 pm

Title: IDE - AVRdude communication
Post by: buddhafragt on Oct 27, 2015, 12:52 pm
Hi all,
maybe someone can explain me, how the communication while the upload process between the Arduino IDE and AVRdude works...
I can not find any documentation.
How the IDE knows, the upload was successful for example?

best regards
Michael
Title: Re: IDE - AVRdude communication
Post by: Robin2 on Oct 27, 2015, 03:55 pm
I'm not sure if you are aware that you can choose "verbose" mode in Preferences which gives details of what goes on during compiling and uploading.

I believe the IDE (or AVRdude) reads back the code it has uploaded to verify the upload.

...R
Title: Re: IDE - AVRdude communication
Post by: buddhafragt on Nov 01, 2015, 01:31 pm
Thanks,
yes, I know the verbose mode.

But the question was how the Arduino IDE can see whats going on in AVRDude, there must be a communication between the 2 programs. How it works??

best regards
Michael
Title: Re: IDE - AVRdude communication
Post by: 68tjs on Nov 01, 2015, 02:02 pm
Quote
I believe the IDE (or AVRdude) reads back the code it has uploaded to verify the upload.
It is an internal function of avrdude and IDE just call avrdude with good  options.

Quote
But the question was how the Arduino IDE can see whats going on in AVRDude, there must be a communication between the 2 programs. How it works??
his job finish avrdude return error code.
Title: Re: IDE - AVRdude communication
Post by: buddhafragt on Nov 01, 2015, 02:08 pm
Do you know, how to capture the errorcodes?
There is no documentation about this around AVRDude ...
Title: Re: IDE - AVRdude communication
Post by: 68tjs on Nov 01, 2015, 03:26 pm
Google ?
Qwant ?