This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C64x+ cycle accurate simulator and DM648 custom board

Hi

I have an H.264 Encoder which works well on x86 platform. I wanted to port it to DM648 and optimize it.

I started with C64x+ cycle accurate simulator  and the encoder is working fine , even though the MIPS and the fps are very low. I connected my custom board to CCS via xds 510 usb emulator and after encoding 1 frame it produces an error (A local variable always goes to negative value). When I reduced the frame size, little improvement noticed. This time it encoded 2 frames but again the same error is happening. So played around with stack and heap sizes, as I thought some stack overflow may be happening. But of no use.I am using the same linker.cmd file for both simulator and emulator.

Can anyone tell, what could be the reason for this behaviour?  CCS 5.5 does not have DM648 Device simulator.

In general, how can we ensure an application which is working with simulator, works well with emulator also?

 

Regards

JK