Search found 417 matches

by mabl
Fri Sep 02, 2011 9:57 am
Forum: General Support
Topic: Trigonometry Causing PWM to stop
Replies: 22
Views: 6731

Re: Trigonometry Causing PWM to stop

Sqrt should not have any effects on other threads. What I'd do in your place is to build a minimal application which still shows the behaviour. Enable all debug checks in chibios, get yourself a good JTAG debugger and see what it brings. Good tools will save you a lot of trouble. In my personal tool...
by mabl
Sat Aug 27, 2011 10:50 am
Forum: General Support
Topic: Trigonometry Causing PWM to stop
Replies: 22
Views: 6731

Re: Trigonometry Causing PWM to stop

Hey Microman, if (xvar = 0.50) { debug_println("Float Success"); } else { debug_println("Float Fail"); } first, never compare floats like value1 == value2, this will eventually bite you . EDIT: You use = to compare instead of ==, so no wonder your result is always true. I used xi...
by mabl
Tue Aug 23, 2011 8:56 am
Forum: General Support
Topic: Trigonometry Causing PWM to stop
Replies: 22
Views: 6731

Re: Trigonometry Causing PWM to stop

Too bad. I also just tested some trigonometry (tan) in the main thread - all worked fine.
by mabl
Mon Aug 22, 2011 11:22 am
Forum: General Support
Topic: Trigonometry Causing PWM to stop
Replies: 22
Views: 6731

Re: Trigonometry Causing PWM to stop

Hello Microman171, I also use this toolchain, but had some trouble with the built-in functions, in my case i.e. strcmp. I did some small changes to the makefile which seem to solve my problems: diff --git a/Makefile b/Makefile index 76105b0..edcde95 100644 --- a/Makefile +++ b/Makefile @@ -2,18 +2,2...
by mabl
Fri Aug 19, 2011 8:45 pm
Forum: Development and Feedback
Topic: Eclipse debug plugin for ChibiOS/RT
Replies: 74
Views: 26167

Re: Eclipse debug plugin for ChibiOS/RT

I have one wish too :D
I don't know if it is feasible, but I'd love to click on a thread/callback and directly jump to the source code as well.
by mabl
Sun Aug 07, 2011 7:34 am
Forum: Development and Feedback
Topic: Makefiles improvements
Replies: 10
Views: 3936

Re: Makefiles improvements

Nontheless some great ideas, thank you barthess
by mabl
Sat Aug 06, 2011 5:01 pm
Forum: Development and Feedback
Topic: Makefiles improvements
Replies: 10
Views: 3936

Re: Makefiles improvements

barthess, Just curious, how does your ram check script look like?
by mabl
Fri Jul 29, 2011 9:07 am
Forum: Development and Feedback
Topic: I2C implementation for STM32
Replies: 346
Views: 93877

Re: I2C implementation for STM32

I'll enhance the resolution of the scope and get back to you :) <admode> You might want to have a look at Open Bench Logic Sniffer. It's a great product for a great price. http://dangerousprototypes.com/docs/Open_Bench_Logic_Sniffer http://www.seeedstudio.com/depot/preorder-open-workbench-logic-sni...
by mabl
Fri Jul 29, 2011 8:09 am
Forum: Development and Feedback
Topic: STM32 Ethernet Demo
Replies: 259
Views: 97898

Re: STM32 Ethernet Demo

Hello santatanta, sorry for the late answer. I'm a bit in a hurry at the moment. Attached you can find a small demo project with fully working ethernet. It is against SVN revision 3168, so it's 10 days old, and the STM32F2 changes have not been applied yet. If you want to use a newer revision, you'l...
by mabl
Fri Jul 22, 2011 12:15 pm
Forum: Development and Feedback
Topic: STM32 Ethernet Demo
Replies: 259
Views: 97898

Re: STM32 Ethernet Demo

Hello santatanta, The idea is to use the common ChibiOS mac driver interface, and each architecture needs its own low level implentation. There is an ST driver for the STM32 MAC, so brian made a wrapper for it, to be a low level driver. Once you have this driver, you can use the mac interface like t...

Go to advanced search