Skip to main content
jakob.brunhart
Associate III
December 5, 2018
Solved

How to move ISRs to ITCM RAM

  • December 5, 2018
  • 5 replies
  • 1721 views

Hello,

I try to run an ISR (void TIM3_IRQHandler(void)) in the ITCM RAM area.

I'm new with scatter-files. Anybody has an example?

(NUCLEO-H743ZI, Keil uVision)

Regards

Jakob

This topic has been closed for replies.
Best answer by After Forever

Check out AN4296 at https://www.st.com/resource/en/application_note/dm00083249.pdf

5 replies

After Forever
After ForeverBest answer
Senior III
December 5, 2018
jakob.brunhart
Associate III
December 5, 2018

Thank you

Tesla DeLorean
Guru
December 5, 2018

One could call out the stm32h7xx_it.o (the object) in the scatter file and direct it into a RAM Region

Real problem is everything you might call, or library code.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
jakob.brunhart
Associate III
December 6, 2018

Thank you for your help. First test was succesful.

Regards

SF??r
Associate III
June 11, 2019

With help of the AppNote I put the HAL lib and the FreeRTOS files (*.o) successful to the ITCM RAM region (gcc). But if I add the *_it.o file like in the example it will rise hardfault ISR after a while (interestingly successful). What could be the reason for this? Some interrupts seems to work without problem...