Hi GP
I believe 99.9% of new users of Kirin2e got a lot of "rocks"at the starting point to transmit anything using 52235 fec.
If you like consoles, I can tell you it works fine, but you must pay attention in any small detail, specially initialization ones.
I took a look in Freescale examples and I got confused...and I couldn,t make the FEC work that time..I mean only based in such examples.I needed to add / change some details..maybe Imissunderstood something....
I'm in vacations now (I'll return next monday) , but I can send you the code I use to pilot the FEC.
Meanwhile be aware about:
1- you must aligns ring descriptos and data buffers (as Mark mentioned...).This is a very important point !!!
2- Check if you are fill the ring tx descriptor correctly, althought you think you have done..(It happenned with me..)
2- I needed to use a pragma #unaligned packets to work with my structs (it is just a complement for you..not exactly the FEC solution you want), since my transmission buffer is based on such structs format
3- you could start your code based on CFinit, wich generates a very clear code you can use or at least take a look, maybe you can find a mismatch between your code and the one generated by this sw.
4- I posted in this forum,after received some helps from some guys here, a part ofcode wich works, although thai is not the current I'm using nowaday.Maybe it can heps yothe title was about "52235 ethernet driver".
5- There are several points in this forum wich regard about you doubt..taka a search..
Four months I go, probably I could have lot of details still on mind, but now ...
Godd luck ...
Ricardo Raupp