Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: Interrupt vector in the RAM: any cons using this ?

$
0
0
[quote user="old_cow_yellow"]Normal practice is, you do not intentionally change IV, code, or constants. Thus you are not gaining the advantage of being able to change them intentionally, you only opened the possibility of incidentally changing them. [/quote] Yes, that's a very good point. If you do put the interrupt vectors and/or service routines into RAM it may be worth considering using a memory layout where the stack doesn't grow towards them: http://embeddedgurus.com/state-space/2014/02/are-we-shooting-ourselves-in-the-foot-with-stack-overflow/

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>