Hi James,
We are working with Sabre SDB board and with platform SDK v1.1.
We are using DS-5 and DSTREAM to download the code to the Sabre board.
Ethernet cable is connected directly from board to the PC. PC is assigned with a static ip.
We have done few modifications in the code
1) To use static IP, changed kMACAddress,
2) Observed that dns_found function is not invoked at all which is supposed to be invoked from get_target_address().
So modified in switch case kAskForTargetState as g_state = kSendPingState;
3) sys_now() always returns zero
Modified sys_now function in lwip/mx6/sys_arch.c as follows
| uint64_t us = 0; |
| u32_t time_milliseconds = 0; |
| us = time_get_microseconds(); |
| time_milliseconds = us / 1000; |
| return time_milliseconds; |
4) g_microsecondTimerMultiple in timer.c file is getting corrupted. Actual value should be 2, after enet(phy and chip)initialization this value is getting corrupted. So modified to initialize this value to 2 in time_get_microseconds() function.
After these modifications, ping reply from pc is received for the 1st packet only. ping_received or ping_recv functions are never invoked for the second packet. I am able to see the ping reply from pc to the board in the Wireshark. Also observed (in wireshark) PC is sending ARP requests continuously and the board is not able to send any response