2837xD_RAM_SGEN_lnk_cpu1.cmd 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. MEMORY
  2. {
  3. PAGE 0 :
  4. /* BEGIN is used for the "boot to SARAM" bootloader mode */
  5. BEGIN : origin = 0x000000, length = 0x000002
  6. RAMM0 : origin = 0x000122, length = 0x0002DE
  7. RAMD0 : origin = 0x00B000, length = 0x000800
  8. RAMLS0 : origin = 0x008000, length = 0x000800
  9. RAMLS1 : origin = 0x008800, length = 0x000800
  10. RAMLS2 : origin = 0x009000, length = 0x000800
  11. RAMLS3 : origin = 0x009800, length = 0x000800
  12. RAMLS4 : origin = 0x00A000, length = 0x000800
  13. RESET : origin = 0x3FFFC0, length = 0x000002
  14. PAGE 1 :
  15. BOOT_RSVD : origin = 0x000002, length = 0x000120 /* Part of M0, BOOT rom will use this for stack */
  16. RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
  17. RAMD1 : origin = 0x00B800, length = 0x000800
  18. RAMLS5 : origin = 0x00A800, length = 0x000800
  19. RAMGS0 : origin = 0x00C000, length = 0x001000
  20. RAMGS1 : origin = 0x00D000, length = 0x001000
  21. RAMGS2 : origin = 0x00E000, length = 0x001000
  22. RAMGS3 : origin = 0x00F000, length = 0x001000
  23. RAMGS4 : origin = 0x010000, length = 0x001000
  24. RAMGS5 : origin = 0x011000, length = 0x001000
  25. RAMGS6 : origin = 0x012000, length = 0x001000
  26. RAMGS7 : origin = 0x013000, length = 0x001000
  27. RAMGS8 : origin = 0x014000, length = 0x001000
  28. RAMGS9 : origin = 0x015000, length = 0x001000
  29. RAMGS10 : origin = 0x016000, length = 0x001000
  30. RAMGS11 : origin = 0x017000, length = 0x001000
  31. RAMGS12 : origin = 0x018000, length = 0x001000 /* Only Available on F28379D, F28377D, F28375D devices. Remove line on other devices. */
  32. RAMGS13 : origin = 0x019000, length = 0x001000 /* Only Available on F28379D, F28377D, F28375D devices. Remove line on other devices. */
  33. RAMGS14 : origin = 0x01A000, length = 0x001000 /* Only Available on F28379D, F28377D, F28375D devices. Remove line on other devices. */
  34. RAMGS15 : origin = 0x01B000, length = 0x001000 /* Only Available on F28379D, F28377D, F28375D devices. Remove line on other devices. */
  35. CPU2TOCPU1RAM : origin = 0x03F800, length = 0x000400
  36. CPU1TOCPU2RAM : origin = 0x03FC00, length = 0x000400
  37. }
  38. SECTIONS
  39. {
  40. codestart : > BEGIN, PAGE = 0
  41. .text : >>RAMM0 | RAMD0 | RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMLS4, PAGE = 0
  42. .cinit : > RAMM0, PAGE = 0
  43. .pinit : > RAMM0, PAGE = 0
  44. .switch : > RAMM0, PAGE = 0
  45. .reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */
  46. .stack : > RAMM1, PAGE = 1
  47. .ebss : > RAMLS5, PAGE = 1
  48. .econst : > RAMLS5, PAGE = 1
  49. .esysmem : > RAMLS5, PAGE = 1
  50. Filter_RegsFile : > RAMGS0, PAGE = 1
  51. ramgs0 : > RAMGS0, PAGE = 1
  52. ramgs1 : > RAMGS1, PAGE = 1
  53. .cio : > RAMGS2, PAGE = 1
  54. #ifdef __TI_COMPILER_VERSION__
  55. #if __TI_COMPILER_VERSION__ >= 15009000
  56. .TI.ramfunc : {} > RAMM0, PAGE = 0
  57. #else
  58. ramfuncs : > RAMM0 PAGE = 0
  59. #endif
  60. #endif
  61. /* Sine Table */
  62. SINTBL : > RAMGS2, PAGE = 1
  63. /* Data Log */
  64. DLOG : > RAMGS3, PAGE = 1
  65. /* The following section definitions are required when using the IPC API Drivers */
  66. GROUP : > CPU1TOCPU2RAM, PAGE = 1
  67. {
  68. PUTBUFFER
  69. PUTWRITEIDX
  70. GETREADIDX
  71. }
  72. GROUP : > CPU2TOCPU1RAM, PAGE = 1
  73. {
  74. GETBUFFER : TYPE = DSECT
  75. GETWRITEIDX : TYPE = DSECT
  76. PUTREADIDX : TYPE = DSECT
  77. }
  78. /* The following section definition are for SDFM examples */
  79. Filter1_RegsFile : > RAMGS1, PAGE = 1, fill=0x1111
  80. Filter2_RegsFile : > RAMGS2, PAGE = 1, fill=0x2222
  81. Filter3_RegsFile : > RAMGS3, PAGE = 1, fill=0x3333
  82. Filter4_RegsFile : > RAMGS4, PAGE = 1, fill=0x4444
  83. Difference_RegsFile : >RAMGS5, PAGE = 1, fill=0x3333
  84. }
  85. /*
  86. //===========================================================================
  87. // End of file.
  88. //===========================================================================
  89. */