2837xD_dcsm_lnk_cpu1.cmd 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /* this linker command file is to be included if user wants to use the DCSM feature on the device
  2. * DCSM means Dual Zone Code Security Module.
  3. * This linker command file works as an addendum ot the already existing Flash/RAM linker command file
  4. * that the project has.
  5. * The sections in the *_ZoneSelectBlock.asm source file is linked as per the commands given in the file
  6. * NOTE - please note fill=0xFFFF, this helps if users include this file in the project by mistake and
  7. * doesn't provide the needed proper *_ZoneSelectBlock.asm sources .
  8. * Please refer to the Blinky DCSM example in the controlsuite examples for proper usage of this.
  9. *
  10. * Once users are confident that they want to program the passwords in OTP, the DSECT section type can be removed.
  11. *
  12. */
  13. MEMORY
  14. {
  15. PAGE 0 : /* Program Memory */
  16. /* Z1 OTP. LinkPointers */
  17. DCSM_OTP_Z1_LINKPOINTER : origin = 0x78000, length = 0x00000C
  18. /* Z1 OTP. PSWDLOCK/RESERVED */
  19. DCSM_OTP_Z1_PSWDLOCK : origin = 0x78010, length = 0x000004
  20. /* Z1 OTP. CRCLOCK/RESERVED */
  21. DCSM_OTP_Z1_CRCLOCK : origin = 0x78014, length = 0x000004
  22. /* Z1 OTP. RESERVED/BOOTCTRL */
  23. DCSM_OTP_Z1_BOOTCTRL : origin = 0x7801C, length = 0x000004
  24. /* DCSM Z1 Zone Select Contents (!!Movable!!) */
  25. /* Z1 OTP. Z1 password locations / Flash and RAM partitioning */
  26. DCSM_ZSEL_Z1_P0 : origin = 0x78020, length = 0x000010
  27. /* Z2 OTP. LinkPointers */
  28. DCSM_OTP_Z2_LINKPOINTER : origin = 0x78200, length = 0x00000C
  29. /* Z2 OTP. GPREG1/GPREG2 */
  30. DCSM_OTP_Z2_GPREG : origin = 0x7820C, length = 0x000004
  31. /* Z2 OTP. PSWDLOCK/RESERVED */
  32. DCSM_OTP_Z2_PSWDLOCK : origin = 0x78210, length = 0x000004
  33. /* Z2 OTP. CRCLOCK/RESERVED */
  34. DCSM_OTP_Z2_CRCLOCK : origin = 0x78214, length = 0x000004
  35. /* Z2 OTP. GPREG3/BOOTCTRL */
  36. DCSM_OTP_Z2_BOOTCTRL : origin = 0x7821C, length = 0x000004
  37. /* DCSM Z1 Zone Select Contents (!!Movable!!) */
  38. /* Z2 OTP. Z2 password locations / Flash and RAM partitioning */
  39. DCSM_ZSEL_Z2_P0 : origin = 0x78220, length = 0x000010
  40. }
  41. SECTIONS
  42. {
  43. dcsm_otp_z1_linkpointer : > DCSM_OTP_Z1_LINKPOINTER PAGE = 0, type = DSECT
  44. dcsm_otp_z1_pswdlock : > DCSM_OTP_Z1_PSWDLOCK PAGE = 0, type = DSECT
  45. dcsm_otp_z1_crclock : > DCSM_OTP_Z1_CRCLOCK PAGE = 0, type = DSECT
  46. dcsm_otp_z1_bootctrl : > DCSM_OTP_Z1_BOOTCTRL PAGE = 0, type = DSECT
  47. dcsm_zsel_z1 : > DCSM_ZSEL_Z1_P0 PAGE = 0, type = DSECT
  48. dcsm_otp_z2_linkpointer : > DCSM_OTP_Z2_LINKPOINTER PAGE = 0, type = DSECT
  49. dcsm_otp_z2_pswdlock : > DCSM_OTP_Z2_PSWDLOCK PAGE = 0, type = DSECT
  50. dcsm_otp_z2_crclock : > DCSM_OTP_Z2_CRCLOCK PAGE = 0, type = DSECT
  51. dcsm_otp_z2_bootctrl : > DCSM_OTP_Z2_BOOTCTRL PAGE = 0, type = DSECT
  52. dcsm_zsel_z2 : > DCSM_ZSEL_Z2_P0 PAGE = 0, type = DSECT
  53. }
  54. /*
  55. //===========================================================================
  56. // End of file.
  57. //===========================================================================
  58. */