AnsweredAssumed Answered

Floating point using generate _int_kernel_isr() ??

Question asked by arnogir on Apr 20, 2015
Latest reply on Apr 23, 2015 by Radek Sestak

Hello

 

I'm using a tower K60n512 with MQX 4.1.1 with KDS 2.0.0

 

I have the following configuration:

1) In Settings/Target Procession/ Float ABI = FP instruction

2) In Settings/Target Procession/ FPU Type=fpv4-sp-d16

 

3)in user_config.h:

#define MQXCFG_ENABLE_FP  1
#define MQX_INCLUDE_FLOATING_POINT_IO  1

4) In setings\Cross ARM C Compiler\Preprocessor:

"_AEABI_LC_CTYPE=C"

"__VFPV4__=1"

"__STRICT_ANSI__=1"

"_DEBUG=1"

 

In a Main task, I made following:

 test1 = 16.365;
 test2 = test1 * 2;

 

So when I do a Step on line2, execution stop on an ISR (Refer to joined file)

 

Do you have any idea why this crash?

 

NB: I had a similar project bu with  the Tower K70 without any crash on float calculs

Attachments

Outcomes