Search found 20 matches

by eribla
Sat Jan 25, 2014 6:30 pm
Forum: STM32 Support
Topic: STM32F4 discovery board SDC use
Replies: 4
Views: 3945

Re: STM32F4 discovery board SDC use

Hi Giovanni

thank you very much. I finally got it to compile with no errors. (that's a first step)

These dependencies are killing me, but that might be since I am new to this and don't know where to look yet.

I just wanted to tell you that you are a HUGE help - you are almost always the first to ...
by eribla
Sat Jan 25, 2014 5:08 pm
Forum: STM32 Support
Topic: STM32F4 discovery board SDC use
Replies: 4
Views: 3945

Re: STM32F4 discovery board SDC use

Hi Giovanni

Thanks, maybe I am stupid or very inexperienced but I do not have diskio.c in the \ext folder

which leads to:

linking...
.\obj\ch.axf: Error: L6218E: Undefined symbol disk_initialize (referred from ff.o).
.\obj\ch.axf: Error&#58 ...
by eribla
Fri Jan 24, 2014 8:32 pm
Forum: STM32 Support
Topic: STM32F4 discovery board SDC use
Replies: 4
Views: 3945

STM32F4 discovery board SDC use

Hi

trying to attach a memory card to the STM32F4 discovery.

Tried to follow http://forum.chibios.org/phpbb/viewtopic.php?f=3&t=519&hilit=pito which was supposed to be a working example, but getting stuck on the way:

The provided files by Pito have a reference to ff.h, (which was ...
by eribla
Sun Jan 05, 2014 12:56 am
Forum: General Support
Topic: Clock and other Registers
Replies: 6
Views: 5622

Re: Clock and other Registers

Thanks!
by eribla
Sat Jan 04, 2014 9:00 pm
Forum: General Support
Topic: Clock and other Registers
Replies: 6
Views: 5622

Re: Clock and other Registers

Hi Erick

I fully get that

SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | SysTick_CTRL_ENABLE_Msk | SysTick_CTRL_TICKINT_Msk;

is better than

((SysTick_Type *) 0xE000E010UL)->CTRL = 7


What I don't understand are the multiple indirections and shifting or mathematical operations involved to ...
by eribla
Sat Jan 04, 2014 12:53 am
Forum: General Support
Topic: Clock and other Registers
Replies: 6
Views: 5622

Re: Clock and other Registers

Thank you Giovanni

but you have not answered my questions about an easier way to see what is in the configuration registers, my KEIL IDE
cannot evaluade SysTick->CTRL and there is no SysTickControl register in the register view either.

Another related issue:
Please educate me or point me to ...
by eribla
Fri Jan 03, 2014 12:46 am
Forum: General Support
Topic: Clock and other Registers
Replies: 6
Views: 5622

Clock and other Registers

Hi

Trying to figure out how to change the ADC conversion speed. (Eventually).

I understand that it is derived from the system clock and some pre-scalers.

I am trying to wind through the Chibi initialisations to see how it is set initially. (Using the STM32F4x example).

When I start with the ...
by eribla
Mon Dec 30, 2013 12:23 am
Forum: General Support
Topic: Documentation error?
Replies: 1
Views: 2053

Documentation error?

Hi

reading the how-to about threads http://www.chibios.org/dokuwiki/doku.php?id=chibios:howtos:createthread I am stumbling across this:


static WORKING_AREA(myThreadWorkingArea, 128);

/*
* LED flashing thread.
*/
static msg_t myThread(void *arg) {
/* Blink, blink ...
by eribla
Sat Dec 28, 2013 1:03 am
Forum: General Support
Topic: chThdSleepMilliseconds question
Replies: 6
Views: 5481

Re: chThdSleepMilliseconds question

Giovanni

How do I enable more debug options?

Also, please run with the debug options enabled, that error would have been caught by the state checker.


Also,

I would like to create a periodic thread with low priority to refresh a display.. "do it whenever you get to it". Ho do I do this?
There ...
by eribla
Fri Dec 27, 2013 4:24 pm
Forum: General Support
Topic: chThdSleepMilliseconds question
Replies: 6
Views: 5481

Re: chThdSleepMilliseconds question

Thank you very much !!!!

I have "solved" the issue with a global variable that is loaded in the callback and used later.