Hey
As the dsPIC33 has the same Architecture except the additional dsp register and as you wrote your kernel is useable for dspic devices why are you not saving the dsp Registers during a context switch?
It should be inserted in File tneo/src/arch/pic24_dspic/tn_arch_pic24.S and during stack initialisation.
So that an working dsp operation with Registers ACCA*/ACCB*/DO is context save.
Hey
As the dsPIC33 has the same Architecture except the additional dsp register and as you wrote your kernel is useable for dspic devices why are you not saving the dsp Registers during a context switch?
It should be inserted in File tneo/src/arch/pic24_dspic/tn_arch_pic24.S and during stack initialisation.
So that an working dsp operation with Registers ACCA*/ACCB*/DO is context save.