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.

Error: Instruction requires VFP or NEON support.

Hi,

I am using TMDX570LS20SUSB controller. In CCS, i am trying to enable and initialize the floating point option. But it shows error as,

PROBLEM 1:

 mrc   p15,     #0x00,      r0,       c1, c0, #0x02
 orr   r0,      r0,         #0xF00000
 mcr   p15,     #0x00,      r0,       c1, c0, #0x02
 mov   r0,      #0x40000000
 fmxr  fpexc,   r0

[E0002] Instruction requires VFP or NEON support. (While --float_support = None)

and if i enable --float_support = VFPv3D16

fatal error: file "../lib/pf035a_api_eabi.lib<blank.obj>" was built without VFP coprocessor support while a previously seen file was; combining incompatible files.

PROBLEM 2:

I don't know how to move the value which is present in the FPSCR register to the local variable we are using in our code. For ex,

UInt32 temp;

.........

.........

{Here i want to write a code to transfer the value of the register FPSCR to the "temp" variable for further process}

Please let me know how to resolve this problem.

 

Thanks and Regards

Gowdham Natarajan