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

Vegard Aaker vegardaa at stud.ntnu.no
Sat May 19 10:27:31 CEST 2012


Yes,

I am using Ethernut 5 board and nut/os version 4.10.

Do anyone have another os config file for the ethernut 5 board which
utilize the floating point unit on the processor? Even better would be if
anyone has both a code example and a config file I could try :)

Thanks for the help!


On Fri, May 18, 2012 at 10:33 PM, Ole Reinhardt <
ole.reinhardt at embedded-it.de> wrote:

> 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
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>



-- 

- Vegard



More information about the En-Nut-Discussion mailing list