??? 12/14/07 21:52 Read: times Msg Score: +1 +1 Good Question |
#148248 - Executing from External Ram ; THE SEQUEL |
I am starting a new thread on executing code from the External ram in a p89c41rd+ or 89c51rd2. this thread is a sequel to the thread :
http://www.8052.com/forum/read.phtml?id=145879 Which has somewhat served its purpose. I am going to give the outline of my future work. if you find anything wrong in the following then please point it out. i am going to execute the HEX file from the external ram. I have implemneted the checksum algorithm. Now i would be converting the Intel hex file into binary executable format. for this conversion i would strip off the , number_databytes, starting adress,type_of_record and checksum field from the hex file. after this i would place each record of the hex file( i.e. data bytes) in the specific memory locations as specified by each record in the hex file. i am also curious about the different lengths of the records of the HEX file. how many instructions does each record specify? and do the records also have the info about the variables declared in the code which is to be run from the external ram? |