I'm 100% new to the E2E Community, so I hope I'm sending this post to the proper group. If not, please advise.
I have recently acquired a DM6437 EVM board and I have it (nostly) working with the out-of-the-box demos. The video preview works perfectly with an analog NTSC camera and an NTSC monitor. Also, by selection via a DIP switch, the input/encode/decode/output mode works as well. But, I've never been able (so far) to get the ethernet attachment to work reliably. I *can* sometimes get the discovery to work .... in that I see the probe from the Windows host application asking the board if it is a DM6437 EVM board (this appears in the output window of CCStudio). Then when I attempt to "Connect" I sometimes get at least partly connected because I get the greeting on the hostapp's GUI window. When this happens I can also select the video statics tab or either of the other two stats tabs in the upper right region of the hostapp's GUI. Never does the lower middle portion of the hostapp become active, though, and hence I am not allowed to select any of the more interesting and useful demo options. Furthermore, when the ethernet is "Connected" it often happens after a few minutes that I get errors in the hostapp's command window.
All in all, it appears like the ethernet is capable of working but that there is just some sort of general unreliability about it. Often (i.e. perhaps 8 out of 10 tries) I cannot get the discovery to actually discover the board. When that happens, retrying will sometimes succeed ... but most times not. Once "discovered" there is then a significant probability that the host and board will not succeed in "Connecting".
My board and host are board connected to a switch and I've modified the source code of the demo so as to use "static" IP adddress rather than DHCP. The host and board are both assigned addresses on the same subnet. Further, sometimes when the Discovery fails I can see that the eval board has indeed received the probe packet and that it has responded by sending its MAC address .... but, apparently, the host app does not receive the reply. I'm sure that the host ethernet connection and its configuration are good and solid as I use this Windows machine extensively for other things and I've not made any changes to it for the purpose of this demo test.
I think that I've changed the demo source code (version dm6437_demo_01_30_00) very carefully and quite minimally .... basically only app_main.c. For each change that I made, I commented the existing line, then added an identical line except with my changed content. The area of changes is shown below. I changed the IP address, the ipAddrMethod (from "dhcp" to "static"), the gateway, and the DNS server and its name. Those are the only changes. Then I built the demo, loaded to the board, started the hostapp, and observed the behavior that I've described. I also tried using other cables and ports for attaching the two system ... without observing any change in behavior.
Any ideas or theories about what might be going on? or *not* going on?
Thanks!
----------------- except of source code from app_main.c that includes my changes ---------------------------------------------
APP_SYSTEM_printf("Settings: %s %s %s\n", LOCAL_mode, LOCAL_standard, LOCAL_resolution);
intcpy(APP_GLOBAL_data.ndk.priority , 13 );
// strcpy(APP_GLOBAL_data.ndk.ipAddrMethod , "dhcp" );
strcpy(APP_GLOBAL_data.ndk.ipAddrMethod , "static" );
// strcpy(APP_GLOBAL_data.ndk.staticIpAddr , "192.168.1.100" );
strcpy(APP_GLOBAL_data.ndk.staticIpAddr , "128.111.185.85" );
strcpy(APP_GLOBAL_data.ndk.subnetMask , "255.255.255.0" );
// strcpy(APP_GLOBAL_data.ndk.gateway , "192.168.1.1" );
strcpy(APP_GLOBAL_data.ndk.gateway , "128.111.185.1" );
strcpy(APP_GLOBAL_data.ndk.domainName , "dm6437evm.net" );
// strcpy(APP_GLOBAL_data.ndk.dnsServer , "192.168.1.1" );
strcpy(APP_GLOBAL_data.ndk.dnsServer , "128.111.56.36" );
// strcpy(APP_GLOBAL_data.ndk.dnsName , LOCAL_dnsName );
strcpy(APP_GLOBAL_data.ndk.dnsName , "apex.ece.ucsb.edu" );
intcpy(APP_GLOBAL_data.ndk.ipDiscoveryPort , 44000 );