0

Is it possible to access the external 512 MB SDRAM (on my Pi B+) from a bare-metal program? If yes, how would I do so?

Do I have to configure and use the MMU for it? I don't want to handle virtual addresses if I don't have to.

  • Why do you call the memory external? Of course you can access memory from a bare metal program. Why not follow a bare metal Pi tutorial? raspberrypi.org/forums/viewforum.php?f=72 – joan Mar 28 '18 at 20:06
  • Because it is soldered onto the chip, it's not inside the chip. – binaryBigInt Mar 28 '18 at 20:09
  • how much ram is "inside the chip"? – Jaromanda X Mar 28 '18 at 23:39
  • the ram is directly sandwiched to the top of the memory control circuitry in the CPU .... it is no longer a separate entity .... it is "inside the chip" ... it is a multi-layer CPU – jsotola Mar 29 '18 at 2:21
  • 3
    External memory has never been a term used for the working memory used by a computer. You don't call a PC's RAM chips external just because they are situated elsewhere on the motherboard. External memory is generally the term used for persistent storage when the PC is switched off. – joan Mar 29 '18 at 7:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.