cancel
Showing results for 
Search instead for 
Did you mean: 

H7: vector table in ITCM, jump app <-> bootloader

LCE
Principal II

Heyho,

I recently started using ITCM SRAM in my H733 project, functions there working well.

Then I thought that it might make sense to also copy the vector table and some interrupt handlers to ITCM.
And this for the custom bootloader (BL) and the application.

... and now I have some strange effect when jumping back and forth:

  • jump BL to app: no problems at all, both the "auto-jump" after reset / power-up is working, so does a manually triggered jump
  • jump app to BL: and here it hangs, and so does the debugger...

I'm basically using the same functions with different addresses, and in main also doing the same at start: copying the vector table to ITCM

.... and now that I almost completed this post, I found that I moved the SysTick init after the peripheral clock init in the bootloader, and this uses the SysTick. Oh my... nothing to do with ITCM.

Always good to write things down! :D

Thanks anyway!

 

 

0 REPLIES 0