Other Parts Discussed in Thread: TMDSCNCD263P, SYSCONFIG
Tool/software:
Trying to get this example project to work but couldn't get the link up. Posting this question to see if I can get more answers quicker than reverse engineering the example.
Eval board: TMDSCNCD263P PROC159E2.
SDK: MCU+ SDK for AM263Px - 9.2.0.55
Example project: icss_emac_lwip_am263px-lp_r5fss0-0_freertos_ti-arm-clang
Can you help point me in the right direction on the following questions:
1) Is there any README html file to provide information on what this project does, expected outputs, hw setup
2) Is there an example for the -cc eval board?
3) Can you confirm the example uses PRU0 MII0 connected to the PHY (ie. Config #2) and that there is no change needed on the board?
4) SW changes. Please confirm these are correct and if more is needed.
a) Changed sysconfig to switch package from ZCZ_C to ZCZ_S
b) Updated Predefined Symbols from AM263PX_LP to AM263PX_CC
c) Updated lwipcfg.h to
#define USE_DHCP 1
#define USE_AUTOIP 1
5) SBL NULL programmed to flash and BOOT mode set to OSPI.
Debugging the example yielded this:
MII mode
load to PRU0 passed
load to PRU1 passed
Starting lwIP, local interface IP is dhcp-enabled
[LWIPIF_LWIP]Link is down[LWIPIF_LWIP] Interface layer handle is Initialised
[LWIPIF_LWIP] NETIF INIT SUCCESS
status_callback==UP, local interface IP is 0.0.0.0
UDP server listening on port 5001
6. 25s : CPU load = 0.79 %
Ethernet cable connected to router. RJ45 LEDs: Link is off, Activity is blinking.
Any help would be appreciated.