EmbeddedRelated.com
Forums

CCE critical sections

Started by rockstardrums February 18, 2007
I am a new user to CCE for MSP430 developement (I was useing AQ430
before) and I wanted to know anyone knew of support for critical
sections or monitor functions in CCE. Porting code with critical
sections has become quite a problem for me. I would prefer to avoid
using inline assembly directives if possible. Even a response stating
definitively that there is no support for critical sections in CCe
would be helpful so i know that I have to think of another way. Thanks.

Adam

Beginning Microcontrollers with the MSP430

Does CCE include an RTOS too? I didn't know that!

----- Original Message -----
From: rockstardrums
To: m...
Sent: Sunday, February 18, 2007 5:06 PM
Subject: [msp430] CCE critical sections
I am a new user to CCE for MSP430 developement (I was useing AQ430
before) and I wanted to know anyone knew of support for critical
sections or monitor functions in CCE. Porting code with critical
sections has become quite a problem for me. I would prefer to avoid
using inline assembly directives if possible. Even a response stating
definitively that there is no support for critical sections in CCe
would be helpful so i know that I have to think of another way. Thanks.

Adam
On 18/02/2007 18:06, rockstardrums wrote :
>
> I am a new user to CCE for MSP430 developement (I was useing AQ430
> before) and I wanted to know anyone knew of support for critical
> sections or monitor functions in CCE. Porting code with critical
> sections has become quite a problem for me. I would prefer to avoid
> using inline assembly directives if possible. Even a response stating
> definitively that there is no support for critical sections in CCe
> would be helpful so i know that I have to think of another way. Thanks.
>
> Adam
>
>
Have a look to the C, C++ user manual page 6.26 about intrinsics.

Pascal
On 18/02/2007 18:55, Richard (UK). wrote :
>
> Does CCE include an RTOS too? I didn't know that!
>
> ----- Original Message -----
> From: rockstardrums
> To: m...
> Sent: Sunday, February 18, 2007 5:06 PM
> Subject: [msp430] CCE critical sections
>
> I am a new user to CCE for MSP430 developement (I was useing AQ430
> before) and I wanted to know anyone knew of support for critical
> sections or monitor functions in CCE. Porting code with critical
> sections has become quite a problem for me. I would prefer to avoid
> using inline assembly directives if possible. Even a response stating
> definitively that there is no support for critical sections in CCe
> would be helpful so i know that I have to think of another way. Thanks.
>
> Adam
>
>
>
>
> 16:35
>
No, you have to write your own one or use a third party RTOS.

Pascal
No RTOS?

So the original monitor / critical section question really applies to the RTOS being used and NOT to the CCE environment.
----- Original Message -----
From: Pascal
To: m...
Sent: Sunday, February 18, 2007 7:30 PM
Subject: Re: [msp430] CCE critical sections
On 18/02/2007 18:55, Richard (UK). wrote :
>
> Does CCE include an RTOS too? I didn't know that!
>
> ----- Original Message -----
> From: rockstardrums
> To: m...
> Sent: Sunday, February 18, 2007 5:06 PM
> Subject: [msp430] CCE critical sections
>
> I am a new user to CCE for MSP430 developement (I was useing AQ430
> before) and I wanted to know anyone knew of support for critical
> sections or monitor functions in CCE. Porting code with critical
> sections has become quite a problem for me. I would prefer to avoid
> using inline assembly directives if possible. Even a response stating
> definitively that there is no support for critical sections in CCe
> would be helpful so i know that I have to think of another way. Thanks.
>
> Adam
>
>
>
>
> ----------------------
>
> 16:35
>
No, you have to write your own one or use a third party RTOS.

Pascal