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?
> > 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. Thanks for the reply > > Btw. did you configured well your SDRAM controller ? > > BR, > Drasko > > On Feb 17, 2012 8:40 PM, <jana1...@centrum.cz> wrote: > > > My embeded system with MIPS CPU uses 4 modules of SDRAM module with 16 > > bits of > > data bus. > > (Each module has 64MB, that is the configuration is 32Mx16=512Mb, that is > > the whole SDRAM is > > 256MB) > > > > I want to write some data to SDRAM via JTAG. > > Is my thinking correct saying that > > mwh 0x123456 0xac23 > > will write the data 0xac23 ( 4!! bytes) on the 0x123456 address? > > > > and command > > mdh 0x123456 > > will display the 16bits = 4 !! bytes of data that is on the address 123456 > > > > Thanks > > > > > > > > ------------------------------------------------------------------------------ > > 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 > > > ------------------------------------------------------------------------------ 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