cancel
Showing results for 
Search instead for 
Did you mean: 

Keil vs Raisonance StartUp files

4310239955_stm1
Associate II
Posted on January 18, 2007 at 09:47

Keil vs Raisonance StartUp files

15 REPLIES 15
4310239955_stm1
Associate II
Posted on May 17, 2011 at 09:35

Hi Vincent!

Thanks for your advice ;)

I did what you said. I have correct version of IDE(746) and the example of AD converter runs all right.

But I tried to insert a code for the interrupt of Timer1 into this example. Both of the timers are running but the interrupt of timer1 isn´t called.

I´m sending you my project. please could you take a look at the example?

I don´t know where is an error.

thanks

hanzz

vincentchoplin9
Associate II
Posted on May 17, 2011 at 09:35

Hi,

I think you just need to call TIM_ITConfig at some point.

I managed to get to a breakpoint in TIM1_IRQHandler with your project by adding this around the end of your main: (just before the call to ADC_ITConfig)

/* TIM interrupt config */

TIM_ITConfig(TIM1, TIM_IT_TO, ENABLE);

Please give it a try and let me know if it works.

Best Regards,

Vincent

vaclav2
Associate II
Posted on May 17, 2011 at 09:35

Hi VincentC

All is all right!!!!!!!!!!!!!!!

Thaks you for yor help! :D

(I was blinking with wrong pin in the interrupt. :-] )

vaclav2
Associate II
Posted on May 17, 2011 at 09:35

Hi VincentC,

Thanks you for your advice!

I have BN746-ST7-ARM-80C51-P1-STR750 and ARM ToolChain 1.1.15.

I made all, but it has no effects.

I will attempt support from Raisonance.

Thanks and Best regards

Vendelin

P.S.

IS HERE ANYBODY, WHO WORKS IN THE RIDE IDE AND HAS CORRECT FUNCTION OF TIMERS and INTERRUPTS? :-?

[ This message was edited by: Vendelin on 18-01-2007 08:16 ]

4310239955_stm1
Associate II
Posted on May 17, 2011 at 09:35

Hi Vincent!

The bug was only that forgotten line :D

Now it runs all right :D

Thank you verrry much!

best regards!

Hanzz

vincentchoplin9
Associate II
Posted on May 17, 2011 at 09:35

Quote:

On 18-01-2007 at 08:02, Vendelin wrote:

I will attempt support from Raisonance.

Then I will answer! ;)

Glad to hear it works.

BR

Vincent (Raisonance)

[ This message was edited by: VincentC on 18-01-2007 14:20 ]