Hi,

I hope that somebody can help with this problem:

A target script defines a "reset-end" handler. In this handler I need to read a 
few words from target memory. When I try to use "ocd_mem2array", the command 
fails with
Error: 357 1442 target.c:3106 jim_mem2array(): mem2array: no command context

The same command works fine on the telnet prompt.

Is this command supposed to work in the "reset-end" event handler?
If not, is there an alternative?
I've tried mdw, but this seems to just print the values, not return them as a 
result.

Recently there has been a similar complaint from Alexei about the "mcr"/"mrc" 
commands, but I haven't seen a solution for it. Those commands are jim_handler 
commands just like mem2array.

Regards,
Rolf



__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to