before i went to this option to asking for help here, i looked in every post i found but nothing helps me out.
i´ll use the arduino framework to develop code for a bare atmega328p in platformio. the code is compiling without any errors. if i press upload, pio recognize my stk500 programmer and also the right upload port. everthing looks fine until here but then i get the common stk500 out of sync error ten times.
cuz the firmware hex was build via platformio i went to avr studio 4, enter avr programming mode, choose my chip and load the firmware without any problems.
i dont want to burn any bootloader, cuz its not needed (i dont use any usb flashing mode). the code is working well with 8mhz internal rc oscilator selected (option fuses set by avr studio 4) and without burning a bootloader - flashed by avr studio and nonchanged setup. i did not code in avr studio but pio … i just used avr studio 4 to flash the pio builded hex file
so i cant figure out why platformio isnt able to interact with my stk500 to flash the chip.
does anyone have a solution? i really thank you!