| ??? 05/25/03 05:55 Read: times |
#46583 - RE: code into eXternal RAM Responding to: ???'s previous message |
Rob M. wrote:
--------------------------------------------- doesnt that mean, that i wont start my system from XRAM wihout PC (sending XRAM program start address)? -------------------------------- that is correct to the extent that you need an external agent like PC or like those old development kit monitor programs to specify.address specification by external device is useful not just for starting program but also for executing the code in parts via breakpoints. -------------------------------------------------- I mean, lets say i load in XRAM code with the vector table from 1003h,... and program starts from 1033h. I turn OFF the system. SET EA=0. Then turn the system ON. How to let XRAM know to start program from 1033h, because ORG 0 is reserved by BOOTSTRAP(?) If i will leave EA=1 before powering up system, it will go to bootstrap loader. I dont need that. Doesnt it finally mean, that i'm stucked, or just dont know something. -------------------------------- debugging with RAM trated as ROM shall work only if power is not turnd off.if one decides to have a NVRAM in place of standard RAM then code may be retained but since the RAM is mapped at different base address than 00 it can't start on its own.having a jumper to change base address may or may not help depending upon use of relative/absolute address in code. while debugging your base address for code is 1000h.when you are satisfied with the results you can change the base address to 00 and load it on chip.i hope its not OTP. Pranav |



