Hi,
We are working with the DM648 on a custom board. Our application takes in RAW video and processes it, then JPEGs it and uploads it to another processor. When no video sensor is connected we get a black JPEG, about 8kb, the image is 512x512. This runs for several hours at a time without crashing.
When we have a sensor connected it's crashing when the image is complicated or with high contrast. By setting a breakpoint at HWI1, the NMI, I can see that there has been an exception. On 3 of the 5 crashes monitored CPU register B3 = 0xE5C3CD38 which is the start of function C$RL22, not sure what it does, the function above is CPIS_isBusy. Register NRP has the address of HWI14, the function called by HWI14 is CLK_F_isr. I haven't configured this interrupt so it's either part of BIOS or one of the TI drivers.
Setting the JPEG quality down from 75 to 25 seems to stops it from crashing. Has anyone got any advice as to what can be causing this? Is there a fault with the JPEG algorithm, or is it clashing with something in the rest of the code which we can adjust to fix?
Many thanks
Simon