cancel
Showing results for 
Search instead for 
Did you mean: 

How to move ISRs to ITCM RAM

jakob.brunhart
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
5 REPLIES 5
jakob.brunhart
Associate III

Thank you

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
Up vote any posts that you find helpful, it shows what's working..
jakob.brunhart
Associate III

Thank you for your help. First test was succesful.

Regards

SF??r
Associate III

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