Thomas Doerfler | 17 May 2012 09:01
Picon
Favicon

BMW (and RTEMS) celebrating first win at Superbike World Championship

Hello,

last sunday BMW Motorrad Motorsport made a double win on the Superbike
World Championship race in Donington/England. In the first race, Marco
Melandri and Leon Haslam made it to the top two positions of the podium.
In the second race, they were ahead of their competitors again until
they colided and slipped off the track in the last corner of the race.

http://www.worldsbk.com/en/news/5-sbk-news/13229-bmw-celebrate-landmark-wsb-victory.html

http://www.youtube.com/watch?v=4tD8hPhK_74

http://www.worldsbk.com/en/news/5-sbk-news/13223-incredible-drama-as-rea-wins-and-other-top-riders-go-out.html

http://www.youtube.com/watch?v=vUDV6rbxruU

What does it all have to do with RTEMS? Optimizing the engine control
unit behaviour for the race is vital to provide the best performance for
the driver. BMW therefore developed a high speed data logger to collect
more than 2MByte/sec of data for performance analysis. This data logger
is using RTEMS to achive optimum real time behaviour and optimum speed
during data storage and recovery.

So surely RTEMS on its own did not win the race, but contributed its
share to the success story. I think this is something we all can be
proud of.

The next race of the Superbike World championship will take place on 28.
May in Salt Lake City. We are keeping our fingers crossed for the team
to win again.
(Continue reading)

Luca Cinquepalmi | 17 May 2012 12:10
Picon

#define CONFIGURE_MICROSECONDS_PER_TICK

Hi all,
I'm working with a leon2 processor board having:

cpu clock = 16MHz
prescaler value = 1023 (every 1024 cpu clock a tick is generated)

In theory MICROSECONDS_PER_TICK should be

((cpu clock)^(-1))*1024 = 64

bu it's a strange value (usually it's around 10000). Can you give me some explenation?
Thank you

    Luca

_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users
Cláudio Silva | 17 May 2012 12:54
Picon

Re: #define CONFIGURE_MICROSECONDS_PER_TICK

Hello Luca,

The timer unit has two different stages:
The prescaler is clocked by the system clock and decremented on each
clock cycle. When the prescaler underflows, it is reloaded from the
prescaler reload register and a timer tick is generated for the two
timers and watchdog
This prescaler tick will decrement the timer count. The clock tick to
the processor will only be generated when the timer count underflows.

The value MICROSECONDS_PER_TICK will be used to program the timer
count; therefore your real clock tick interrupt will occur with a
MICROSECONDS_PER_TICK period.
(http://git.rtems.org/rtems/tree/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c)

Regards,
Cláudio

On Thu, May 17, 2012 at 11:10 AM, Luca Cinquepalmi
<cinquepalmi@...> wrote:
> Hi all,
> I'm working with a leon2 processor board having:
>
> cpu clock = 16MHz
> prescaler value = 1023 (every 1024 cpu clock a tick is generated)
>
> In theory MICROSECONDS_PER_TICK should be
>
> ((cpu clock)^(-1))*1024 = 64
>
> bu it's a strange value (usually it's around 10000). Can you give me some
> explenation?
> Thank you
>
>     Luca
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users@...
> http://www.rtems.org/mailman/listinfo/rtems-users
>

_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users

Joel Sherrill | 17 May 2012 14:43
Gravatar

Re: #define CONFIGURE_MICROSECONDS_PER_TICK

On 05/17/2012 05:54 AM, Cláudio Silva wrote:
Hello Luca, The timer unit has two different stages: The prescaler is clocked by the system clock and decremented on each clock cycle. When the prescaler underflows, it is reloaded from the prescaler reload register and a timer tick is generated for the two timers and watchdog This prescaler tick will decrement the timer count. The clock tick to the processor will only be generated when the timer count underflows. The value MICROSECONDS_PER_TICK will be used to program the timer count; therefore your real clock tick interrupt will occur with a MICROSECONDS_PER_TICK period. (http://git.rtems.org/rtems/tree/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c)
FWIW 10000 microseconds is 10 milliseconds. That is the default
clock tick quantum.

http://www.rtems.org/onlinedocs/releases/rtemsdocs-4.10.2/share/rtems/html/c_user/c_user00426.html

#define CONFIGURE_MICROSECONDS_PER_TICK 1000

before confdefs.h is included will change it to 1 millisecond. :)

