Attempts to use pyocd but with target no caps
Removes the caps from the target, from LPC55S69 to lpc55s69 to determine if this
was affecting the debug probe.
Change-Id: If33713e1e1ecc066cdaac40c12da9a3b0f05aeb4
Signed-off-by: Matthew Dalzell <matthew.dalzell@arm.com>
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py
index d1a3419..539f062 100755
--- a/build_helper/build_helper_configs.py
+++ b/build_helper/build_helper_configs.py
@@ -141,29 +141,13 @@
"bin/tfm_s_signed.bin "
"image_signing/scripts/tfm_ns_signed.bin ;"
"popd"),
- "nxp/lpcxpresso55s69": ("echo 'LPCXpresso55S69 board post process\n'; "
+ "nxp/lpcxpresso55s69": "echo 'LPCXpresso55S69 board post process\n'; "
+ "pyocd erase --mass -t lpc55s69 --no-wait; "
"if [ -f \"%(ci_build_root_dir)s/spe/bin/bl2.hex\" ]; then "
- "srec_cat "
- "%(ci_build_root_dir)s/spe/bin/"
- "bl2.bin "
- "-Binary -offset 0x0 "
- "-fill 0xFF 0xA000000 0xA020000 "
- "%(ci_build_root_dir)s/nspe/"
- "tfm_s_ns_signed.bin "
- "-Binary -offset 0x8000 "
- "-fill 0xFF 0xA020000 0xA200000 "
- "-o %(ci_build_root_dir)s/"
- "spe/bin/tfm.hex -Intel "
+ "pyocd flash %(ci_build_root_dir)s/spe/bin/bl2.hex -t lpc55s69 --no-wait; "
+ "pyocd flash %(ci_build_root_dir)s/nspe/bin/tfm_s_ns_signed.bin --base-address 0x8000 -t lpc55s69 --no-wait; "
"else "
- "srec_cat "
- "%(ci_build_root_dir)s/nspe/"
- "tfm_s_ns_signed.bin "
- "-Binary -offset 0x8000 "
- "-fill 0xFF 0xA020000 0xA200000 "
- "-o %(ci_build_root_dir)s/"
- "spe/bin/tfm.hex -Intel "
- "fi;"
- ),
+ "pyocd flash %(ci_build_root_dir)s/spe/bin/tfm_s.hex %(ci_build_root_dir)s/nspe/bin/tfm_ns.hex -t lpc55s69 --no-wait; "
"cypress/psoc64": ("echo 'Sign binaries for Cypress PSoC64 platform';"
"pushd %(codebase_root_dir)s/;"
"sudo /usr/local/bin/cysecuretools "