cancel
Showing results for 
Search instead for 
Did you mean: 

Systick interrupt not working on BOOT_ADD1 context

ABITT.1
Associate III

Hi,

I develop a software using delay (and do Systick resource). This software works fine when it's mapped @0x08000000 and using BOOT_ADD0.

But, when I maps it @0x08008000 and use BOOT_ADD1, no Systick raises !

Somebody has already resolve this problem.

Thanks in advance.

23 REPLIES 23
berendi
Principal

> the 0x0800003C and the 0x0800803C are into the interrupt vector table and correspond to the systick hanlder.

What are the values there?

ABITT.1
Associate III

I've tried some cases :

  • application mapped to 0x08000000 with BOOT_ADD0=0x2000 ==> OK
  • application mapped to 0x08004000 with BOOT_ADD0=0x2001 ==> KO (the application starts but waits at the first HAL_delay())

The HAL_delay function waits some millisecond, the counter is incremented by the systick_handler, handler under interrupt.

I really think that I have bad setup some where ! but where ?

berendi
Principal

> but where ?

How could I guess when you don't answer my question about the contents of the flash at 0x0800003C and 0x0800803C ?

ABITT.1
Associate III

of course, sorry :(

@0x0800003C and @0x0800803C I have the address of the systick_handler (handler incrementing a static variable on each IT at 1ms).

berendi
Principal

And how do I guess their values?

ABITT.1
Associate III

This values seem to be good.

when I look the flash memory address corresponding to the 0x0800803C content, it correspond to the systick_handler !

The problem isn't there.

The problem is that there isn't IT event raised !

berendi
Principal

Sorry, if you don't tell the values, I can't help you any further.

ABITT.1
Associate III

OK

@0x0800803C contains 0x08008F25...

and this address location correspond to the systick_handler...

ABITT.1
Associate III

0693W000001rPH7QAM.jpg0693W000001rPGeQAM.jpg

berendi
Principal

What value does the SCB->VTOR register contain?