[En-Nut-Discussion] Debugging Problems

Joachim Skale joachim.skale at tele2.at
Tue Nov 15 07:31:43 CET 2005


Hi *, 

has anybody recognized any Debugging Problems with Ethernut 2.1 , AVRSTUDIO 4.11 and AVR JTAG ICE ?
i run with 3 Mhz debug freq. After downloading the ELF File, i could wait until tomorrow but i 'll never the Entry Breakpoint at 

int main(void)
{
	u_long baud = 115200;
	int nRet = 0;

	if(NutRegisterDevice(&devUart0, 0, 0) == 0)
	{
        nRet |= UART_OK;
        if(freopen("uart0", "w", stdout))
		{
            nRet |= STDOUT_OK;
            if(_ioctl(_fileno(stdout), UART_SETSPEED, &baud) == 0)
			{
                nRet |= BAUDRATE_OK;
            }
        }


the dwarf-2 option is enable and also -O0.

Can anyone help ?


Regards
Joachim



More information about the En-Nut-Discussion mailing list