NU32v2: A Detailed Look at Programming the PIC32

From Mech
Revision as of 06:47, 17 January 2011 by Lynch (talk | contribs)
Jump to navigationJump to search

After you have programmed your PIC32 for the first time and verified that you can create a new project, compile it, and run it on your NU32v2, it is useful to take a step back and understand the basics of the process, beginning with a PIC32 fresh from the factory. We will do that on this page. We will begin by discussing the virtual memory map of the PIC32.

The PIC32 Memory Map

The PIC32 has a virtual memory layout consisting of 4 GB (four gigabytes, or 2^32 bytes, where each byte equals 8 bits) of addressable memory. All memory regions reside in this virtual memory space at their unique respective addresses. This including (flash) program memory, data memory (RAM), special function registers, and configuration registers (e.g., bits that control the

can execute from data memory

FMT to physical memory. as programmer, only need to know virtual.