DSPRelated.com
Forums

how should i read/write external memory

Started by harsha sb sb April 2, 2005

Hi steve,

If i want to update the pointers which are stored at External memory (SDRAM) can i update directly or i need to configure the wait register.

Actually in my program when ever i am updating the variables which are stored at the external memory(SDRAM) its not not assigning the pointers correctly.
as i assign i can see in expression window when i step one for next instruction that pointer is assigned to 0x01 i don't know why its happening. can have any explaination regarding this??

Thanks
Harsha S  On Sat, 02 Apr 2005 Steve Holle wrote :
>
>
> >I'm trying to use a 21161 with some data in external memory and some in
> >internal memory.  I need to use the non-SIMD library fundtions for data in
> >external memory as per the manual.  So far, I've only been able to select
> >either entirely SIMD or no SIMD.  Both routines exist in the library but
> >the only way ive found to switch on a library call to non-library call
> >basis is to define or undefine "__NOSIMD__".  This doesn't strike me as a
> >kosher method.  Ive tried using the pragmas "SIMD_for" and
> >"no_vectorization" but they don't seem to have an effect on library calls. >Any ideas? >Steve Holle
>Link Communications, Inc.
>1035 Cerise Rd.
>Billings, MT  59101
>s...@link-comm.com ><*> To visit your group on the web, go to:
>    http://groups.yahoo.com/group/adsp/
>
><*> To unsubscribe from this group, send an email to:
>    a...@yahoogroups.com
>
><* >
>


Hey,

I've never used matlab before and was wondering how one would list functions once an m file was loaded. 

Can anyone give me a command that lists functions in an m file?

David


Yahoo! Messenger
Show us what our next emoticon should look like. Join the fun.


You should have only one function per m-file.

David Straight a rit :
> Hey,
>
> I've never used matlab before and was wondering how one would list
> functions once an m file was loaded.
>
> Can anyone give me a command that lists functions in an m file?
>
> David > Yahoo! Messenger
> Show us what our next emoticon should look like. Join the fun.
> <http://advision.webevents.yahoo.com/emoticontest" target="_blank" rel="nofollow">http://us.rd.yahoo.com/evt1855/*http://advision.webevents.yahoo.com/emoticontest > *
>
> * To <http://docs.yahoo.com/info/terms/>.


At 10:16 PM 4/1/2005, harsha sb sb wrote:

>Hi steve,
>
>If i want to update the pointers which are stored at External memory
>(SDRAM) can i update directly or i need to configure the wait register.

You will need to set up your wait register to access the SDRAM. Are you
working with an EZ-Kit? If so, just grab the SDRAM init code in one of the
EZ-Kit examples. We don't use SDRAM in our design but you will want to
make sure that when you halt the emulator that it doesn't kill refresh. >Actually in my program when ever i am updating the variables which are
>stored at the external memory(SDRAM) its not not assigning the pointers
>correctly.
>as i assign i can see in expression window when i step one for next
>instruction that pointer is assigned to 0x01 i don't know why its
>happening. can have any explaination regarding this??
>
>Thanks
>Harsha S >On Sat, 02 Apr 2005 Steve Holle wrote :
> >
> >
> > >I'm trying to use a 21161 with some data in external memory and some in
> > >internal memory. I need to use the non-SIMD library fundtions for data in
> > >external memory as per the manual. So far, I've only been able to select
> > >either entirely SIMD or no SIMD. Both routines exist in the library but
> > >the only way ive found to switch on a library call to non-library call
> > >basis is to define or undefine "__NOSIMD__". This doesn't strike me as a
> > >kosher method. Ive tried using the pragmas "SIMD_for" and
> > >"no_vectorization" but they don't seem to have an effect on library calls.
> >
> >
> >Any ideas?
> >
> >
> >Steve Holle
> >Link Communications, Inc.
> >1035 Cerise Rd.
> >Billings, MT 59101
> >sholle@shol...
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> ><http://clients.rediff.com/signature/track_sig.asp>
>[] >
> * To

Steve Holle
Link Communications, Inc.
1035 Cerise Rd.
Billings, MT 59101
sholle@shol...


Hi steve,

I am not using EZ-kit, some other prepared board is there .
Can i get the code of intializination of the SDRAM or external memory so that i will try to initialize to my SDRAM memroy.

If you have a code please can reffere.

Thanks
Harsha s  On Mon, 04 Apr 2005 Steve Holle wrote :
>
>At 10:16 PM 4/1/2005, harsha sb sb wrote:
>
> >Hi steve,
> >
> >If i want to update the pointers which are stored at External memory
> >(SDRAM) can i update directly or i need to configure the wait register.
>
>You will need to set up your wait register to access the SDRAM.  Are you
>working with an EZ-Kit?  If so, just grab the SDRAM init code in one of the
>EZ-Kit examples.  We don't use SDRAM in our design but you will want to
>make sure that when you halt the emulator that it doesn't kill refresh. > >Actually in my program when ever i am updating the variables which are
> >stored at the external memory(SDRAM) its not not assigning the pointers
> >correctly.
> >as i assign i can see in expression window when i step one for next
> >instruction that pointer is assigned to 0x01 i don't know why its
> >happening. can have any explaination regarding this??
> >
> >Thanks
> >Harsha S
> >
> >
> >On Sat, 02 Apr 2005 Steve Holle wrote :
> > >
> > >
> > > >I'm trying to use a 21161 with some data in external memory and some in
> > > >internal memory.  I need to use the non-SIMD library fundtions for data in
> > > >external memory as per the manual.  So far, I've only been able to select
> > > >either entirely SIMD or no SIMD.  Both routines exist in the library but
> > > >the only way ive found to switch on a library call to non-library call
> > > >basis is to define or undefine "__NOSIMD__".  This doesn't strike me as a
> > > >kosher method.  Ive tried using the pragmas "SIMD_for" and
> > > >"no_vectorization" but they don't seem to have an effect on library calls.
> > >
> > >
> > >Any ideas?
> > >
> > >
> > >Steve Holle
> > >Link Communications, Inc.
> > >1035 Cerise Rd.
> > >Billings, MT  59101
> > >s...@link-comm.com
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> ><http://clients.rediff.com/signature/track_sig.asp>
> >[]
> >
> >
> >
> >    * To
>
>Steve Holle
>Link Communications, Inc.
>1035 Cerise Rd.
>Billings, MT  59101
>s...@link-comm.com ><*> To visit your group on the web, go to:
>    http://groups.yahoo.com/group/adsp/
>
><*> To unsubscribe from this group, send an email to:
>    a...@yahoogroups.com
>
><* >
>