How to select ATmega328P (Old Bootloader) for uploading AVR C Code

I want to do AVR programming in my Arduino Nano. In Arduino IDE Code, my board only works when I select "ATmega328P (Old Bootloader)" option from Tools>Processor. If I select "ATmega328P" in Tools>Processor, I get avrdude: stk500_getsync(): not in sync: resp=0x00 error. Now for AVR C Programming in CodeBlocks, how can I select the old bootloader while uploading? Because there I also get the stk500_getsync() error.

Configure the program to use 57600 baud for upload instead of 115200. I have no clue how to do that but this forum is for support of the Arduino IDE.

1 Like

Thanks. It worked!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.