2837xD_dcsm_lnk_cpu2.cmd 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. * NOTEG - please note fill=0xFFFF, this helps if users include this file in the project by mistake and
  7. * doesn't provide the needed *_ZoneSelectBlock.asm sources.
  8. * Please refer to the Blinky DCSM example in the controlsuite examples for proper usage of this.
  9. */
  10. MEMORY
  11. {
  12. PAGE 0 : /* Program Memory */
  13. /* Part of Z1 OTP. LinkPointers/PSWD LOCK/CRC LOCK/JTAG lock/ Boot Ctrl */
  14. DCSM_OTP_Z1_P0 : origin = 0x78000, length = 0x000020
  15. /* Part of Z2 OTP. LinkPointers/PSWD LOCK/CRC LOCK/JTAG lock/ Boot Ctrl */
  16. DCSM_OTP_Z2_P0 : origin = 0x78200, length = 0x000020
  17. /* DCSM Z1 Zone Select Contents (!!Movable!!) */
  18. /* Part of Z1 OTP. Z1 password locations / Flash and RAM partitioning */
  19. DCSM_ZSEL_Z1_P0 : origin = 0x78020, length = 0x000010
  20. /* DCSM Z1 Zone Select Contents (!!Movable!!) */
  21. /* Part of Z2 OTP. Z2 password locations / Flash and RAM partitioning */
  22. DCSM_ZSEL_Z2_P0 : origin = 0x78220, length = 0x000010
  23. }
  24. SECTIONS
  25. {
  26. dcsm_otp_z1 : > DCSM_OTP_Z1_P0, PAGE = 0, type = DSECT
  27. dcsm_otp_z2 : > DCSM_OTP_Z2_P0, PAGE = 0, type = DSECT
  28. dcsm_zsel_z1 : > DCSM_ZSEL_Z1_P0, PAGE = 0, type = DSECT
  29. dcsm_zsel_z2 : > DCSM_ZSEL_Z2_P0, PAGE = 0, type = DSECT
  30. }
  31. /*
  32. //===========================================================================
  33. // End of file.
  34. //===========================================================================
  35. */