Skip to main content
jakob.brunhart
Associate III
Dec 5, 2018 7:10 AM UTC
Solved

How to move ISRs to ITCM RAM

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.
After Forever
After ForeverBest answer
Senior III
Dec 5, 2018 12:06 PM UTC

5 replies

After Forever
After ForeverBest answer
Senior III
Dec 5, 2018 12:06 PM UTC
jakob.brunhart
Associate III
Dec 5, 2018 12:50 PM UTC

Thank you

Tesla DeLorean
Guru
Dec 5, 2018 1:39 PM UTC

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
Dec 6, 2018 3:03 PM UTC

Thank you for your help. First test was succesful.

Regards

SF??r
Associate III
Jun 11, 2019 8:17 AM UTC

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...