Can burn bootloader but not program -SOLVED

Hi all
AS per topic. I can easily burn bootloade through ICSP but straight after, when i try to upload sketch i have an error

Using Port : COM5
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x9d
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

the selected serial port
does not exist or your board is not connected

Any ideas?

Thanks

boards? settings? programmer?

Apologies.
Arduino board (i use either uno or mega) to atmega328p
Arduino IDE, and as mentioned, the bootloader is burning just fine with this setup but not actual program

mOskit:
Apologies.
Arduino board (i use either uno or mega) to atmega328p
Arduino IDE, and as mentioned, the bootloader is burning just fine with this setup but not actual program

it is possible to burn a wrong bootloader. do you select to burn the bootloader the same board in Tools menu as for serial upload?

It`s dumb like hell, but they could actually put in the description of the "Arduino as SPI" example to use "SKETCH-> UPLOAD USING PROGRAMMER" otherwise you get error as above if you just hit upload arrow.

Now even my JTAGICE3 works. :slight_smile: lol so simple, so stupid.