thomas84 wrote on Wednesday, March 21, 2012:
I think i found some differences in the PHY and right now i’m trying to fix this problem. My new question is: It is possible just to make the webserver run and ignore the LCD and USB? in main i did this:
char cIPAddress; // Enough space for “xxx.xxx.xxx.xxx\0”.
// Configure the hardware for use by this demo.
prvSetupHardware();
// Start the standard demo tasks. These are just here to exercise the
//kernel port and provide examples of how the FreeRTOS API can be used.
vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY );
vCreateBlockTimeTasks();
vStartSemaphoreTasks( mainSEM_TEST_PRIORITY );
vStartPolledQueueTasks( mainQUEUE_POLL_PRIORITY );
vStartIntegerMathTasks( mainINTEGER_TASK_PRIORITY );
vStartGenericQueueTasks( mainGEN_QUEUE_TASK_PRIORITY );
vStartQueuePeekTasks();
vStartRecursiveMutexTasks();
vStartLEDFlashTasks( mainFLASH_TASK_PRIORITY );
// Create the USB task.
// xTaskCreate( vUSBTask, ( signed char * ) “USB”, configMINIMAL_STACK_SIZE, ( void * ) NULL, tskIDLE_PRIORITY, NULL );
// Display the IP address, then create the uIP task. The WEB server runs
//in this task.
// LCDdriver_initialisation();
// LCD_PrintString( 5, 10, “FreeRTOS.org”, 14, COLOR_GREEN);
sprintf( cIPAddress, “%d.%d.%d.%d”, configIP_ADDR0, configIP_ADDR1, configIP_ADDR2, configIP_ADDR3 );
// LCD_PrintString( 5, 30, cIPAddress, 14, COLOR_RED);
xTaskCreate( vuIP_Task, ( signed char * ) “uIP”, mainBASIC_WEB_STACK_SIZE, ( void * ) NULL, mainUIP_TASK_PRIORITY, NULL );
// Start the scheduler.
vTaskStartScheduler();
// Will only get here if there was insufficient memory to create the idle
//task. The idle task is created within vTaskStartScheduler().
for( ;; );
Can there be any problem or does the webserver normaly work with a main liek this.
Thanks and regards.