Difference between revisions of "NU32v2: A Detailed Look at Programming the PIC32"

From Mech
Jump to navigationJump to search
(New page: After you have programmed your PIC32 for the first time and verified that you can create a new project, compile it, and run ...)
 
Line 1: Line 1:
After you have [[NU32v2: Starting a New Project and Putting it on the NU32v2|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.
After you have [[NU32v2: Starting a New Project and Putting it on the NU32v2|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 =
= Section 1 =


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
== Section 1.1 ==


can execute from data memory
=== Section 1.1.1 ===

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

Revision as of 06:47, 17 January 2011

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.