Hello,
I am in the middle of a project and a kind of stucked. My experience with altera, nios and so on is maybe 2 months now. What a colleague and me have reached for now:
- Porting FreeRtos Realtime scheduler to the NIOS2. There some small problems with the demo tasks left but its stable, running on a custom Cyclone2 Hardware.
- Integrated the TSE from Altera with a native supported PHY from National
- Implemented the lwip TCP/IP Stack port for FreeRTOS.
And now I am a bit frustrated:
It seems for me to be very hard to make the final part: A lwip driver for the TSE. I have looked into the sources of the Niche driver and lwip driver for different MACs. But its a bit too high level for me I think. The Altera documentation for the MAC is a bit poor mainly because they suggest to use it with the Niche and µCos anyway. I searched a lot but couldn't find anyone or anything dealing with lwip and TSE. Have I looked not well enough? Is there maybe a better or easier MAC like the opencores one to write a driver for or is there maybe an existing one? If there is now other way I am forced to write the driver myself, maybe You have some good starting advices?
Thank you very much in advance for any help and suggestions.
Sincerely John