direct programming via ISP-programmer

ok - from AVR studio I can access (read and wirte flash, the fuses too) the mega 328 chip sitting on an breadboard using an external ISP programmer.
After verifying this I want flash my sketches from ARDUINO IDE using the upload button. Changed upload.using bootloader to avrisp following the instructions in

I end up with:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error: expect 0x41: resp=0x51

What do I have to change and where?

Thanks

BTW: where do I find the .hex files of the sketches? If all went wrong I could burn the chips via Studio. But still hoping there is a direct way from within Aduino IDE.

(deleted)

Hi Drew,
I'm using a STK500 clon which works fine in AVR studio and BASCOM enviroment - full stop! As mentioned in my first posting I changed upload.using bootloader to avrisp following the instructions in Arduino - Home

Now learned how to switch Arduino to verbose mode I see avrdude use the right port and stk500v1 programmer but can't get in sync after setting dtr and sending some characters :~ :~ :~

Again: the STK c.one works fine in AVR studio and BASCOM enviroment

Thank you for any hint

-MHz

Just an other topic: did you manage ATiny 2013 in Arduino? Great! Let me know how

Are you sure the rest of your board is not intering with the SPI pins used for programming?