ruby krishna

xgate in ram / x gate in flash

Discussion created by ruby krishna on Jun 27, 2012
Latest reply on Jun 28, 2012 by kef



I have a problem with HCS12x microcontrollers.


 Xgate code either run from RAM or the FLASH ( RAM is more preferrable as  x gate runs only at half the speed of CPU ).


i came to know that at the startup.c,  x gate code is copied from 'flash' to 'ram'.


Inorder to trace this two project files


1. with xgate in flash

2.with xgate in ram


I compared both the files  i.e startup.c and datapage.c for both x gate in ram and x gate in flash  . There is no single difference between the two....


i'm confused!!!.... howz the demarcation done between x gate in flash - > x gate ram in startup.c


help me out