hi guys,
i need to write a LwIP Ethernet application on ADSP-BF561 EZ-KIT Lite Evaluation System Rev1.3 and Blackfin USB-LAN EZ-Extender Rev1.2. IDDE is VisualDSP 5.1.
When i run the example in <visualdsp_instal_path>\Blackfin\Examples\USB-LAN EZ-EXTENDER\LAN\, the everything is all right. The information "Link established" and "IP Address :" can display in the console window.
After that, i use New -> Project -> choose LwIP Ethernet application and Next -> choose processor types ADSP-BF561, then leave other things as default and press Finish button .And then build and run this project,i can only see "Link established" but no "IP Address".
Then i found that this program can't run out of the function "start_stack()" in source file lwip_sysboot_threadtype.c, line 219.
if(system_init() == -1)
{
printf("Failed to initialize system\n");
return;
}
start_stack();
memset(ip,0,sizeof(ip));
if(gethostaddr(0,ip))
{
printf("IP ADDRESS: %s\n",ip);
}
so what is going wrong?
thank you very much !