Part Number: AM2612
Hi!
I would like to know how to build the Enet CLI application that is included in the AM261x SDK.
Located here: \mcu_plus_sdk_am261x\source\networking\enet\core\examples\enet_cli_app
Best regards
Daniel
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: AM2612
Hi!
I would like to know how to build the Enet CLI application that is included in the AM261x SDK.
Located here: \mcu_plus_sdk_am261x\source\networking\enet\core\examples\enet_cli_app
Best regards
Daniel
Hi Daniel,
The current SDK does not support the enet_cli_app on AM261x. There are some memory limitations to compile both LwIP and gPTP stack. The team is trying to optimise and enable a cut down feature set so it can fit the device memory. We are enabling this and this should be available sometime around 1st or 2nd week of April (i can provide a patch, the official example will be a part of the next SDK release). This example is currently supported on AM263x and AM263Px device.
Regards,
Shaunak
Hi Shaunak,
One of our hardware engineers is doing some validation tests and needs a way to write to registers of the PHY from an CLI, since I don't have the time to implement that support in our application I figured I could achieve the same thing by building the enet_cli_app.
So I do not really need the gPTP stack.
/Daniel
Hi Daniel,
Let me share the application as soon as it is available.
Regards,
Shaunak
Hi Daniel,
Please find the enet_cli_app inital version attached. I've done some porting and limited testing. Please note that this is not completely tested and as mentioned in my previous reply, the SDK release will contain the completely tested application.
As we discussed, i have not integrated TSN features. The lwip_shell is integrated, but for that you will have to recompile the application with an additional compilation flag:

I was able to run and read the PHY regs, scan PHYs and write to PHY regs, also run lwip_shell and get IP addresses for both MAC Ports.
Incase you face build errors, make sure the CCS project properties -> Resource -> Linked resource variables point to the AM261x SDK path correctly.
Regards,
Shaunak
Thank you Shaunak!
I'm currently working on some other stuff, but I'll have a look at it on Thursday.
/Daniel
Hi Shaunak!
The application is now running on our custom AM2612 board and I can read and write to the registers of the PHY.
Thanks for the help!
/Daniel
Hi Daniel,
Thanks for the acknowledgement! Just to let you know we are also working to integrate this into the next SDK release out-of-box.
Regards,
Shaunak