AnsweredAssumed Answered

Flash driver and VDK

Question asked by vix on Jan 25, 2010
Latest reply on Feb 3, 2010 by SFernandez

With VisualDSP++ 5.0 installation, under \src\drivers\flash folder, there are some driver written for serial and parallel devices.

I understood how they work, and I've been able to successfully write drivers for other devices.

Now I'm going to use these drivers into a VDK project, and I noticed that inside the source files there are some istructions similar to

for(n=0; n<DELAY; n++)
    {
        asm("nop;");
    }

with force the processo to wait for some conditions.

I don't think it's a good idea to use such a kind of instructions in a multithreaded VDK project.

Am I right?

How should I modify these instructions?

Outcomes