cancel
Showing results for 
Search instead for 
Did you mean: 

SysTick example from FWLib is not running the interrupt?

Posted on April 09, 2009 at 19:23

SysTick example from FWLib is not running the interrupt?

3 REPLIES 3
Posted on May 17, 2011 at 13:09

Hello,

I start with STM32 using STM3210E Board, CrossWorks IDE and USB/JTAG adapter made by a local manufacturer (based on FTDI chip).

I downloaded the SysTick example from FWLib by both THUMB RAM Debug and Release Configurations but there is no toggle of LEDs - only the first lighting on. By debugging, SysTick Timer runs but Systick Interrupt is probably not fired so there is no propagation in the Delay function.

Any advice?

Thank you.

Ivan

Posted on May 17, 2011 at 13:09

I have already solved the issue. There is no interoperation between CrossWorks RAM Linker Configuration and STM library that uses VECT_TAB_RAM definition to set a relocation of the interrupt vector table into RAM.

So I had to insert this definition into the Preprocessor Definitions.

Ivan

jeba
Associate II
Posted on May 17, 2011 at 13:09

Hi, I don't know if I have the same problem.

In my case I want the CPU to wake up from stop mode on the systick interrupt. BUT this only works if I have the Jtag debugger connected to target.

I run application from FLASH.

If I run the target with power supply only, it seems that systick is never enabled.

Why is that and how can I make the systick work eventhough the debugger is not connected.

Many thanks for any help.