Pages: [1] 2   Go Down
Author Topic: ATMega328P Memory upgrade?  (Read 623 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a few prototype projects involving an ATMega328P and have been using it due to its simplicity and compatibility with Arduino, and I seem to understand the basics of the code alright after working with it for a little.  I keep running into the issue where I run out of flash memory to store my code, etc, and in some scenarios I am also running a few I/O pins short of what I'd like to see.  Are there any other processors with bigger memory and more I/O pins that the Arduino Bootloader can be uploaded onto?  How does this work as I am unfamiliar. 

If there is a particular suggestion in terms of solving these two issues without having to drastically change the software it would be excellent.  Thanks for any insight ahead of time.

LP
Logged

Offline Offline
Faraday Member
**
Karma: 87
Posts: 4978
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ATmega2560 ?
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ATmega2560 ?

That actually sounds quite good if they make it in a through hole package, do you know if they do? I cannot seem to find it and as this is a prototype.  I did see a few breakoutboards, which I could consider, but it is already a pretty pricey chip (in comparison with the 328). 

If there are any other more cost effective solutions it would be great.  Thank you.
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 199
Posts: 12768
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That actually sounds quite good if they make it in a through hole package, do you know if they do?

http://www.atmel.com/devices/atmega2560.aspx
Look under Ordering Codes for -#PU.  The answer is "no".

ATmega1284P

Vendors in no particular order...
Mouser
Arrow
Newark
Digi-Key
AVNET
« Last Edit: April 30, 2014, 01:43:35 am by Coding Badly » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great!! Thanks so much. 

So this 1284 is compatible and i can burn the same Arduino Bootloader on there to operate the same code etc?

Thanks again.
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 199
Posts: 12768
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


https://www.google.com/search?q=optiboot+atmega1284p
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26442
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, download the mighty1284 core files, and program just like a big '328P.
Link to core files about 1/2 way down my page here
http://www.crossroadsfencing.com/BobuinoRev17/

Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Excellent thanks so much!!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Additionally, do you have any tips/assistance as far as burning the bootloader (I dont have an MKII yet and haven't been able to get it to work with the barebones arduino method even on the 328P's I have without he preburned bootloader) ?   Thanks so much for the help.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26442
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd go with Nick Gammon's:
http://www.gammon.com.au/forum/?id=11635
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Excellent - this is the first one I can get to upload the sketch without errors, however when I try to burn the bootloader I get this error
Code:
avrdude: stk500_getsync(): not in sync: resp=0x00
  I am pretty sure my simple circuit with the 328P is set up correctly (I dont have the RBB PCB like Gammon does, but I had it built on a breadboard before so I have been using that.

Any suggestions as to what theis error means or how to solve it?  Thanks so much this looks like it is the right route if I can resolve this issue, thanks again!
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26442
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Means the chip is not talking.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OH! I figured it out, That error comes up regardless, but I can still bring up the Serial after and Burn the bootloader.  I am having some issues with my Atmel Studio and also having trouble changing the fonts using the theme.txt modifications as said in this forum, do you happen to have an IDE/solution that you would like to recommend?  I am going to get some 1284's shortly here, but it will probably be a little while before I actually get the chips in and get something uploading on them so I look forward to doing so.    Thanks for the help, I really appreciate it.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26442
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Arduino IDE with mighty1284 core files added.
Link to  mighty1284 core files are about halfway down my webpage:

"Core Files for Bobuino '1284P Boards "
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Atlanta, USA
Offline Offline
Edison Member
*
Karma: 53
Posts: 1776
AKA: Ray Burne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great!! Thanks so much. 

So this 1284 is compatible and i can burn the same Arduino Bootloader on there to operate the same code etc?

Thanks again.

I do not know if any are left, but I purchased 1 fully assembled w/ uC and it is a very nice board.
http://forum.arduino.cc/index.php?topic=235402.0

This then makes a complete Dev platform for bare bones 1284's.

Ray
Logged

Pages: [1] 2   Go Up
Jump to: