/* a non-invasive way(in terms of patches) to add some code that
* runs before the type->write/read_memory implementation
*/
...
...
@@ -1538,6 +1604,9 @@ int target_register_user_commands(struct command_context_s *cmd_ctx)
register_jim(cmd_ctx,"ocd_mem2array",jim_mem2array,"read memory and return as a TCL array for script processing <ARRAYNAME> <WIDTH = 32/16/8> <ADDRESS> <COUNT>");
register_jim(cmd_ctx,"ocd_array2mem",jim_array2mem,"convert a TCL array to memory locations and write the values <ARRAYNAME> <WIDTH = 32/16/8> <ADDRESS> <COUNT>");