UPDATE:
I borrowed an UNO R3 from a friend. That worked imendiately. No more trying to upload sketches to a microprocessor uside the Mega 2560. Two days of hell.
I am not able to burn the bootloader into an AT328P U microchip. I have tried using Arduino as ISP but the process starts and then after varying periods of time the process ends with error messages. Here is one of them.
" Arduino: 1.8.15 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Error while burning bootloader.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: Yikes! Invalid device signature.
** Double check connections and try again, or use -F to override**
** this check. "**
I have checked connections several times and found them to be in order. I have searched with google and here in the forum but I have found no solution. Any suggestions would be appreciated.
Thanks for the reply. I was not aware of the SPI pins but I am now. 50 thru 53 on the Mega. I don't have an Uno. Do I need to get one to be able to upload sketches to the AT328P?
In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to post the full output from the upload when in verbose mode.
Please do this:
Select File > Preferences from the Arduino IDE's menus.
Uncheck the checkbox next to Show verbose output during: [] compilation
Check the checkbox next to Show verbose output during: [] upload.
Click the OK button.
Attempt an upload, as you did before.
After the upload fails, you'll see a button on the right side of the orange bar in the Arduino IDE: Copy error messages. Click that button.
This copies the full output to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the error output from the upload into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
I couldn't get the mega to connect to the microprocessor. I searched all over google. Downloaded the Micro board Set. Nothing I tried worked. I am sure it was user error, but the UNO just imediately connected. Thanks again!
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\Ken\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : usb
Using Programmer : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)