Skip to content

Commit a1f3d3a

Browse files
committed
clean up lauterbach scripts
1 parent 9ee0f82 commit a1f3d3a

3 files changed

Lines changed: 14 additions & 16 deletions

File tree

tools/scripts/lpc55s69/lpc55s69_debug.cmm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;; lpc55s69_debug.cmm
2-
;;
3-
;; "make DEBUG_SYMBOLS=1"
2+
3+
&basedir="\\wsl.localhost\Ubuntu-22.04\home\tcook\wolf\wolfBoot"
44

55
RESet
66
SYStem.RESet
@@ -21,8 +21,8 @@ mode.hll
2121
SYStem.Up
2222

2323
;; 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"
24+
data.load "&basedir\wolfboot.elf" /nocode
25+
symbol.sourcepath.TranslateSUBpath "\home\tcook\wolf\wolfBoot" "&basedir"
2626
Register.Set PC isr_reset
2727
Register.Set MSP END_STACK
2828
break.set main /onchip /temporary
@@ -31,8 +31,8 @@ go
3131

3232
;; STOP in test-app...
3333
;; 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
34+
WAIT !STATE.RUN()
35+
data.load "&basedir\test-app\image.elf" /nocode
36+
;break.set wc_InitRng_ex /onchip /temporary
3737

3838
go

tools/scripts/lpc55s69/lpc55s69_flash_factory_bin.cmm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;; lpc55s69_flash_factory_bin.cmm
2-
;;
3-
;; "make DEBUG_SYMBOLS=1"
2+
3+
&basedir="\\wsl.localhost\Ubuntu-22.04\home\tcook\wolf\wolfBoot"
44

55
RESet
66
SYStem.RESet
@@ -22,7 +22,7 @@ DO ~~/demo/arm/flash/lpc55xx PREPAREONLY
2222

2323
flash.erase all
2424
FLASH.ReProgram ALL
25-
Data.LOAD.Binary "\\wsl.localhost\Ubuntu-22.04\home\tcook\wolf\wolfBoot\factory.bin" 0
25+
Data.LOAD.Binary "&basedir\factory.bin" 0
2626
FLASH.ReProgram OFF
2727

2828
ENDDO

tools/scripts/lpc55s69/lpc55s69_flash_update.cmm

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
;; 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
2+
3+
&basedir="\\wsl.localhost\Ubuntu-22.04\home\tcook\wolf\wolfBoot"
64

75
RESet
86
SYStem.RESet
@@ -22,9 +20,9 @@ SYStem.Up
2220

2321
DO ~~/demo/arm/flash/lpc55xx PREPAREONLY
2422

25-
;; flash.erase all ;; NOT FOR UPDATE
23+
2624
FLASH.ReProgram ALL
27-
Data.LOAD.Binary "\\wsl.localhost\Ubuntu-22.04\home\tcook\wolf\wolfBoot\test-app\image_v2_signed.bin" 0x18000
25+
Data.LOAD.Binary "&basedir\test-app\image_v2_signed.bin" 0x18000
2826
FLASH.ReProgram OFF
2927

3028
ENDDO

0 commit comments

Comments
 (0)