ΣSigmaStudio Ask AI Русский Log in

Problem calling a function in a global object

Processors & DSP sormel Nov 27, 2018 00:00 1 replies Original on forum ↗
Subscribe
sormel Question
Nov 27, 2018 00:00

Hello

I'm in the process of importing old legacy code from two TigerSharc processors onto a new ADSP-SC584, and have run into a problem with a global object.

I have basically two classes, Fsm (parent) and FsmRt (child), Fsm declares Running() as pure virtua, and FsmRt implements Running().

When calling my global function from Fsm everything is ok, but when calling the same function from FsmRt everything crashes and the debugger is left at 0x00000000...

The only difference I can see is in the disassembly where the call from Fsm looks like this:

and the same call from the FsmRt class looks like this:

How do I solve this - or what on earth is going on here?

Audio Signal Processors

sc584

sharc

crosscore

adsp-sc584

SHARC Audio Processors/SoCs

Show More

CallFromFsm.PNG
CallFromFsm.PNG
pastedimage1543313381060v2.png
pastedimage1543313381060v2.png
ADIApproved Reply
Dec 7, 2018 00:00

Hello,

Can you please share us a simple example project demonstrating the problem, it would help us better.

Best Regards,

Jithul