lpc3250 floating point support

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpc3250 floating point support

540 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Elavarasan on Mon Oct 22 00:10:28 MST 2012
Hai all,we are using lpc32xx_cdl_v2.11. (processor: lpc3250 and IDE: Keil 4.50 ).
This cdl is not supporting for floating point. if we add any floating point calc in our code,
software is hanging in startup code itself. we referred sample code (AN10902: LPC32xx VFP Basic Example Code).
but AN10902 is having different startup file and working fine.
we tried to integrate AN10902 VFP initialized code from lpc32x0.s to CDL keil_stack_setup.s,
//
                IF      {FPU} != "SoftVFP"
                MOV     R1, #VFP_EN_BIT ; Enable VFP
                FMXR    FPEXC, R1
                ENDIF
//
but still problem is there. floating calc not working in cdl.
is there any solution from your side?how to fix this issue?
Thanks & Regards,
Elavarasan
Labels (1)
0 Kudos
1 Reply

417 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Magicoe.Niu on Thu Dec 06 19:53:01 MST 2012
Hi Elavarasan,

Seems you can enable Floating Point Hardware at page "options for..."->"Target".

My MDK version is MDK4.60, you can choose "Not used", "Library Calls", "In-Line(strict ANSI)" & "In-Line(fast)".

Hope i catched your meanings.

B.R.

Magicoe
0 Kudos