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