Go Down

Topic: IDE - AVRdude communication (Read 697 times) previous topic - next topic

buddhafragt

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

Robin2

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
Two or three hours spent thinking and reading documentation solves most programming problems.

buddhafragt

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

68tjs

#3
Nov 01, 2015, 02:02 pm Last Edit: Nov 01, 2015, 02:04 pm by 68tjs
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.

buddhafragt

Do you know, how to capture the errorcodes?
There is no documentation about this around AVRDude ...

68tjs


Go Up