On Wednesday 31 March 2010, Alexei Babich wrote:
> From: 
> Alexei Babich <[email protected]>  (Rezonans plc.)
>   To: 
> [email protected]
>   Date: 
> Today 1:14:51 am
>    
> Hello everyone.
> Sorry for the stupid question.
> When I run the Open On-Chip Debugger 0.5.0-dev-00141-g33e5dd1 and connect via 
> telnet to it, I run the command 'help arm', which shows, in particular:
> ---
> arm mcr cpnum op1 CRn op2 CRm value
>         write coprocessor register
> ---
> 
> In the OpenOCD manual written otherwise, as I understand it:
> ---
> arm mcr pX op1 CRn CRm op2 value
> ---
> 
> The order of arguments is different?


There *should* be a single order, matching the ARM Architecture Reference 
Manual,
which says (v7A/AR edition)
MCR<c> <coproc>,<opc1>,<Rt>,<CRn>,<CRm>{,<opc2>}

However, the OpenOCD code has suffered confusion on that point.  At on point I
counted no less then three different orders for those parameters, some of which
appeared to be essentially random..

It would appear that the confusion isn't entirely resolved yet; sigh.

DO you know if the bug is just in documentation, or also in code?

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to