Help with aArduino mega1280 can't open device

Hello folks, I am having issues programming a Boot loader for a project (9v) supply using a

standalone mega1280.

This project was outsourced. I am a serious noob to programming Arduino’s. These are the steps I have

tried without any success. Com5 is my port. I did not know that the chip (Digikey) did not come with

and Arduino Bootloader preprogrammed.

  1. Arduino IDE —compiles, but will not upload the error I get is "avrdude: stk500_recv(): programmer

is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf3"

2)avrdude --I placed the 1280 .hex file"ATmegaBOOT_168_atmega1280.hex" in my Windows directory ,

then entered this line of code in avrdude—"avrdude -c stk500 -P com5 -p m1280 -U

flash:w:ATmegaBOOT_168_atmega1280.hex". After running the line of code the result was "avrdude:

stk500_2_receivemessage(): timeout ----many times------then

avrdude: stk500v2_getsync(): timeout communicating with programmer. rx flashes

3)STK500 USB AVRISP HIGH SPEED PROGRAMMER: I tried using the icsp pin on the project board and

connected via ribbon cable supply by the programmer . I installed the drivers and the software for AVR

Studio 4. The result was “problem reading signature” and when I tried to program the result:

ok
Reading FLASH input file… OK
Setting mode and device parameters…OK!
Entering programming mode … OK!
Erasing device… OK!

still will not program bootloader

  1. uno master and project board slave . I assigned pin 10 Arduino–reset project board
    pin 11 Arduino–mosi project board
    pin 12 Arduino–miso project board
    pin 13 Arduino–sck project board
    pin gnd Arduino–gnd project board
    pin 5v Arduino–5v project board
    I selected Arduino as isp
    chose example 11 Arduinoisp
    compile ok but the result was “An error occurred while uploading he sketch”

I’m am official confused . need help please

regards

https://www.arduino.cc/en/Tutorial/ArduinoISP#toc2 "Recap: burn the Bootloader in 8 steps

Open the ArduinoISP firmware (in Examples) to your Arduino board. Select the items in the Tools > Board and Serial Port menus that correspond to the board you are using as the programmer (not the board being programmed).Your UNO. Upload the ArduinoISP sketch. Wire your Arduino boards.. You may need a 10 uF capacitor between Reset and Gnd on the UNO. The stripe goes to the Gnd pin.

Select the item in the Tools > Board menu that corresponds to the board on which you want to burn the bootloader (not the board that you're using as the programmer). See the board descriptions on the environment page for details.

Select Tools/Board:Genuino Mega or Mega 2560 Tools/Processor ATmega1280

Select the Arduino as ISP in the Tools>Programmer menu. Use the Burn Bootloader command. "

This should set your fuses and load the bootloader.

Thank you for your help i will try that.

after flowing the 8 step this is the result

Error while burning bootloader. avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x00ff00 avrdude: Expected signature for ATmega1280 is 1E 97 03 Double check chip, or use -F to override this check.

avrdude done. Thank you.