File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ;; lpc55s69_debug.cmm
2+ ;;
3+ ;; "make DEBUG_SYMBOLS=1"
4+
5+ RESet
6+ SYStem.RESet
7+ SYStem.CPU LPC55S69JBD100-CPU0
8+ SYStem.CONFIG.DEBUGPORTTYPE SWD
9+ IF COMBIPROBE()||UTRACE()
10+ (
11+ SYStem.CONFIG.CONNECTOR MIPI20T
12+ )
13+ SYStem.Option DUALPORT ON
14+ SYStem.MemAccess DAP
15+ SYStem.JtagClock 10MHz
16+ ITM.OFF
17+ Trace.DISable
18+ break.config.method program onchip
19+ mode.hll
20+
21+ SYStem.Up
22+
23+ ;; STOP in wolfBoot...
24+ data.load "\\wsl.localhost\Ubuntu-22.04\home\tcook\wolf\wolfBoot\wolfboot.elf" /nocode
25+ symbol.sourcepath.TranslateSUBpath "\home\tcook\wolf" "\\wsl.localhost\Ubuntu-22.04\home\tcook\wolf"
26+ Register.Set PC isr_reset
27+ Register.Set MSP END_STACK
28+ break.set main /onchip /temporary
29+ break.set do_boot /onchip /temporary
30+ go
31+
32+ ;; STOP in test-app...
33+ ;; UNCOMMENT the following:
34+ ;;WAIT !STATE.RUN()
35+ ;;data.load "\\wsl.localhost\Ubuntu-22.04\home\tcook\wolf\wolfBoot\test-app\image.elf" /nocode
36+ ;;break.set main /onchip /temporary
37+
38+ go
Original file line number Diff line number Diff line change 1+ ;; lpc55s69_flash_factory_bin.cmm
2+ ;;
3+ ;; "make DEBUG_SYMBOLS=1"
4+
5+ RESet
6+ SYStem.RESet
7+ SYStem.CPU LPC55S69JBD100-CPU0
8+ SYStem.CONFIG.DEBUGPORTTYPE SWD
9+ IF COMBIPROBE()||UTRACE()
10+ (
11+ SYStem.CONFIG.CONNECTOR MIPI20T
12+ )
13+ SYStem.Option DUALPORT ON
14+ SYStem.MemAccess DAP
15+ SYStem.JtagClock 10MHz
16+ ITM.OFF
17+ Trace.DISable
18+
19+ SYStem.Up
20+
21+ DO ~~/demo/arm/flash/lpc55xx PREPAREONLY
22+
23+ flash.erase all
24+ FLASH.ReProgram ALL
25+ Data.LOAD.Binary "\\wsl.localhost\Ubuntu-22.04\home\tcook\wolf\wolfBoot\factory.bin" 0
26+ FLASH.ReProgram OFF
27+
28+ ENDDO
Original file line number Diff line number Diff line change 1+ ;; lpc55s69_flash_update.cmm
2+ ;;
3+ ;; make DEBUG_SYMBOLS=1
4+ ;; then
5+ ;; tools/keytools/sign --ecc384 --sha256 test-app/image.bin wolfboot_signing_private_key.der 2
6+
7+ RESet
8+ SYStem.RESet
9+ SYStem.CPU LPC55S69JBD100-CPU0
10+ SYStem.CONFIG.DEBUGPORTTYPE SWD
11+ IF COMBIPROBE()||UTRACE()
12+ (
13+ SYStem.CONFIG.CONNECTOR MIPI20T
14+ )
15+ SYStem.Option DUALPORT ON
16+ SYStem.MemAccess DAP
17+ SYStem.JtagClock 10MHz
18+ ITM.OFF
19+ Trace.DISable
20+
21+ SYStem.Up
22+
23+ DO ~~/demo/arm/flash/lpc55xx PREPAREONLY
24+
25+ ;; flash.erase all ;; NOT FOR UPDATE
26+ FLASH.ReProgram ALL
27+ Data.LOAD.Binary "\\wsl.localhost\Ubuntu-22.04\home\tcook\wolf\wolfBoot\test-app\image_v2_signed.bin" 0x18000
28+ FLASH.ReProgram OFF
29+
30+ ENDDO
You can’t perform that action at this time.
0 commit comments