DSPRelated.com
Forums

Re: hpi boot

Started by bcas...@millerwelds.com July 17, 2008
If you are not writing or reading external memory before releasing the DSP, then you can let the DSP set the EMIF.

We find that the program doesn't run after setting DSPINT if the emulator is connected.

Sometimes if the emulator is connected the HPI writes do not happen correctly, either.
>
>
>
> hello everyone �
>
> I have following queries �regarding the hpi
>
> a) �According the doument the �spra 512 �the emif is intiallized via the �hpi . does �it neccessrily have to be done that way �?
> b) �I �have a �6713dsk �which has different set of the �emif register �from �620X �( �given in the document �spra 512 ) . how �do i �configure � �
> Emif �register �?
> c) �Even after setting the dspint �the �program doesnot �run �?
> d) can i open the ccs for the slave board �while �iam booting via hpi ? �
>
>
> Regards
>Selvaraj.v
>
>
>______________________________________________________________________
>
>
>
This message appears to be forwarded or something...

On Thu, Jul 17, 2008 at 2:19 PM, wrote:
> If you are not writing or reading external memory before releasing the DSP, then you can let the DSP set the EMIF.
>
> We find that the program doesn't run after setting DSPINT if the emulator is connected.
I *believe* that if you
1. connect the emulator
2. load a branch to self loop [with NOPs in the delay slot] into some
location that you will not access
3. do a 'run' from CCS
4. do an HPI program load
5. DSPINT
The target will take off running. If you have an embedded breakpoint
early in your code, it should halt there.
>
> Sometimes if the emulator is connected the HPI writes do not happen correctly, either.
If the target is running, I think that it should work. The some
members of the c6x DSP family may behave differently.
<>
>> hello everyone
>>
>> I have following queries regarding the hpi
>>
>> a) According the doument the spra 512 the emif is intiallized via the hpi. does it neccessrily have to be done that way?
Like mentioned above, you cannot write to SDRAM unless the EMIF
is initialized.

>> b) I have a 6713dsk which has different set of the emif register from 620X ( given in the document spra 512 ). how do i configure
>> Emif register?
Open the DSK GEL file - it contains the EMIF initialization
values [the 'GEL code' is very C-like and fairly easy to understand]

>> c) Even after setting the dspint the program doesnot run?
Look at address 0. Is there a branch to the program 'c entry point'??

>> d) can i open the ccs for the slave board while iam booting via hpi?
yes, you should be able to.

mikedunn
>> Regards
>>Selvaraj.v
>>______________________________________________________________________
>>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php