mirror of https://github.com/wolfSSL/wolfBoot.git
29 lines
526 B
Plaintext
29 lines
526 B
Plaintext
;; lpc55s69_flash_factory_bin.cmm
|
|
|
|
&basedir="\\wsl.localhost\Ubuntu-22.04\home\tcook\wolf\wolfBoot"
|
|
|
|
RESet
|
|
SYStem.RESet
|
|
SYStem.CPU LPC55S69JBD100-CPU0
|
|
SYStem.CONFIG.DEBUGPORTTYPE SWD
|
|
IF COMBIPROBE()||UTRACE()
|
|
(
|
|
SYStem.CONFIG.CONNECTOR MIPI20T
|
|
)
|
|
SYStem.Option DUALPORT ON
|
|
SYStem.MemAccess DAP
|
|
SYStem.JtagClock 10MHz
|
|
ITM.OFF
|
|
Trace.DISable
|
|
|
|
SYStem.Up
|
|
|
|
DO ~~/demo/arm/flash/lpc55xx PREPAREONLY
|
|
|
|
flash.erase all
|
|
FLASH.ReProgram ALL
|
|
Data.LOAD.Binary "&basedir\factory.bin" 0
|
|
FLASH.ReProgram OFF
|
|
|
|
ENDDO
|