- Edited
@AchimKraus if you can replicate how to cause pyocd
to see AppProtect enabled please let me know. It happens here occasionally but I haven’t seen it consistently enough.
feather-tester-software on main [$!?⇡] via
v3.10.12 (env) via
v1.80.0 took 10s
❯ pyocd load --target nRF9160_xxAA --format hex _bin/v5-2-ga33aa1f-fast-blink.hex
0000859 W Skipping CoreSight discovery for AHB-AP#1 because it is disabled [ap]
0000897 I Loading /home/jaredwolff/Git/feather-tester-software/_bin/v5-2-ga33aa1f-fast-blink.hex [load_cmd]
[==================================================] 100%
0004822 I Erased 0 bytes (0 sectors), programmed 0 bytes (0 pages), skipped 176128 bytes (43 pages) at 44.60 kB/s [loader]
feather-tester-software on main [$!?⇡] via
v3.10.12 (env) via
v1.80.0 took 9s
❯ pyocd reset --target nrf9160_xxaa
0000849 W Skipping CoreSight discovery for AHB-AP#1 because it is disabled [ap]
feather-tester-software on main [$!?⇡] via
v3.10.12 (env) via
v1.80.0 took 6s
❯ pyocd load --target nRF9160_xxAA --format hex _bin/v5-2-ga33aa1f-fast-blink.hex
0000858 W Skipping CoreSight discovery for AHB-AP#1 because it is disabled [ap]
0000896 I Loading /home/jaredwolff/Git/feather-tester-software/_bin/v5-2-ga33aa1f-fast-blink.hex [load_cmd]
[==================================================] 100%
0004812 I Erased 0 bytes (0 sectors), programmed 0 bytes (0 pages), skipped 176128 bytes (43 pages) at 44.70 kB/s [loader]
One other option is to use probe-rs
instead. I’m currently testing transitioning it fully for factory test/programming. I just ported over the MFW upgrade procedure to Rust as well and it seems to be working OK.