>> 3) One feature that I think may make sense to add at some point in the
>> future to the main software is support for label/value associations that
>> allow hexadecimal register values to be associated with more legible and
>> understandable names.  Looking at "mww 0xffff3ec2 0x2" in a configuration
>> script is more likely to introduce mistakes during reuse, then say "mww
>> some_xyz_register 0x2" where the name of the register clues you into what it
>> does or at least where to find it in the datasheet.
>>   
>>     
> Agreed. I wonder if this is already possible now?
>   

set  xyz_register   0xffff3ec2
set abc_magic_value  0x12341234
...

mww $xyz_register $abc_magic_value
#or
mww $xyz_register  0x02

Best regards,
Magnus

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to