MacOS Programmer is not used in avrdude commandline

Hi, whenever I try to program something on one of my arduinos I get the following error:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf1

This results by the command line generated by arduino side which always uses:

  • Using Programmer : arduino*
  • Overriding Baud Rate : 57600*

regardless what I choose in the “tools->programmer” menu.

If I run avrdude with the generated command line from shell with the right programmer everything works:

e.g.
avrdude -C/Users/…/avr/etc/avrdude.conf -v -patmega328p -cbuspirate -P/dev/cu.usbserial… -D -Uflash:w:/temp:folder_path.tmp/test.cpp.hex:i
works fine

How can I fix this (or force change the programmer permanently in a config file)

Thanks
Carsten

How are you trying to "program something"? If you do Sketch > Upload, or the right arrow button then that avrdude output is correct because it's uploading using serial via the bootloader so your selection in Tools > Programmer is ignored. If you want to use your programmer to upload a sketch to your Arduino the use Tools > Upload Using Programmer or shift + right arrow button.

That´s it thanks a lot. Classical RTFM Bug;-)