Hi,
I'm experiencing problems with integrating OpenGLES graphics and ethernet access into the same application. Basically, the graphical (OpenGLES) element runs fine on its own and so does the ethernet element (transfer of tcp packets from an external PC). However, as soon as I combine the two elements within a single program, the processor hangs within a few packets and has to be reset.
I've experimented with taking out some of the graphics commands to see which causes the problem. Commands like the following run fine.
1). All of the egl setup code (as per the omap examples in the sdk).
2). glEnableClientState(), glVertexPOinter(), glClear(), glSwapBuffers()
However, as soon as I run as OGLES commands that actually render anything, like glDrawArrays() or glClear(), the program will hang at a random time but usually within 10 loops. The serial connection then becomes completely inactive.
If I had to guest, I'd say that this was some sort of interrupt clash (between the SGX & ethernet H/W) , but I'm not much of a hardware expert.
I'm using the C6A816x Integra EVM, omap35x_graphics_sdk_4.00.00.01 libraries/headers for the graphics with the openGLES 1.1 libraries. The kernel (psp directory) is linux-2.6.34-psp04.00.00.07.
Any ideas?.
Ta in advance,
Dave