--joel
Regards, Cláudio On Thu, May 17, 2012 at 11:10 AM, Luca Cinquepalmi <cinquepalmi-FYx3T6rANL41GQ1Ptb7lUw@public.gmane.org> wrote:
Hi all, I'm working with a leon2 processor board having: cpu clock = 16MHz prescaler value = 1023 (every 1024 cpu clock a tick is generated) In theory MICROSECONDS_PER_TICK should be ((cpu clock)^(-1))*1024 = 64 bu it's a strange value (usually it's around 10000). Can you give me some explenation? Thank you     Luca _______________________________________________ rtems-users mailing list rtems-users-WKV1R6NGPIzYtjvyW6yDsg@public.gmane.org http://www.rtems.org/mailman/listinfo/rtems-users
_______________________________________________ rtems-users mailing list rtems-users-WKV1R6NGPIzYtjvyW6yDsg@public.gmane.org http://www.rtems.org/mailman/listinfo/rtems-users


-- Joel Sherrill, Ph.D. Director of Research& Development joel.sherrill-QZvH4adX5HBBDgjK7y7TUQ@public.gmane.org On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985
_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users
Joel Sherrill | 17 May 2012 15:44
Gravatar

Re: BMW (and RTEMS) celebrating first win at Superbike World Championship

Thank you for sharing this Thomas. I wish more users
shared their good news, product announcements, papers,
etc.

It turns out that the Salt Lake City race will be on Speed TV
at 5pm EST on May 28.  We actually have that channel. :)

On 05/17/2012 02:01 AM, Thomas Doerfler wrote:
> Hello,
>
> last sunday BMW Motorrad Motorsport made a double win on the Superbike
> World Championship race in Donington/England. In the first race, Marco
> Melandri and Leon Haslam made it to the top two positions of the podium.
> In the second race, they were ahead of their competitors again until
> they colided and slipped off the track in the last corner of the race.
>
> http://www.worldsbk.com/en/news/5-sbk-news/13229-bmw-celebrate-landmark-wsb-victory.html
>
> http://www.youtube.com/watch?v=4tD8hPhK_74
>
> http://www.worldsbk.com/en/news/5-sbk-news/13223-incredible-drama-as-rea-wins-and-other-top-riders-go-out.html
>
> http://www.youtube.com/watch?v=vUDV6rbxruU
>
> What does it all have to do with RTEMS? Optimizing the engine control
> unit behaviour for the race is vital to provide the best performance for
> the driver. BMW therefore developed a high speed data logger to collect
> more than 2MByte/sec of data for performance analysis. This data logger
> is using RTEMS to achive optimum real time behaviour and optimum speed
> during data storage and recovery.
>
> So surely RTEMS on its own did not win the race, but contributed its
> share to the success story. I think this is something we all can be
> proud of.
>
> The next race of the Superbike World championship will take place on 28.
> May in Salt Lake City. We are keeping our fingers crossed for the team
> to win again.
>
> wkr,
>
> Thomas.
>

--

-- 
Joel Sherrill, Ph.D.             Director of Research&   Development
joel.sherrill@...        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
     Support Available             (256) 722-9985

_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users

Peter Dufault | 22 May 2012 23:54

Re: BMW (and RTEMS) celebrating first win at Superbike World Championship


On May 17, 2012, at 3:01 , Thomas Doerfler wrote:

> What does it all have to do with RTEMS? Optimizing the engine control
> unit behaviour for the race is vital to provide the best performance for
> the driver. BMW therefore developed a high speed data logger to collect
> more than 2MByte/sec of data for performance analysis. This data logger
> is using RTEMS to achive optimum real time behaviour and optimum speed
> during data storage and recovery.

And the BSP is…?

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering

_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users

domenico.dileo | 24 May 2012 11:49
Picon
Favicon

Re: BMW (and RTEMS) celebrating first win at Superbike World Championship

RTEMS eas running on board deployed on the super bike, wasn't it?

Quoting Thomas Doerfler <Thomas.Doerfler@...>:

> Hello,
>
> last sunday BMW Motorrad Motorsport made a double win on the Superbike
> World Championship race in Donington/England. In the first race, Marco
> Melandri and Leon Haslam made it to the top two positions of the podium.
> In the second race, they were ahead of their competitors again until
> they colided and slipped off the track in the last corner of the race.
>
> http://www.worldsbk.com/en/news/5-sbk-news/13229-bmw-celebrate-landmark-wsb-victory.html
>
> http://www.youtube.com/watch?v=4tD8hPhK_74
>
> http://www.worldsbk.com/en/news/5-sbk-news/13223-incredible-drama-as-rea-wins-and-other-top-riders-go-out.html
>
> http://www.youtube.com/watch?v=vUDV6rbxruU
>
> What does it all have to do with RTEMS? Optimizing the engine control
> unit behaviour for the race is vital to provide the best performance for
> the driver. BMW therefore developed a high speed data logger to collect
> more than 2MByte/sec of data for performance analysis. This data logger
> is using RTEMS to achive optimum real time behaviour and optimum speed
> during data storage and recovery.
>
> So surely RTEMS on its own did not win the race, but contributed its
> share to the success story. I think this is something we all can be
> proud of.
>
> The next race of the Superbike World championship will take place on 28.
> May in Salt Lake City. We are keeping our fingers crossed for the team
> to win again.
>
> wkr,
>
> Thomas.
>
> --
> --------------------------------------------
> Embedded Brains GmbH
> Thomas Doerfler           Obere Lagerstr. 30
> D-82178 Puchheim          Germany
> email: Thomas.Doerfler@...
> Phone: +49-89-18908079-2
> Fax:   +49-89-18908079-9
> _______________________________________________
> rtems-users mailing list
> rtems-users@...
> http://www.rtems.org/mailman/listinfo/rtems-users
>
>

