I adapted the SAM7 web server example (FreeRTOS V1.7.0) to my at91sam7x512/DP83848i based board (deRFgateway by Dresden Electronic). (Basically, I only had to adjust the memory size defines)
The example runs so far, but there’s a problem during the initialization of the PHY (DP83843i): the while loop which waits for end of hw reset
while( !( AT91C_BASE_RSTC->RSTC_RSR & AT91C_RSTC_NRSTL ) )
__asm volatile ( “NOP” );
will loop endlessly.
The problem does NOT occur when the SAM-ICE JTAG interface is connected!
Any idea what might be missing within the low level initialization?