hw_memmap.h 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /******************************************************************************
  2. * Filename: hw_memmap.h
  3. * Revised: $Date: 2013-04-12 15:10:54 +0200 (Fri, 12 Apr 2013) $
  4. * Revision: $Revision: 9735 $
  5. *
  6. * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
  7. *
  8. *
  9. * Redistribution and use in source and binary forms, with or without
  10. * modification, are permitted provided that the following conditions
  11. * are met:
  12. *
  13. * Redistributions of source code must retain the above copyright
  14. * notice, this list of conditions and the following disclaimer.
  15. *
  16. * Redistributions in binary form must reproduce the above copyright
  17. * notice, this list of conditions and the following disclaimer in the
  18. * documentation and/or other materials provided with the distribution.
  19. *
  20. * Neither the name of Texas Instruments Incorporated nor the names of
  21. * its contributors may be used to endorse or promote products derived
  22. * from this software without specific prior written permission.
  23. *
  24. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  25. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  26. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  27. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  28. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  29. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  30. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  31. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  32. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  33. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  34. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  35. *
  36. ******************************************************************************/
  37. #ifndef __HW_MEMMAP_H__
  38. #define __HW_MEMMAP_H__
  39. //*****************************************************************************
  40. //
  41. // The following are defines for the base address of the memories and
  42. // peripherals on the top_s interface.
  43. //
  44. //*****************************************************************************
  45. #define ROM_BASE 0x00000000 // ROM
  46. #define FLASH_BASE 0x00200000 // Flash
  47. #define SRAM_BASE 0x20000000 // SRAM
  48. #define SRAM_LL_BASE 0x20004000 // SRAM_LL
  49. #define SSI0_BASE 0x40008000 // SSI
  50. #define SSI1_BASE 0x40009000 // SSI
  51. #define UART0_BASE 0x4000C000 // UART
  52. #define UART1_BASE 0x4000D000 // UART
  53. #define I2C_M0_BASE 0x40020000 // I2CM
  54. #define I2C_S0_BASE 0x40020800 // I2CS
  55. #define GPTIMER0_BASE 0x40030000 // GPTIMER
  56. #define GPTIMER1_BASE 0x40031000 // GPTIMER
  57. #define GPTIMER2_BASE 0x40032000 // GPTIMER
  58. #define GPTIMER3_BASE 0x40033000 // GPTIMER
  59. #define RFCORE_RAM_BASE 0x40088000 // SRAM_RFCORE
  60. #define FRMF_SRCM_RAM_BASE 0x40088400 // SRAM_FRMF_SRCM
  61. #define RFCORE_FFSM_BASE 0x40088500 // RFCORE_FFSM
  62. #define RFCORE_XREG_BASE 0x40088600 // RFCORE_XREG
  63. #define RFCORE_SFR_BASE 0x40088800 // RFCORE_SFR
  64. #define USB_BASE 0x40089000 // USB
  65. #define AES_BASE 0x4008B000 // AES
  66. #define SYS_CTRL_BASE 0x400D2000 // SYS_CTRL
  67. #define FLASH_CTRL_BASE 0x400D3000 // FLASH_CTRL
  68. #define IOC_BASE 0x400D4000 // IOC
  69. #define SMWDTHROSC_BASE 0x400D5000 // SMWDTHROSC
  70. #define ANA_REGS_BASE 0x400D6000 // ANA_REGS
  71. #define SOC_ADC_BASE 0x400D7000 // SOC_ADC
  72. #define GPIO_A_BASE 0x400D9000 // GPIO
  73. #define GPIO_B_BASE 0x400DA000 // GPIO
  74. #define GPIO_C_BASE 0x400DB000 // GPIO
  75. #define GPIO_D_BASE 0x400DC000 // GPIO
  76. #define uDMA_BASE 0x400FF000 // UDMA
  77. #define ST_TESTCTRL_BASE 0x40110000 // STTEST
  78. #define PKA_BASE 0x44004000 // PKA
  79. #define PKA_RAM_BASE 0x44006000 // SRAM_PKA
  80. #define CC_TESTCTRL_BASE 0x44010000 // CCTEST
  81. #endif // __HW_MEMMAP_H__