This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Ethernet cl- DEBUG problem
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Giovanni Perbellini <perbellini at sci dot univr dot it>
- Cc: ecos-discuss at sourceware dot org
- Date: Thu, 3 Nov 2005 17:21:29 +0100
- Subject: Re: [ECOS] Ethernet cl- DEBUG problem
- References: <20051031182855.frnlmzfyotmsk8sg@mail.studenti.univr.it> <20051031183212.GP4266@lunn.ch> <01b601c5e063$3b7143f0$85f21b9d@CDC03>
On Thu, Nov 03, 2005 at 11:42:05AM +0100, Giovanni Perbellini wrote:
> Hi all,
> I'm using the Cirrus Logic ethrnet driver (cs8900a) on MIPS processor.
> In the cs8900.h file is possible to set the DEBUG variable to get debugging
> details.
> If I set DEBUG=2 (for added data IO output: get_reg, put_reg) my program
> does not start in a correct way.
> What is the problem? (it seems that the diag_printf instructions slow down
> the normal execution)
Are you debugging the system using ethernet? ie are you telnetting to
redboot, or running gdb over TCP/IP? If so, this will not work. You
need to use the serial port.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss