Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with MCUXpresso, MCUXpresso VScode extension or other host debug tools #6

Open
erlingrj opened this issue Dec 5, 2023 · 2 comments

Comments

@erlingrj
Copy link

erlingrj commented Dec 5, 2023

Hi.

Thanks for greatly improving the documentation! It was a very pleasant experience to go through the steps to build AVB applications targeting FreeRTOS and iMXRT1170EVK. It would be really great with some advice on how to integrate this into MCUXpresso (or the VScode plugin). Currently, I am dragging and dropping the generated .bin files onto the Mass Storage Device exposed by the companion chip on the EVK. It would be great to have the ability to flash and debug the code, use the managed linker scripts etc.

Alternatively, can you recommend some other host debug tools that enable flashing and stepping through code and interacts with GDB. I have some MCU Link and MCU Link Pro's here.

Thanks for suggestions

@rpmsousa
Copy link

rpmsousa commented Dec 6, 2023

Hi,

The MCUXpresso IDE support is currently being worked on and should be available in a future release (tentative date, end Q2/2024).
But currently you should already be able to attach to a running target with a debug probe and use the generated .elf image to have symbols/source code available for debugging.

@erlingrj
Copy link
Author

@rpmsousa thanks for your feedback. I have another question about the implementation that you might be able to help me with. I am trying to understand your network stack implementation. When searching through the code it seems as if you are implementing your own network stack directly ontop of the ethernet mac drivers (fsl_enet_qos). I see that you have implemented special sockets for avtp, ptp, l2, mrp and other. But there is also a lwip dependency, it provides a BSD Socket implementation. What exactly is the relationship between your network stack and lwip? If I want to open other sockets in my application, what API should I use? In the demo apps I can see that the lwip stack is started. But I cannot find any includes of lwip headers in your network stack implementation. Is there a design document or some sort of documentation of this?

Thank you.

However, there is also a lwip dependency in the SDK. How does these network stacks interact?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants