Search found 12 matches

by dhruvin91
Fri Feb 07, 2014 2:21 am
Forum: STM32 Support
Topic: How do I get system clock frequency?
Replies: 6
Views: 7313

Re: How do I get system clock frequency?

does this work when I am not using threads?
Thank you.
by dhruvin91
Fri Feb 07, 2014 2:17 am
Forum: ChibiStudio
Topic: Change gcc optimization level
Replies: 3
Views: 4707

Re: Change gcc optimization level

Thanks for the help. Yes you were right. This did not make much difference.

And I still need help. It would be great if I can get help with this.

I have following function

boolean sendCommandCheckAck_fcn(uint8_t *cmd, uint8_t cmdlen, uint16_t timeout) {
uint16_t timer = 0;
uint8_t x ...
by dhruvin91
Mon Feb 03, 2014 2:04 am
Forum: ChibiStudio
Topic: Change gcc optimization level
Replies: 3
Views: 4707

Change gcc optimization level

Hi,

Our program has unpredictable behavior on some instances. but if I add a line that should not make a difference program works.
I think this is because of optimization level. It might go away if I change optimization level from 3 to 2.

Does anyone know how to do so?
Thank you.
by dhruvin91
Mon Feb 03, 2014 2:01 am
Forum: ChibiStudio
Topic: Error while compiling
Replies: 14
Views: 19226

Re: Error while compiling

No problem.
BTW this problem only occures on windows 8.1.
by dhruvin91
Mon Feb 03, 2014 1:56 am
Forum: STM32 Support
Topic: How do I get system clock frequency?
Replies: 6
Views: 7313

How do I get system clock frequency?

Hi,
I am looking to add 10 ms delay in the code. I am not sure if there is any delay function in chibios. But I can add a delay function if I knew the clock frequency. I tried to find out what clock frequency my code has but didn't get anywhere.

Does anyone know how to find clock frequency in ...
by dhruvin91
Mon Jan 27, 2014 4:38 am
Forum: ChibiStudio
Topic: Error while compiling
Replies: 14
Views: 19226

Re: Error while compiling

Okay so I found a solution.
The problem is similar to a problem in vista x64 os.
I downloaded following zip file,
http://www.madwizard.org/download/electronics/msys-1.0-vista64.zip
extracted msys-1.0.dll and pasted it to ChibiStudio\tools\yagarto-tools\bin. After that project ...
by dhruvin91
Thu Jan 16, 2014 4:13 pm
Forum: ChibiStudio
Topic: Error while compiling
Replies: 14
Views: 19226

Re: Error while compiling

Its a normal makefile project.
by dhruvin91
Thu Jan 16, 2014 12:06 am
Forum: ChibiStudio
Topic: Error while compiling
Replies: 14
Views: 19226

Error while compiling

Hi,
I am working with a chibios project on ChibiStudio framework. The project I have used to compile but today for omereason it started giving me error.
I have copied the console below. Does anyone know how to fix this?
Thank you.


18:03:10 **** Incremental Build of configuration Default ...
by dhruvin91
Tue Oct 29, 2013 8:51 am
Forum: STM32 Support
Topic: Issue with threading setup
Replies: 4
Views: 6158

Issue with threading setup

Hi,

I am attempting to create a thread which would execute functions from the gfx library. What is happening is that when I run the functions in the main thread everything executes correctly, as soon as I implement this code in a static thread the system hangs. Initially while in normal priority ...
by dhruvin91
Fri Oct 11, 2013 9:25 am
Forum: ChibiStudio
Topic: Need help porting code from IAR to Eclipse
Replies: 2
Views: 3875

Re: Need help porting code from IAR to Eclipse

It was prblem with makefile.

Thank you for the help.
Dhruvin