Domenico Di Leo, PhD student, Universit? degli Studi di Napoli Federico II
Ph:     +39 081 676770
Fax:    +39 081 676574
Web: http://wpage.unina.it/domenico.dileo

_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users

Thomas Doerfler | 24 May 2012 12:48
Picon
Favicon

Re: BMW (and RTEMS) celebrating first win at Superbike World Championship

Hi,

Am 24.05.2012 11:49, schrieb domenico.dileo@...:
> RTEMS eas running on board deployed on the super bike, wasn't it?

yes, RTEMS works on a data logger add-on board in the engine control unit.

I hope BMW will have a successful race next weekend in Utah ;-)

wkr,

Thomas.

> 
> Quoting Thomas Doerfler <Thomas.Doerfler@...>:
> 
>> Hello,
>>
>> last sunday BMW Motorrad Motorsport made a double win on the Superbike
>> World Championship race in Donington/England. In the first race, Marco
>> Melandri and Leon Haslam made it to the top two positions of the podium.
>> In the second race, they were ahead of their competitors again until
>> they colided and slipped off the track in the last corner of the race.
>>
>> http://www.worldsbk.com/en/news/5-sbk-news/13229-bmw-celebrate-landmark-wsb-victory.html
>>
>>
>> http://www.youtube.com/watch?v=4tD8hPhK_74
>>
>> http://www.worldsbk.com/en/news/5-sbk-news/13223-incredible-drama-as-rea-wins-and-other-top-riders-go-out.html
>>
>>
>> http://www.youtube.com/watch?v=vUDV6rbxruU
>>
>> What does it all have to do with RTEMS? Optimizing the engine control
>> unit behaviour for the race is vital to provide the best performance for
>> the driver. BMW therefore developed a high speed data logger to collect
>> more than 2MByte/sec of data for performance analysis. This data logger
>> is using RTEMS to achive optimum real time behaviour and optimum speed
>> during data storage and recovery.
>>
>> So surely RTEMS on its own did not win the race, but contributed its
>> share to the success story. I think this is something we all can be
>> proud of.
>>
>> The next race of the Superbike World championship will take place on 28.
>> May in Salt Lake City. We are keeping our fingers crossed for the team
>> to win again.
>>
>> wkr,
>>
>> Thomas.
>>
>> -- 
>> --------------------------------------------
>> Embedded Brains GmbH
>> Thomas Doerfler           Obere Lagerstr. 30
>> D-82178 Puchheim          Germany
>> email: Thomas.Doerfler@...
>> Phone: +49-89-18908079-2
>> Fax:   +49-89-18908079-9
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users@...
>> http://www.rtems.org/mailman/listinfo/rtems-users
>>
>>
> 
> 
> 
> Domenico Di Leo, PhD student, Universit? degli Studi di Napoli Federico II
> Ph:     +39 081 676770
> Fax:    +39 081 676574
> Web: http://wpage.unina.it/domenico.dileo
> 

--

-- 
--------------------------------------------
embedded brains GmbH
Thomas Doerfler
Obere Lagerstrasse 30
D-82178 Puchheim
Germany
email: Thomas.Doerfler@...
Phone: +49-89-18908079-2
Fax: +49-89-18908079-9
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users

Steven Grunza | 24 May 2012 15:23
Favicon

RE: BMW (and RTEMS) celebrating first win at Superbike World Championship

> -----Original Message-----
> From: rtems-users-bounces@... [mailto:rtems-users-
> bounces@...] On Behalf Of Thomas Doerfler
> Sent: Thursday, May 24, 2012 6:49 AM
> To: domenico.dileo@...
> Cc: RTEMS Users
> Subject: Re: BMW (and RTEMS) celebrating first win at Superbike World
> Championship
> 
> Hi,
> 
> Am 24.05.2012 11:49, schrieb domenico.dileo@...:
> > RTEMS eas running on board deployed on the super bike, wasn't it?
> 
> yes, RTEMS works on a data logger add-on board in the engine control
> unit.
> 
> I hope BMW will have a successful race next weekend in Utah ;-)
> 
> wkr,
> 
> Thomas.
> 

  Are any details about the data logger add-on board available, like
manufacturer and model number or what BSP it's using?

  If someone is looking to do a similar activity (Google on embedded
"data logger" "automotive environment") it would be nice if RTEMS popped
to the top of the results list.

Steven G

_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users


Gmane