Go Down

Topic: Using Atmega328 instead of Atmega328P (Read 173 times) previous topic - next topic

pjacobs

Last time I bought chips, only the Atmega328 was available instead of the Atmega328P, so I got a set.  Unfortunately, loading the bootloader is not as straightforward.  I figured out how to create a new board in the board file to use the Atmega328 instead of Atmega328P, but I'm not clear on how to modify the .conf file. It looks like its been changed since the posts I found here a few years ago.  Now there's already an entry for the 328 with the correct signature and the 328P is a child of that entry.  But it still says the signature doesn't match.  What am I missing?

pert

You might want to have a try with https://github.com/MCUdude/MiniCore which should make the whole process very easy. However, it can be educational figuring this stuff out from scratch and sounds like you're well along with the process so if you want to continue in that direction then please do this:
  • check the box next to File > Preferences > Verbose output during: > upload
  • Tools > Burn Bootloader
  • After the process fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
  • Paste the error in a message here USING CODE TAGS(</> button on the toolbar).

This will give us more information to be able to help you out.

pjacobs

The verbose did the trick.  The signature for the chip I was using was wrong, I tried another 328 from the batch and it worked perfectly.  So with the changes to the .conf file, you do only need to create a new board file to use the 328.

Navinsss

i'm getting this  error
"avrdude: stk500v2_ReceiveMessage(): timeout"


plzz help

DrAzzy

i'm getting this  error
"avrdude: stk500v2_ReceiveMessage(): timeout"


plzz help

What are you doing when you get this error? Are you uploading with an STK500v2 programmer? Bootloading?

Does your question have anything to do with the rest of this thread? (ie, use of atmega328 for standalone arduino)?
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Go Up