Redboard not selecting processor in Arduino as ISP

I am running Arduino 2.3.3 (on Linux), using a Redboard to program an ATMEGA 168PA on a breadboard without a bootloader.

ArduinoISP loads in Redboard OK.

avrdude selects ATmega328P. There is no ‘Tools:Processor’ menu item to select the correct ATMEGA part

Is there another board manager configuration for the Redboard to fix this?

The avrdude command, (unimportant details removed):

avrdude -C avrdude.conf -v -V -patmega328p -cstk500v1 -P/dev/ttyUSB0 -b19200 “-Uflash:w:/tmp/arduino/sketches/F2F80603F2975359DC40DEDE40A572D8/setup_AVR.ino.hex:i”

Arduino IDE doesn’t provide ability to change -p option. Shouldn’t this be in the boards configuration?

You might try an older arduino version and see if there are different menu options

Yep, I may need to. Thanks!

I stayed up late working on this, but for now, I modified one of the boards.txt line for Tools|Board|Arduino Pro or Pro Mini

pro.menu.cpu.8MHzatmega168.build.mcu=atmega168p

since I am conveniently using a Redboard (yes, I tried the Sparkfun board manager as well). The P uses the M168 parent, found in avrdude.conf

Good thing my target is easily recognized.

1 Like

Sweet! I’m going to mark your method as a solution in case anyone else runs into similar

Happy to help, and please ping me or email if someone has a specific issue.

Yes, Arduino IDE is meant for beginners, I would love an “advanced” mode where issues like this could be addressed.