Pages: [1]   Go Down
Author Topic: Extend Flash Memory  (Read 683 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 9
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello. I'm new to this forum, and to this Arduino World.

I'm really happy with my Arduino Nano with Atmega 328

But, what I first notice is that the 32Kb I have available for the code, isn't good at all. I can't believe that been in the 21 Century we don't have like 1 Gb available (dunno why this limitation)

My question is. Is there anyway to  increase the memory for the code? I know Arduino can read SD Cards, is it possible to put the code in the SD card and run the code from there? or a PenDrive, I dunno...

Same question but for the SRAM and EEPROM both looks like with a big code (or not so big really) both of them will collapse.

Thanks a lot, hope you can clarify my panorama.
Logged

My 3x3x3 Led Cube

[url=http://arduino.cc/forum/index.php/topic,1642

UK
Offline Offline
Faraday Member
**
Karma: 99
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello. I'm new to this forum, and to this Arduino World.

I'm really happy with my Arduino Nano with Atmega 328

But, what I first notice is that the 32Kb I have available for the code, isn't good at all. I can't believe that been in the 21 Century we don't have like 1 Gb available (dunno why this limitation)
Cost.  If you want more, you buy a bigger, more expensive chip.  If you don't, you buy a cheaper chip with less.
Quote
My question is. Is there anyway to  increase the memory for the code? I know Arduino can read SD Cards, is it possible to put the code in the SD card and run the code from there? or a PenDrive, I dunno...
No.
Quote
Same question but for the SRAM and EEPROM both looks like with a big code (or not so big really) both of them will collapse.

Thanks a lot, hope you can clarify my panorama.
You can add EEPROM and SRAM as SPI or I²C peripherals - but you can't use the SRAM as if it were internal memory, but you have to manually reference addresses within it.
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Offline Offline
Sr. Member
****
Karma: 9
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Majenko.

Is the bigger one the Arduino Mega with only 256 Kb? Or is something bigger out there?

Anyway 256 I think would be much better than the 32Kb on the Nano, so it would be a good alternative and give us much more options when coding.

Anyway, in an era where everything is on Gb I don't understand why we are counting with Kb  smiley-roll

Thanks again Majenko  smiley
Logged

My 3x3x3 Led Cube

[url=http://arduino.cc/forum/index.php/topic,1642

UK
Offline Offline
Faraday Member
**
Karma: 99
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Majenko.

Is the bigger one the Arduino Mega with only 256 Kb? Or is something bigger out there?

Anyway 256 I think would be much better than the 32Kb on the Nano, so it would be a good alternative and give us much more options when coding.

Anyway, in an era where everything is on Gb I don't understand why we are counting with Kb  smiley-roll

Thanks again Majenko  smiley

Yes, the mega2560 has 256kB of flash.  The DUE has 512kB.

Your computer may count in gigabytes, but an Arduino isn't a computer.  It's a microcontroller.  It does a different job.  When people need a computer, they use a computer.   When they only need something small that will do a small job, they don't use a computer - they use a microcontroller.  It is small, it has small resources, and it has a small price tag.

If you want bigger, you buy bigger.  You don't use a sledgehammer to crack a nut just because sledgehammers are the biggest things around.  You use the tool that is right for the job.  Similarly, you don't use a ball peen hammer to demolish a building.
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Offline Offline
Sr. Member
****
Karma: 9
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 smiley-grin

Lol that's true smiley

My next step for sure then, it will be the Mega or the Due. With a friend we are going to turn an Arduino to be the "brain" of a Pinball smiley-razz

Hopefully we will get it working as we want.
Logged

My 3x3x3 Led Cube

[url=http://arduino.cc/forum/index.php/topic,1642

Pages: [1]   Go Up
Jump to: