ISP Shield to load bootloader

Hey everyone, good to be amongst such great electronics hobbyists :grin:. I was wondering if anyone know of an alternative chip, for the Atmega328p? My Uno isn't syncing anymore, after a dc motor project I was doing. My COM port disappeared, so I did a virtual serial port configuration. This is the error message I get now - avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x44. Could someone please help, I've been on this


forum trying to get help, and been up late trying to figure this out.

I suspect that the shield that you show is used to program DIP devices. You will need to place it on the Uno, upload the Arduino-as-ISP sketch to your Uno (so it becomes a programmer) and next place e.g. the DIP version of the 328P in the socket and burn the sketch or the bootloader.

Is the Uno that is in your image the broken one? Or one that is working? Do you have a second working Uno?

If you have a second Uno and want to burn the bootloader on the broken one, connect them as described in various articles on the web and load Arduin-as-ISP on the working programmer.

If your Uno is no longer recognised by your OS, one option is to buy a so-called FTDI adapter like https://www.sparkfun.com/products/9716; make sure that it has the DTR pin broken out. That way you can program it the usual way by connecting DTR to reset and (I think) TX to RX, RX to TX. That will take the recognision problem more than likely away; there is however no guarantee that you did not do more damage and also killed the 328P chip on the Uno.

What is that? If you faked a com port and expect it to be the Arduino, you are out of luck.

Yes the Uno shown is the one broken. I don't have a second Uno, but it looks like my Mega is working. I'm doing a blink sketch now on it :grin:. I saw a video on connecting the Uno and Mega, can I do this to load the bootloader? Is this ISP shield unnecessary, I just happened to see it, when I was getting made to fit wires. How would I know if my Uno isn't recognized by OS? Is this through the device manager, because my COM port 5 is showing the Mega 2560. Yes, the virtual serial port is pretty much a fake port, how do I get my COM 3/4 port back for Uno? Can I use the ISP shield on the Mega, to fix the 328p chip? How do I highlight the comments from the previous posts, into my posts? Thank you so, so much sir for responding :grin:.

Oh yeah, will I be able to desolder the ATMega 328p chip, find an alternative, and solder that onto it? I'm asking because if this ISP shield can't be used :grin:. Also, will I be able to do this wiring, for a dc motor, on my Mega? I'm sure I can, just by using different pinouts. I was asking so I won't fry my Mega also :grimacing:.

Oh, and I didn't use a 9 volt battery, I used a 6 ways Multi Voltage 2 amp power supply :grin:. I had everyone thinking I used a 9V battery from a previous post :grin:.

Yes, you can burn the bootloader with a Mega.

Device manager indeed. If the Uno does not show, the TTL-to-USB converter chip is more than likely toast and burning the bootloader will not help.

Probably yes but no need if you use the Mega as a programmer.

Further wondering how you are going to connect the 328P to the zif socket :slight_smile:

Select the text that you want to quote. A "quote" button will show and when you click it the selected text will be quoted in the reply box.

Okay, thank you so so much. I figured I wasted money on the ISP shield. It was a last minute buy, and just happened to see it. I've seen it before, so I was like, it just so happened that I'm having a bootloader issue :grin:. Anything I can use this for, I know it's for dev boards, not familiar what that is. Is that a microcontroller? What do I do about my COM port for the Uno? How would I wire the Mega to make my motor project (illustration included).

First try to burn the bootloader using the Mega. If that fails, throw the board away or replace the 328P and try to burn again.

If burning the bootloader works, see my comment about the FTDI adapter or replace the TTL-to-USB adapter; it looks like your board uses the CH340 and I'm not sure if you can get them in shops or online.

I think that the diagram is OK. But as you have already blown up an Uno, I can't guarantee that there is nothing wrong with it.

After wiring, triple / quadruple check the wiring. Do not wire while anything is connected to power.

Thanks for showing me the highlighted quote function, I didn't see the "quote" button at first :grin:. So can I solder this 328P chip?

Yeah, I think I had the buttons oriented wrong, and adjusting the potentiometer only made it worse :grimacing:.

I don't know; I would personally think twice about soldering any pitches smaller than 0 1".

The problem is that one can not see that in the diagram and I can't measure your setup. Test it with a multimeter if not sure; board not powered !!

Right. I'm about to try this ISP with the Mega to Uno. If it doesn't work, I'll just have to buy another Uno. Until then, I'll just use the Mega for any future projects. I'll be sure to post on here, before I hook anything up :grin:. Thanks again sir, enjoy the rest of your day :grin:.

Well, I thought I was done for today, but the bootloader didn't work. I don't know why but I did the Arduino ISP, it work. I guess that's to return to it's normal state after blink? Was the Uno supposed to be powered while loading the bootloader, because it wasn't in the video. Although it wasn't, the board was powered.

Yep, the target (Uno) needs to be powered. Either over USB or from the programmer (Mega), not from both. I think the former is better.

Just in case, you also need to be aware that pins 11, 12 and 13 on the Mega are not the SPI interface used to connect the two boards.

Okay. Here's the video I used, it's a quick 3 minutes. I tried to copy paste the pinouts, but the page is not found. The pinouts are under the dropdown arrow. Thanks for telling me to power it with the usb. It looks like he used the board.

Watch "Burning Arduino (328/168) Bootloader with Arduino Mega (ATMega1280)!" on YouTube

It still didn't work :frowning:.

If you can't burn the bootloader and you're sure that your wiring was OK, throw the board away because the TTL-to-USB adapter is also toast.

Okay, thanks for all your help sir :grin:.

So I'm wondering if hooking this up directly to my Uno is what fried it? Maybe I turned the voltage up to high, 12V, or the buttons polarity were flipped? We'll I'm going to try this on my Mega when I get the chance :grin:.


This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.