Topic : Using inram functions

Forum : ST7/STM8

Original Post
Post Information Post
June 27, 2012 - 4:56pm
Guest

Hi,

While an inram function is executing, does letting interrupts open cause any problems? Because when an interrupt comes, the code will jump from Ram area to Flash area where the interrupt function resides.

And another question, inside an inram function, does reading registers of the processor cause any problems?

Thank you.

Replies
Post Information Post
+1
0
-1
June 27, 2012 - 5:06pm
Raisonance Support Team

Hi,

Code in RAM is interrupted as normal. There should be no problem, unless of course if your RAM function modifies the flash...

It can also access the registers normaly.

I hope it helps.

Vincent