I need to get UDP running on a Zynq processor with the FreeRTOS. I have been working on trying to get the +TCP Zynq port up and running. I appreciate you sending us the Zynq port before it is actually
posted, the network stack is something we need to get tested and running.
The code has been integrated in 3 steps:
- Update the OS from 8.0.0 to 8.2.1
- Pull in the +TCP/IP files, source and includes, but not the low level
- Pull in the emac files
Step one seems to have gone OK, for the most part our application is still
running as expected. The version was upgraded by copying over the FreeRTOS files you emailed to replace the version 8.0.0 that was running here. Step two took a little more work due to the amount of files and some naming conventions. I think this is working, and with stubbed out network interface functions that the stack will initialize. The third step is where it comes apart. It seems that at the lowest level there has been a lot of good work done to enhance the functions themselves, as well as renaming of
variables/functions. There is also some dependency on other projects such as
the FAT etc. It quickly became difficult to get it working.
Another approach was to upgrade the version to 8.2.1, use the +UDP
stack that comes with 8.2.1, and take the network interface and low level
emac files from the drop you emailed. That had its own set of issues,
especially in the buffer_management.c files. Again it was a lot of reworked
Note that the heap_4.c was used when required.
Unfortunately for us the demo you provided can’t be opened here. There is
some tooling (SDK) problem. The SDK actually crashes when trying to build
the demo. So it seemed a good path to integrate the + code into an existing
project that is running.
The UDP functionally is actually all that is needed, I’m wondering if you
see an easier way to achieve this? Perhaps the approach being taken is not
the best one, can you provide input? I know the +TCP/IP Zynq port is still
in the lab, do you have some estimate of when it might be released? Do you
see a more clean way to proceed on getting the FreeRTOS with a UDP stack