Hi, I'm trying to get the enet_lwip example code for the concerto working, and I seem to be getting stack corruption problems. Any suggestions?
Here's what I have been able to determine:
I get a NMI and Hardware Fault due to Instruction Access Violation
The offending address is an address within the stack (as pointed to by MMADR)
Contents of the offending address are always 0xfffffff9 with an adjacent 0xfffffffe (which would be invalid memory locations)
If I comment out lwip_init error never occurs
If I step through lwip_init error doesn't occur until after I exit the function and 'Run' the debugger
It would appear that the problem is occuring in a callback function, but I have not been able to get breakpoints in the callback functions to work (still trying that one)
As an aside, I also tried getting the uip example application working, but that has had it's own problems with needing to develop a .cmd file for the example. Either stack will work for my application, as I only need simple socket communications, but it would be nice to get some of the extras with lwip.
Thanks for any ideas or suggestions you can provide. Please let me know if there is any other information that could help debug the problem.
I'm running CCSV5.1, ControlSuite has v110 of the Concerto support files.