This is Daniel, not Carlos.  I’m not totally sure I’m following what’s going on.  You have a program that is being loaded by the RBL over UART or out of the NAND and into Internal memory?  The program should print “hello” and it does.  But when you try to run the program out of DDR, it doesn’t work? 

 

But how are you loading it into DDR and how are you setting the PC.  Is this being done over JTAG?  Or have you written your UBL/App to load this info into RAM and run it.  Either way the DDR must be initialized (timings set, PLLs started, and so forth) before you go do anything with it.  Maybe this is the problem?  More details could help.

 

Regards,

Daniel

 

Daniel J. Allred

Software Applications

Catalog DSP / End Emerging Equipment


From: sunder [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 04, 2006 11:52 PM
To: Allred, Daniel; sunder; [email protected]
Subject: Re: DaVinci UART Boot

 

Hi Carlos,

 

Thanx for that piece of info.

 

The prime concern is the failure of switchin of the PC to the next execution address. I am trying to run an application from DDR and am xferring the entrypoint to the start address of the bufer in DDR wherin i hve loaded the binary of my application. I can even check out the contents of the PC and other registers through JTAG but they dont happen automatically. To sum up,

1. A Binary image which IF i load into the SoC as a UBL prints "Hello" onto the terminal. But then this same binary in DDR doesnt.

2. PC switchin must be automatiic and continous which i m not able to verify.

 

----- Original Message -----

Sent: Wednesday, October 04, 2006 8:44 PM

Subject: RE: DaVinci UART Boot

 

Put an infinite loop at the end. Otherwise the PC will just go to the next mem location and try to run it, and it will probably result in some invalid exception and then the system will go to the the interrupt vector table and start all over.

 

Daniel J. Allred

Software Applications

Catalog DSP / End Emerging Equipment


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sunder
Sent: Wednesday, October 04, 2006 12:47 AM
To: [email protected]
Subject: DaVinci UART Boot

 

Hi all,

 

Once we load secondary stage boot loader into the memory how does the processor know how many bytes of instructions to execute. Say if my NAND is all of zeros and my application code is only 40 bytes how can i ensure that after the execution of those 40 bytes the SoC does not revert back to BOOTME?

 

 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to