[ECOS] Ethernet cl- DEBUG problem

Andrew Lunn andrew@lunn.ch
Thu Nov 3 16:21:00 GMT 2005


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



More information about the Ecos-discuss mailing list