On Fri, Feb 17, 2012 at 9:21 PM,  <jana1...@centrum.cz> wrote:
> Drasko ,
> Thank you for your reply.
>
>> Yes and no.
>> mwh stands for "memory write half (word)", i.e.16 bits, i.e. 2 bytes (not 4
>> as you mentioned).
> do you mean  mwh should  display  4 characters because each character are 4 
> bits?
> Is it so?

One character is one byte, or 8 bits.
mdh displays half-word, or 2 bytes, or 16 bits.

>
>>
>> Did you suceed to halt your processor ? If yes, how ? Where was your error
>> ? Please share this information for the documentation purposes.
>
> I posted bugs I received when trying  my MIPS CPU to enter debug mode. But no 
> response
> from the developer
> (Who wrote the programs  for MIPS CPU support of OpenOCD?)
>  so
> I started using  my own program, inspired by HairyDairyMaid's program
> which uses
> PRACC | PROBEN | SETDEV | JTAGBRK
> masks to bring CPU into Debug mode
>
> and also
> PRRST | PERRST
> before the above  to halt CPU
>
>
> #define TOF             (1 << 1 )
> #define TIF             (1 << 2 )
> #define BRKST           (1 << 3 )
> #define DLOCK           (1 << 5 )
> #define DRWN            (1 << 9 )
> #define DERR            (1 << 10)
> #define DSTRT           (1 << 11)
> #define JTAGBRK         (1 << 12)
> #define SETDEV          (1 << 14)
> #define PROBTRAP        (1 << 14)
> #define PROBEN          (1 << 15)
> #define PRRST           (1 << 16)
> #define DMAACC          (1 << 17)
> #define PRACC           (1 << 18)
> #define PRNW            (1 << 19)
> #define PERRST          (1 << 20)
> #define HALT            (1 << 21)
> #define DOZE            (1 << 22)
> #define SYNC            (1 << 23)
> #define DNM             (1 << 28)
> #define ROCC            (1 << 31)
>
> And that brings CPU into Debug mode nicely.

I do not get it... Do you use OpenOCD to debug your programs ?
If you use mwh, etc, I guess you do, so did you halt a processor with OpenOCD ?

Again, did you configured well your SDRAM controller ?

BR,
Drasko

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to