[En-Nut-Discussion] (no subject)

Harald Kipp harald.kipp at egnite.de
Tue Mar 2 14:12:21 CET 2004


Hi Can,

At 14:40 02.03.2004 +0200, you wrote:

>Hi,
>
>
>
>I am trying to use the debug feature of the Ethernut.
>
>
>
>First of all I changed the makedefs.icc file and enable the nutdebug. Then 
>I entered make clean and make install . After compiling all libraries 
>successfully I copied the lib files to the icc lib folder.

Actually you define it in Makedefs, but running
nutconf copies Makedefs.icc to Makedefs.



>I also included the macro definition _MCU_enhanced NUTDEBUG into my 
>compiler options.

At this place NUTDEBUG is used by your application only.
So it may or may not be used.


>What is the difference between devDebug1 and devUart1?

For debugging use devDebug1. It uses polling,
not interrupts and is safer.


>I am using devUart1 but I am not getting any different lines from uart. I 
>only get the situation of the ppp connection

Are you aware that UART1 is not attached
to the DB9. It is available at the expansion
port but requires an additional RS232 driver.
As a lucky owner of Ethernut 2, you can set
jumpers to have both UARTs available, but
you need a special DB9 adapter.

[some lines deleted]


>I am trying to connect to my ISP for a couple of months using an external 
>modem. Is there anyone who achieved to connect using a modem to an ISP?

Lots of, via telephone line as well as GPRS. Sometimes
problems appear with some special settings on the
provider's side. Without tracing (debugging) you are
lost.

>Can you please guide me?

You are on the right track. Write a simple application and
try to get some output on UART1 first. Then go back to
PPP debugging.

Harald




More information about the En-Nut-Discussion mailing list