Other Parts Discussed in Thread: TMDX654IDKEVM,
Tool/software: TI-RTOS
Hello, TI.
I am working on developing Ethernet Driver for R5F MCU of AM654x processor's family using TMDX654IDKEVM AM65x Industrial Development Kit. The driver is being developed basing on the latest version of the PDK AM65xx of SDK RTOS AM65xx and has to be executed on bare metal. Thus, it uses ‘nonos’ source files of the PDK.
The Ethernet driver has to provide an API for sending and receiving MAC level ETH packets. Therefore it calls the TI EMAC driver API provided with the PDK AM65xx of SDK RTOS AM65xx.
Currently, the TI EMAC driver has Emac_Cpsw_TestApp and Emac_Icssg_TestApp demo applications:
I used the source code of the application as an example to properly initialize the TI EMAC driver, but still cannot send any packets to the Ethernet port as well as receive a packet. The TI EMAC driver demo applications are developed to test two types of AM65xx sub-systems, which are CPSW and ICSS-Gs. The CPSW test is developed to send internal loopback, and the ICSS-G test performs loading firmwares to the PRU and RTU modules to send a test packet. And what the firmwares do I can’t realize. Also, the RTUs are loaded with the ‘rtu_test0_bin.h’ and ‘rtu_test1_bin.h’ binary files. Werther they are be able to send something more then the test packet I don’t know. In my test they can’t.
Thus, fighting with the problem for around two weeks, I please you to help me. Can I somehow setup any one of the Ethernet ports to be able to send any available packets to the network. Do you have some initialization examples to setup CPSW port and PHY on the board to send out data? Or maybe you can provide a firmware or instruction how to setup an ICSSG port? I will be glad to send data to any Ethernet port. Could you please help me to solve the initialization problem?