Go Down

Topic: Monitoring avrdude calls in the Arduino IDE (Read 1 time) previous topic - next topic

renasis

Hello,

I would like to monitor the calls to avrdude. I found a link that describes what I am looking for. However, I am confused by the implementation procedure listed. Not sure how to do it. The link is:

http://wiki.yobi.be/wiki/Arduino#Monitoring_avrdude_calls

Is this the only way to monitor avrdude calls in the Arduino IDE? If phrase what is needed to implement? Am I supposed to create some sort of .bat file?

Thanks,

ren

bill2009

If you hold down the shift key while clicking the upload button you should see the commands or at least the detailed avrdude output which may tell you what you need.

renasis

Thanks bill2009,

That hint got me searching on how to enable this when you start the IDE. I found that if you add the following in the preferences.txt file it will also show the communication.

build.verbose = true
upload.verbose = true

I also found that you can view communication while uploading a bootloader by putting a line like usbtinyisp.force=true into programmers.txt.

I am still confused about the CMD lines though. Are these byte commands being sent to AVRDUDE from the IDE? How do you decode these commands?

avrdude: Using SCK period of 10 usec
CMD: [ac 53 00 00] [00 00 53 00]
avrdude: AVR device initialized and ready to accept instructions

CMD: [30 00 00 00] [00 30 00 1e]
CMD: [30 00 01 00] [00 30 00 95]

Reading | ################################################## | 100% 0.02s

CMD: [30 00 02 00] [00 30 00 0f]

avrdude: Device signature = 0x1e950f

Thanks,

-ren




Go Up