Forum Discussion
Altera_Forum
Honored Contributor
20 years agodebug for Ethernet driver
I try to use debug mode to debuging LAN91C111 driver, but I can not set break pointer for the driver. Does any one know how to set break pointer in the altera_avalon_lan91c111.c? Thank you! ...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by slava+mar 24 2006, 09:10 am--><div class='quotetop'>quote (slava @ mar 24 2006, 09:10 am)</div>
--- quote start ---
<!--quotebegin-david_wu@Mar 24 2006, 12:29 AM i try to use debug mode to debuging lan91c111 driver, but i can not set break
pointer for the driver. does any one know how to set break pointer in the
altera_avalon_lan91c111.c?
thank you!
david
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13738)
--- quote end ---
--- Quote End --- Dear, David! The file altera_avalon_lan91c111.c should be using with UCOS-II rtos and LWIP (tcp-ip protocol stack). If you wish debug this driver you should create app for UCOS-II. See the examples! Some standart functions for LAN91C111 are "init", "rx" and etc. You can set break points to these functions. <div align='right'><{post_snapback}> (index.php?act=findpost&pid=13761)</div> [/b] --- Quote End --- I already create application. My question is when I use NIOS-IDE debug mode, how can I open the altera_avalon_lan91c111.c file and set break pointer at this file? Thank you.