Search found 12 matches

by THaala
Tue Mar 20, 2012 9:53 pm
Forum: General Support
Topic: Floating point issues at cortex-m4
Replies: 15
Views: 17682

Re: Floating point issues at cortex-m4

Hello Forum,

the problem seems solved.

special thanks tor user "prx" at mikrocontroller.net.
http://www.mikrocontroller.net/topic/252696#new

the compiler switch -mfloat_abi=softfp seems to be right. It ensures the right mix of calling subroutines in case of using "double" values not ...
by THaala
Sat Mar 17, 2012 4:16 pm
Forum: General Support
Topic: Floating point issues at cortex-m4
Replies: 15
Views: 17682

Re: Floating point issues at cortex-m4

Dear Forum,

in the meanwhile i was in contact with the Head of YAGARTO - special thanks to him.
Bad news: He's not planning update for the future
But he points to the newest guy "Germia" who is providing a tooolchain.

https://launchpad.net/gcc-arm-embedded

I have tried all three ...
by THaala
Fri Mar 16, 2012 12:25 am
Forum: General Support
Topic: Floating point issues at cortex-m4
Replies: 15
Views: 17682

Re: Floating point issues at cortex-m4

Dear Giovanni, dear Forum,

again i have trouble with easy floating - point calculations.

After i have had switched ON the define, Giovanni mentioned above it seems first that all errors have gone.
But some floating point calculations gone wrong!
Now i am fighting again against such a simple ...
by THaala
Sun Mar 11, 2012 3:43 pm
Forum: General Support
Topic: Floating point issues at cortex-m4
Replies: 15
Views: 17682

Re: Floating point issues at cortex-m4

Hello Giovanni,

you are right - after setting this Flag to TRUE the problem disappears.
Thank you much.

As i mentioned before i have had used the ARMCM4-STM32F407-DISCOVERY demo basically for my actions.
it would be better to set this Flag in the Demo - App too, because of others mustn't fall ...
by THaala
Thu Mar 08, 2012 7:55 pm
Forum: General Support
Topic: Floating point issues at cortex-m4
Replies: 15
Views: 17682

Re: Floating point issues at cortex-m4

Dear Giovanni,

i have created and attached a eclipse project with minimal build based on the ARMCM4-STM32F407-DISCOVERY demo.

i am sure the problem also occurs if you switch off optmizer and add following lines to the original demo file:

float fa = (320 / 11)*9.3;
uint16_t da = (uint16_t ...
by THaala
Wed Mar 07, 2012 11:43 pm
Forum: General Support
Topic: Floating point issues at cortex-m4
Replies: 15
Views: 17682

Floating point issues at cortex-m4

Dear Forum,

regarding this topic
http://forum.chibios.org/phpbb/viewtopic.php?f=2&t=286

i got similar problem. I am ready with porting STM32 Graphics Library to my Touchscreen based on a F4Discovery - Board.
My port was based onto the demo.c for this board. With existing ...
by THaala
Sun Jan 15, 2012 2:43 pm
Forum: General Support
Topic: Trying release SPI bus mutex in callback procedure
Replies: 3
Views: 4856

Re: Trying release SPI bus mutex in callback procedure

Dear Giovanni,

i think about that your answer is pointing to a restriction like this.
However - what kind of signaling do you propose doing from callback function to let wakeup (next) thread(s) which are concurrently waiting about the protecting mutex or semaphore - without the use of boring ...
by THaala
Sun Jan 15, 2012 12:59 am
Forum: General Support
Topic: Trying release SPI bus mutex in callback procedure
Replies: 3
Views: 4856

Trying release SPI bus mutex in callback procedure

Dear Giovanni,

it seems that the mutex - usually used to control the access on a SPI channel device - is controlled by thread or kernel context.
I try to use the callback function to cleanup the use of the SPI device. Unfortunately the release of the controlled mutex (spiReleaseBus(&SPID2))
seems ...
by THaala
Sun Jan 01, 2012 8:32 pm
Forum: General Support
Topic: PAL-Driver Problem with groupmode
Replies: 2
Views: 3695

Re: PAL-Driver Problem with groupmode

Hello Giovanni,

thank you for your fast help.
The fix is working well.

Have a good new Year.
T.
by THaala
Sat Dec 31, 2011 2:58 am
Forum: General Support
Topic: PAL-Driver Problem with groupmode
Replies: 2
Views: 3695

PAL-Driver Problem with groupmode

Dear Giovanni,

i seems i found a little problem here:

I tried to use the Group - Mode of GPIO with GPIOV2. I need to Group the Bits 8 - 15 of GPIOE.

I interpret the following define as information how to use the members "mask" and "offset".

#define pal_lld_writegroup(port, mask, offset, bits ...