On 19/11/2021 16:42, Antonio Borneo wrote:
I would not bet on the correctness of my scripts, but the output is
already helpful.
Well done, Antonio!
Some command are documented in a group and should not be in your list, e.g.
flash fillw
flash fillh
flash fillb
flash mdb
flash mdh
mdw
mdh
mdb
mww
mwh
mwb
https://openocd.org/doc/html/Flash-Commands.html#index-flash-writing
https://openocd.org/doc/html/General-Commands.html#index-memory-access
Perhaps we should not waste time on
testee hello
testee foo bar
testee foo baz
testee foo flag
IIRC the nds32 code almost completely lacks error testing,
is full of warnings from static analyser... I propose the reverse approach:
mark the target as deprecated in 0.12 and eventually remove it in a
future release.
nds dssim
nds mem_access
nds mem_mode
nds cache
nds icache
nds dcache
nds auto_break
nds virtual_hosting
nds global_stop
nds soft_reset_halt
nds boot_time
nds login_edm_passcode
nds login_edm_operation
nds reset_halt_as_init
nds keep_target_edm_ctl
nds decode
nds word_access_mem
nds bulk_write
nds multi_write
nds bulk_read
nds read_edmsr
nds write_edmsr
nds query target
nds query endian
nds query cpuid
Is a point in documenting internal commands? E.g.
flash init
swo init
jtag init
target init
Perhaps we can just mention them in description
of 'init' (which is also a false alarm from your script)
I'll resolve these:
atsamv gpnvm
kinetis_ke mdm test_securing
at91samd info
nrf51 mass_erase
nrf51 info
nrf51 mass_erase
nrf51 info
wait_halt
cmsis-dap cmd
Tom