summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/at91uc3
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-10-07 01:58:16 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-10-07 01:58:16 +0000
commit038e709618a3dd2f94a89e70e012faf95635632b (patch)
tree56268f96db7076c37189e3f2a196a78e154690fc /nuttx/arch/avr/src/at91uc3
parente00c9747eec3d32371de1c980ba6c9ac6f942a62 (diff)
downloadpx4-nuttx-038e709618a3dd2f94a89e70e012faf95635632b.tar.gz
px4-nuttx-038e709618a3dd2f94a89e70e012faf95635632b.tar.bz2
px4-nuttx-038e709618a3dd2f94a89e70e012faf95635632b.zip
Add memorymap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2972 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/at91uc3')
-rwxr-xr-xnuttx/arch/avr/src/at91uc3/at91uc3_memorymap.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/nuttx/arch/avr/src/at91uc3/at91uc3_memorymap.h b/nuttx/arch/avr/src/at91uc3/at91uc3_memorymap.h
index 71a48de8b..dc5997231 100755
--- a/nuttx/arch/avr/src/at91uc3/at91uc3_memorymap.h
+++ b/nuttx/arch/avr/src/at91uc3/at91uc3_memorymap.h
@@ -46,6 +46,22 @@
* Pre-processor Definitions
************************************************************************************/
+/* Physical memory map */
+
+#define AVR32_ONCHIP_FLASH_BASE 0x80000000 /* 512Kb Flash Array */
+# define AVR32_APPL_BASE 0x80002000 /* 8Kb offset to application w/bootloader */
+#define AVR32_USER_FLASH_BASE 0x80800000 /* Flash User Page */
+# define AVR32_BTLDR_CONFIG 0x808001fc /* Bootloader configuration word */
+
+/* Memory map for systems without an MMU */
+
+#define AVR32_P1_BASE 0x80000000 /* 512MB non-translated space, cacheable */
+#define AVR32_P2_BASE 0xa0000000 /* 512MB non-translated space, non-cacheable */
+#define AVR32_P3_BASE 0xc0000000 /* 512MB translated space, cacheable */
+#define AVR32_P4_BASE 0xe0000000 /* 512MB system space, non-cacheable */
+
+
+
/************************************************************************************
* Public Types
************************************************************************************/