DSP2803x_CSMPasswords.asm 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. ;//###########################################################################
  2. ;//
  3. ;// FILE: DSP2803x_CSMPasswords.asm
  4. ;//
  5. ;// TITLE: DSP2803x Code Security Module Passwords.
  6. ;//
  7. ;// DESCRIPTION:
  8. ;//
  9. ;// This file is used to specify password values to
  10. ;// program into the CSM password locations in Flash
  11. ;// at 0x3F7FF8 - 0x3F7FFF.
  12. ;//
  13. ;// In addition, the reserved locations 0x3F7F80 - 0X3f7ff5 are
  14. ;// all programmed to 0x0000
  15. ;//
  16. ;//###########################################################################
  17. ;//
  18. ;// Original source based on D.A.
  19. ;//
  20. ;// $TI Release: F2803x C/C++ Header Files and Peripheral Examples V130 $
  21. ;// $Release Date: May 8, 2015 $
  22. ;// $Copyright: Copyright (C) 2009-2015 Texas Instruments Incorporated -
  23. ;// http://www.ti.com/ ALL RIGHTS RESERVED $
  24. ;//###########################################################################
  25. ; The "csmpasswords" section contains the actual CSM passwords that will be
  26. ; linked and programmed into to the CSM password locations (PWL) in flash.
  27. ; These passwords must be known in order to unlock the CSM module.
  28. ; All 0xFFFF's (erased) is the default value for the password locations (PWL).
  29. ; It is recommended that all passwords be left as 0xFFFF during code
  30. ; development. Passwords of 0xFFFF do not activate code security and dummy
  31. ; reads of the CSM PWL registers is all that is required to unlock the CSM.
  32. ; When code development is complete, modify the passwords to activate the
  33. ; code security module.
  34. .sect "csmpasswds"
  35. .int 0xFFFF ;PWL0 (LSW of 128-bit password)
  36. .int 0xFFFF ;PWL1
  37. .int 0xFFFF ;PWL2
  38. .int 0xFFFF ;PWL3
  39. .int 0xFFFF ;PWL4
  40. .int 0xFFFF ;PWL5
  41. .int 0xFFFF ;PWL6
  42. .int 0xFFFF ;PWL7 (MSW of 128-bit password)
  43. ;----------------------------------------------------------------------
  44. ; For code security operation, all addresses between 0x3F7F80 and
  45. ; 0X3f7ff5 cannot be used as program code or data. These locations
  46. ; must be programmed to 0x0000 when the code security password locations
  47. ; (PWL) are programmed. If security is not a concern, then these addresses
  48. ; can be used for code or data.
  49. ; The section "csm_rsvd" can be used to program these locations to 0x0000.
  50. .sect "csm_rsvd"
  51. .loop (3F7FF5h - 3F7F80h + 1)
  52. .int 0x0000
  53. .endloop
  54. ;//===========================================================================
  55. ;// End of file.
  56. ;//===========================================================================