Main memory is any type of memory directly accessible to the CPU.
Main memory is usually volatile in the form of RAM - Random Access Memory, as well as internal and external cache. So data can only persist in main memory until the power is switched off.
However, an embedded computer may also include non-volatile main memory in the form of EPROM chips. These would hold a permanent copy of the software it needs to run when switched on.
Challenge see if you can find out one extra fact on this topic that we haven't already told you
Click on this link: What is main memory