EM35x_EnableReadOutProtection.jflash 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. AppVersion = 60105
  2. FileVersion = 2
  3. [GENERAL]
  4. ConnectMode = 0
  5. CurrentFile = "C:\Temp\Test.mot"
  6. DataFileSAddr = 0x00000000
  7. GUIMode = 0
  8. HostName = ""
  9. TargetIF = 1
  10. USBPort = 0
  11. USBSerialNo = 0x00000000
  12. [JTAG]
  13. IRLen = 0
  14. MultipleTargets = 0
  15. NumDevices = 0
  16. Speed0 = 4000
  17. Speed1 = 4000
  18. TAP_Number = 0
  19. UseAdaptive0 = 0
  20. UseAdaptive1 = 0
  21. UseMaxSpeed0 = 0
  22. UseMaxSpeed1 = 0
  23. [CPU]
  24. NumInitSteps = 1
  25. InitStep0_Action = "Reset"
  26. InitStep0_Value0 = 0x00000000
  27. InitStep0_Value1 = 0x00000000
  28. InitStep0_Comment = "Reset and halt target"
  29. NumExitSteps = 43
  30. ExitStep0_Action = "Comment"
  31. ExitStep0_Value0 = 0x00000000
  32. ExitStep0_Value1 = 0x00000000
  33. ExitStep0_Comment = "Make sure that the flash clock is present"
  34. ExitStep1_Action = "Read 32bit"
  35. ExitStep1_Value0 = 0x40004030
  36. ExitStep1_Value1 = 0x00000000
  37. ExitStep1_Comment = "Read FPEC_CLK_STAT"
  38. ExitStep2_Action = "Var AND"
  39. ExitStep2_Value0 = 0x00000000
  40. ExitStep2_Value1 = 0x00000001
  41. ExitStep2_Comment = ""
  42. ExitStep3_Action = "Var BNE"
  43. ExitStep3_Value0 = 0x00000007
  44. ExitStep3_Value1 = 0x00000000
  45. ExitStep3_Comment = ""
  46. ExitStep4_Action = "Write 32bit"
  47. ExitStep4_Value0 = 0x4000402C
  48. ExitStep4_Value1 = 0x00000001
  49. ExitStep4_Comment = "FPEC_CLK_REQ:"
  50. ExitStep5_Action = "Delay"
  51. ExitStep5_Value0 = 0x00000000
  52. ExitStep5_Value1 = 0x00000032
  53. ExitStep5_Comment = "Wait until clock is stable."
  54. ExitStep6_Action = "Comment"
  55. ExitStep6_Value0 = 0x00000000
  56. ExitStep6_Value1 = 0x00000000
  57. ExitStep6_Comment = "Unlock flash block"
  58. ExitStep7_Action = "Read 32bit"
  59. ExitStep7_Value0 = 0x40008010
  60. ExitStep7_Value1 = 0x00000000
  61. ExitStep7_Comment = "FlashCR"
  62. ExitStep8_Action = "Var AND"
  63. ExitStep8_Value0 = 0x00000000
  64. ExitStep8_Value1 = 0x00000080
  65. ExitStep8_Comment = ""
  66. ExitStep9_Action = "Var BEQ"
  67. ExitStep9_Value0 = 0x0000000C
  68. ExitStep9_Value1 = 0x00000000
  69. ExitStep9_Comment = ""
  70. ExitStep10_Action = "Write 32bit"
  71. ExitStep10_Value0 = 0x40008004
  72. ExitStep10_Value1 = 0x45670123
  73. ExitStep10_Comment = "FLASH_KEY1"
  74. ExitStep11_Action = "Write 32bit"
  75. ExitStep11_Value0 = 0x40008004
  76. ExitStep11_Value1 = 0xCDEF89AB
  77. ExitStep11_Comment = "FLASH_KEY2"
  78. ExitStep12_Action = "Write 32bit"
  79. ExitStep12_Value0 = 0x40008010
  80. ExitStep12_Value1 = 0x00000000
  81. ExitStep12_Comment = ""
  82. ExitStep13_Action = "Comment"
  83. ExitStep13_Value0 = 0x00000000
  84. ExitStep13_Value1 = 0x00000000
  85. ExitStep13_Comment = "Unlock option byte register"
  86. ExitStep14_Action = "Write 32bit"
  87. ExitStep14_Value0 = 0x40008008
  88. ExitStep14_Value1 = 0x45670123
  89. ExitStep14_Comment = "FLASH_KEY1"
  90. ExitStep15_Action = "Write 32bit"
  91. ExitStep15_Value0 = 0x40008008
  92. ExitStep15_Value1 = 0xCDEF89AB
  93. ExitStep15_Comment = "FLASH_KEY2"
  94. ExitStep16_Action = "Comment"
  95. ExitStep16_Value0 = 0x00000000
  96. ExitStep16_Value1 = 0x00000000
  97. ExitStep16_Comment = "Erase option bytes"
  98. ExitStep17_Action = "Read 32bit"
  99. ExitStep17_Value0 = 0x40008010
  100. ExitStep17_Value1 = 0x00000000
  101. ExitStep17_Comment = "FLASH_CR"
  102. ExitStep18_Action = "Var OR"
  103. ExitStep18_Value0 = 0x00000000
  104. ExitStep18_Value1 = 0x00000200
  105. ExitStep18_Comment = "Set FLASH_OPTWRE"
  106. ExitStep19_Action = "Var Write 32bit"
  107. ExitStep19_Value0 = 0x40008010
  108. ExitStep19_Value1 = 0x00000000
  109. ExitStep19_Comment = ""
  110. ExitStep20_Action = "Read 32bit"
  111. ExitStep20_Value0 = 0x40008010
  112. ExitStep20_Value1 = 0x00000000
  113. ExitStep20_Comment = "FLASH_CR"
  114. ExitStep21_Action = "Var OR"
  115. ExitStep21_Value0 = 0x00000000
  116. ExitStep21_Value1 = 0x00000020
  117. ExitStep21_Comment = "Set FLASH_OPTER"
  118. ExitStep22_Action = "Var Write 32bit"
  119. ExitStep22_Value0 = 0x40008010
  120. ExitStep22_Value1 = 0x00000000
  121. ExitStep22_Comment = ""
  122. ExitStep23_Action = "Read 32bit"
  123. ExitStep23_Value0 = 0x40008010
  124. ExitStep23_Value1 = 0x00000000
  125. ExitStep23_Comment = "FLASH_CR"
  126. ExitStep24_Action = "Var OR"
  127. ExitStep24_Value0 = 0x00000000
  128. ExitStep24_Value1 = 0x00000040
  129. ExitStep24_Comment = "Set FLASH_STRT"
  130. ExitStep25_Action = "Var Write 32bit"
  131. ExitStep25_Value0 = 0x40008010
  132. ExitStep25_Value1 = 0x00000000
  133. ExitStep25_Comment = ""
  134. ExitStep26_Action = "Comment"
  135. ExitStep26_Value0 = 0x00000000
  136. ExitStep26_Value1 = 0x00000000
  137. ExitStep26_Comment = "Wait while busy"
  138. ExitStep27_Action = "Read 32bit"
  139. ExitStep27_Value0 = 0x4000800C
  140. ExitStep27_Value1 = 0x00000000
  141. ExitStep27_Comment = "FLASH_SR"
  142. ExitStep28_Action = "Var AND"
  143. ExitStep28_Value0 = 0x00000000
  144. ExitStep28_Value1 = 0x00000001
  145. ExitStep28_Comment = "FLASH_BSY is set?"
  146. ExitStep29_Action = "Var BNE"
  147. ExitStep29_Value0 = 0x0000001B
  148. ExitStep29_Value1 = 0x00000000
  149. ExitStep29_Comment = ""
  150. ExitStep30_Action = "Comment"
  151. ExitStep30_Value0 = 0x00000000
  152. ExitStep30_Value1 = 0x00000000
  153. ExitStep30_Comment = "Reset FLASH_OPTWRE and FLASH_OPTER; Set FLASH_LOCK"
  154. ExitStep31_Action = "Read 32bit"
  155. ExitStep31_Value0 = 0x40008010
  156. ExitStep31_Value1 = 0x00000000
  157. ExitStep31_Comment = "FLASH_CR"
  158. ExitStep32_Action = "Var AND"
  159. ExitStep32_Value0 = 0x00000000
  160. ExitStep32_Value1 = 0xFFFFFDFF
  161. ExitStep32_Comment = "Clear FLASH_OPTWRE"
  162. ExitStep33_Action = "Var Write 32bit"
  163. ExitStep33_Value0 = 0x40008010
  164. ExitStep33_Value1 = 0x00000000
  165. ExitStep33_Comment = ""
  166. ExitStep34_Action = "Read 32bit"
  167. ExitStep34_Value0 = 0x40008010
  168. ExitStep34_Value1 = 0x00000000
  169. ExitStep34_Comment = "FLASH_CR"
  170. ExitStep35_Action = "Var AND"
  171. ExitStep35_Value0 = 0x00000000
  172. ExitStep35_Value1 = 0xFFFFFFDF
  173. ExitStep35_Comment = "Clear FLASH_OPTER"
  174. ExitStep36_Action = "Var Write 32bit"
  175. ExitStep36_Value0 = 0x40008010
  176. ExitStep36_Value1 = 0x00000000
  177. ExitStep36_Comment = ""
  178. ExitStep37_Action = "Read 32bit"
  179. ExitStep37_Value0 = 0x40008010
  180. ExitStep37_Value1 = 0x00000000
  181. ExitStep37_Comment = "FLASH_CR"
  182. ExitStep38_Action = "Var OR"
  183. ExitStep38_Value0 = 0x00000000
  184. ExitStep38_Value1 = 0x00000080
  185. ExitStep38_Comment = "Set FLASH_LOCK"
  186. ExitStep39_Action = "Var Write 32bit"
  187. ExitStep39_Value0 = 0x40008010
  188. ExitStep39_Value1 = 0x00000000
  189. ExitStep39_Comment = ""
  190. ExitStep40_Action = "Read 32bit"
  191. ExitStep40_Value0 = 0x4000800C
  192. ExitStep40_Value1 = 0x00000000
  193. ExitStep40_Comment = "FLASH_SR"
  194. ExitStep41_Action = "Var AND"
  195. ExitStep41_Value0 = 0x00000000
  196. ExitStep41_Value1 = 0x00000001
  197. ExitStep41_Comment = "FLASH_BSY is set?"
  198. ExitStep42_Action = "Var BNE"
  199. ExitStep42_Value0 = 0x00000028
  200. ExitStep42_Value1 = 0x00000000
  201. ExitStep42_Comment = ""
  202. UseScriptFile = 0
  203. ScriptFile = ""
  204. UseRAM = 1
  205. RAMAddr = 0x20000000
  206. RAMSize = 0x00003000
  207. CheckCoreID = 1
  208. CoreID = 0x3BA00477
  209. CoreIDMask = 0x0F000FFF
  210. UseAutoSpeed = 0x00000001
  211. ClockSpeed = 0x00000000
  212. EndianMode = 0
  213. ChipName = "Ember EM351"
  214. [FLASH]
  215. aRangeSel[1] = 0-63
  216. BankName = "Internal flash"
  217. BankSelMode = 1
  218. BaseAddr = 0x08000000
  219. NumBanks = 1
  220. [PRODUCTION]
  221. AutoBlankCheck = 1
  222. AutoDisconnect = 0
  223. AutoMode = 0
  224. AutoPerformsErase = 1
  225. AutoPerformsProgram = 1
  226. AutoPerformsSecure = 0
  227. AutoPerformsStartApp = 0
  228. AutoPerformsUnsecure = 0
  229. AutoPerformsVerify = 1
  230. EnableTargetPower = 0
  231. EraseType = 2
  232. MonitorVTref = 0
  233. MonitorVTrefMax = 0x0000157C
  234. MonitorVTrefMin = 0x000003E8
  235. OverrideTimeouts = 0
  236. ProgramSN = 0
  237. SerialFile = ""
  238. SkipBlankOnRead = 0
  239. SNAddr = 0x00000000
  240. SNInc = 0x00000001
  241. SNLen = 0x00000004
  242. SNListFile = ""
  243. SNValue = 0x00000001
  244. StartAppType = 0
  245. TargetPowerDelay = 0x00000014
  246. TimeoutErase = 0x00003A98
  247. TimeoutProgram = 0x00002710
  248. TimeoutVerify = 0x00002710
  249. VerifyType = 1