[En-Nut-Discussion] Problems using global variables and/or floating point numbers on Nut/Os (using ethernut 5)

Ole Reinhardt ole.reinhardt at embedded-it.de
Fri May 18 22:33:13 CEST 2012


Hi!

> I have a problem using global variables and/or floating point numbers in
> Nut/Os and now I am really hoping that someone might have a clue to what I
> have done wrong.

>[...]

> I experience the following scenarios:
> 
>    - If I remove test 1, test 2 and 3 is working.
>    - If I remove test 2 and 3. Test 1 is working
>    - If all test cases are active, I get wrong output and the program stops
>    after printing 98288333087859433.

That sounds really strange. Which Nut/OS Version are you using? I think
we would have to test this here too. You are using an Ethernut 5 board?

This might be a stack problem with the main thread stack size.

Bye,

Ole

-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

http://www.embedded-it.de

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 




More information about the En-Nut-Discussion mailing list