Re: [Openocd-development] mips coprocessor instruction

2011-01-08 Thread loody
hi all: 2011/1/8 loody : > Hi all: > I remember there is an instruction called COP which can used for > taking look at coprocessor registers. > But I cannot find out the usage. > From the help message, if I want to take a look at coprocessor 13 > select 0, it should use &quo

[Openocd-development] mips coprocessor instruction

2011-01-08 Thread loody
Hi all: I remember there is an instruction called COP which can used for taking look at coprocessor registers. But I cannot find out the usage. >From the help message, if I want to take a look at coprocessor 13 select 0, it should use "cop cp 13 0", but I always get error message as below: > help

[Openocd-development] some question about openocd gdb

2010-03-15 Thread loody
Dear all: I have some questions when useing opoecd: 1. I compile my kernel with "-g" option and also remove the CFLAG of "optimize for size". But when I use host gdb connect to the gdbserver on openocd throught port . I find the the source code show in host gdb is wrong. (for example, the be

Re: [Openocd-development] How to set includ path with "libftdi" in configure?

2009-11-26 Thread loody
nt to use the libftdi that's > installed on many Linux installations, then just remove the --with-ftd2xx > option. > > // Dean Glazeski > > > On Wed, Nov 25, 2009 at 8:34 AM, loody wrote: >> >> dear all: >> I use configure --help, but I cannot see wh

[Openocd-development] How to set includ path with "libftdi" in configure?

2009-11-25 Thread loody
dear all: I use configure --help, but I cannot see where I can tell openocd where the library of ft2232. I use following configure even I don't use cygwin and I use lib instead of device driver to compile it. ./configure --enable-ft2232_libftdi --prefix=`pwd`/build --with-ftd2xx=/media/sdb1/softwa

Re: [Openocd-development] some question about openocd

2009-11-03 Thread loody
Hi: thanks all your kind help :) 2009/11/4 Øyvind Harboe : > On Tue, Nov 3, 2009 at 8:58 PM, David Brownell wrote: >> On Tuesday 03 November 2009, loody wrote: >>> 3. can we do some constant steps? >>>   we can use "step" to execute 1 instruction, but is the

[Openocd-development] some question about openocd

2009-11-03 Thread loody
Dear all: I have some questions about Openocd: 1. what are the differences between bp hw and bp sw? I know some cpu, like mips, have break assembly instruction. Does that mean if we use bp hw, the openocd will insert the "break" assembly at the location we assign? 2. why we need to set lengt

Re: [Openocd-development] linux console will not out when openocdresume

2009-08-13 Thread loody
Hi: 2009/8/13 Nico Coesel : > I don't think this is an openocd issue. The kernel has numerous interrupts > running. Generally speaking you can't halt a piece of software that uses > interrupts and expect it to resume normally. > > Nico Coesel > thanks for your reply. But the same operations, hal

Re: [Openocd-development] linux console will not out when openocd resume

2009-08-13 Thread loody
HI: 2009/8/13 R.Doss : > What do you undersand for linux? >  The kernel or also all around? > > You need a bootloader  and a rootfilesystem in addition to the kernel. Thanks for your reply. Maybe I need to describe my environment more clearly. I use initramfs as my root file system and use openocd

[Openocd-development] linux console will not out when openocd resume

2009-08-12 Thread loody
Dear all: I use openocd connecting to my target mips board and I find something wired. Each time I halt the openocd then resume, i cannot get the console back. I am sure the cpu is not dead, since pc will increase if I type step. If someone have the same problem before and I forget something, pleas

[Openocd-development] What is the difference and meaning of "length" and "hw" options in bp

2009-06-16 Thread loody
Dear all: When setting bp in opocd, there are 2 options I am concerned with, length and hw. What do they mean? appreciate your help, miloody ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinf