Reset when the log () function is executed;

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Reset when the log () function is executed;

ソリューションへジャンプ
2,466件の閲覧回数
agarcia
Contributor I

 

I am working with the MC9S08PT16VWJ microcontroller when I execute the following instruction:

b = (float) log ((double) c);


A reset occurs on my card when the value of c is greater than 150, I have wachDog disabled.

What I can do?

0 件の賞賛
返信
1 解決策
2,395件の閲覧回数
kef2
Senior Contributor V

Floating point support requires more stack space. Try increasing STACKSIZE in PRM file.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,396件の閲覧回数
kef2
Senior Contributor V

Floating point support requires more stack space. Try increasing STACKSIZE in PRM file.

0 件の賞賛
返信
2,388件の閲覧回数
agarcia
Contributor I

yes, it already worked by default it has 80H increases it to 100H and it worked correctly

0 件の賞賛
返信
2,435件の閲覧回数
vicentegomez
NXP TechSupport
NXP TechSupport

Can you please check the SYS_SRS register

I am thinking that you are running out of memory

 

Have a good day

0 件の賞賛
返信