Skip to main content

Questions tagged [memory]

Consider instead more specific tags, e.g., dram, sram, flash

69 votes
11 answers
10k views

How can anyone use a microcontroller which has only 384 bytes of program memory?

For instance a PIC10F200T Virtually any code you write will be larger than that, unless it is a single purpose chip. Is there any way to load more program memory from external storage or something? I'...
coder543's user avatar
  • 923
64 votes
10 answers
31k views

Why is RAM not put on the CPU chip?

Modern CPUs are very fast compared to all things external, including memory (RAM). It is understandable, since CPU clock frequency has reached a point where it takes several clock ticks for an ...
Lesser Hedgehog's user avatar
42 votes
3 answers
23k views

What resides in the different memory types of a microcontroller?

There are different memory segments to which various types of data are put into from C code after compilation. I.e: .text, .data,...
stenvar's user avatar
  • 741
40 votes
8 answers
27k views

Why do microcontrollers have so little RAM?

Maybe this is more of a perceptional problem, but it seems like microcontrollers have advanced by leaps and bounds in the last 20 years, in almost all regards, higher clock speed, more peripherals, ...
Grady Player's user avatar
  • 1,025
29 votes
1 answer
4k views

Why does flash memory have a lifespan?

I've read that flash memories can "only" be reprogrammed 100000 to 1000000 times, until the memory storage "deteriorates" Why exactly does this happen with flash and not other memory types, and what ...
triplebig's user avatar
  • 1,427
29 votes
6 answers
10k views

What is a flip flop?

There seem to be a number of different definitions of flip-flops and latches out there, some of which are contradictory. The Computer Science text book for the course I teach is probably the most ...
Drummy's user avatar
  • 559
24 votes
4 answers
19k views

How do you determine how much flash/RAM you need for a microcontroller?

Let's say you are starting an embedded project with some known functionality. When you select a microcontroller how do you select how much RAM you need? Do you use a developer board and code your ...
efox29's user avatar
  • 12k
20 votes
7 answers
12k views

Is it possible to use multi gigabyte DRAM modules with a microcontroller?

I have two leftover 2GB RAM modules that I removed from my MacBook Pro when doing an upgrade. I was just wondering if these were usable with, for example, an Arduino. I'd be too much of a beginner to ...
johndeo's user avatar
  • 201
20 votes
1 answer
9k views

How can I initialize/use SD cards with SPI?

I've seen various blog and forum posts, tutorials and application notes about accessing SD cards with microcontrollers using SPI, but I struggled a lot at different points when following them. In my ...
Matthias Luh's user avatar
19 votes
8 answers
8k views

Why is serial EEPROM preferred over parallel EEPROM?

In the wikipedia page for EEPROM: http://en.wikipedia.org/wiki/EEPROM it is given that "Parallel EEPROM devices typically have an 8-bit data bus and an address bus wide enough to cover the complete ...
Arpith's user avatar
  • 293
19 votes
3 answers
5k views

SRAM isn't blank on powerup, is this normal?

I had finally finished my Z80 memory board, but I was disappointed to see that it wasn't working properly (simple NOP test with the address lines connected to some LEDs) as the counter quickly ...
KeatonB's user avatar
  • 317
19 votes
6 answers
10k views

How can one make an analog voltage memory circuit?

I am looking for a circuit that can, on input, remember a certain voltage and output that voltage indefinitely even after the input has been taken away. The circuit should not change its output until ...
user2640461's user avatar
17 votes
2 answers
29k views

Flash and EEPROM

Atmega16 datasheet says that it has a) 16 Kbytes of In-System Self-programmable Flash program memory and b) 512 Bytes EEPROM. Can a microcontoller have two separate ROMs which can be programmed ...
Jasser's user avatar
  • 398
17 votes
2 answers
2k views

Parallel RAM without large number of pins?

Back in the 1970s, Texas Instruments had a now-discontinued range of products that they called GRAM (and read only equivalent GROM) which was basically a standard memory chip with address and data all ...
Jules's user avatar
  • 2,046
16 votes
3 answers
17k views

How do I find out at compile time how much of an STM32's Flash memory and dynamic memory (SRAM) is used up?

I have the answer for Flash memory, but the RAM question still eludes me. Arduino has this super nice feature which displays flash and RAM usage right at compile time. Ex. in the image below you can ...
Gabriel Staples's user avatar

15 30 50 per page
1
2 3 4 5
59