I'm using Visual DSP++ 3.1 for a SHARC processor on a 21161N EZ-Lite
board. I'm wondering if I can move the library that contains the items supported by strstream.h into external memory. If so, what libraries do I move and how do I go about it. I've moved some of my code into external memory using the visual linker but am unsure what libraries I can or should move into external memory. |
|
Moving libraries to external memory.
Started by ●August 6, 2003
Reply by ●August 6, 20032003-08-06
--On Wednesday, August 06, 2003 1:15 PM -0600 Steve Holle <> wrote: > I've moved some of my code into external memory > using the visual linker but am unsure what libraries I can or should move > into external memory. Don't move the interrupt stuff. It has self-modifying code that depends on being in internal memory to work. (A PM vs DM addressing issue.) I believe everything else can be moved with impunity. |
|
Reply by ●August 6, 20032003-08-06
I'm not sure what you mean by interrupt stuff. Do you mean just the interrupt routines I've written or are there some library routines I shouldn't move because they contain interrupt stuff? How can I tell? Thanks for your help. At 02:42 PM 8/6/2003 -0700, Kenneth Porter wrote: >--On Wednesday, August 06, 2003 1:15 PM -0600 Steve Holle ><> wrote: > > > I've moved some of my code into external memory > > using the visual linker but am unsure what libraries I can or should move > > into external memory. > >Don't move the interrupt stuff. It has self-modifying code that depends on >being in internal memory to work. (A PM vs DM addressing issue.) I believe >everything else can be moved with impunity. > >_____________________________________ >Note: If you do a simple "reply" with your email client, only the author >of this message will receive your answer. You need to do a "reply all" if >you want your answer to be distributed to the entire group. > >_____________________________________ >About this discussion group: > >To Join: Send an email to > >To Post: Send an email to > >To Leave: Send an email to > >Archives: http://groups.yahoo.com/group/adsp > >Other Groups: http://www.dsprelated.com/groups.php3 >">http://docs.yahoo.com/info/terms/ |
|
Reply by ●August 6, 20032003-08-06
--- In , Steve Holle <sholle@l...> wrote: > I'm using Visual DSP++ 3.1 for a SHARC processor on a 21161N EZ- Lite board. Sorry, but I don't have an answer to your problem off hand, but I'm curious as to where you got rev 3.1 for the Sharc - I see only 3.0 on the ADI page. > > I'm wondering if I can move the library that contains the items supported > by strstream.h into external memory. If so, what libraries do I move and > how do I go about it. I've moved some of my code into external memory > using the visual linker but am unsure what libraries I can or should move > into external memory. |
|
Reply by ●August 6, 20032003-08-06
Sorry, it is 3.0 not 3.1. I had a momentary flashback to my windows 3.1 days. Scarry! At 10:24 PM 8/6/2003 +0000, bhaskar_thiagarajan wrote: >--- In , Steve Holle <sholle@l...> wrote: > > I'm using Visual DSP++ 3.1 for a SHARC processor on a 21161N EZ- >Lite board. > >Sorry, but I don't have an answer to your problem off hand, >but I'm curious as to where you got rev 3.1 for the Sharc - I see >only 3.0 on the ADI page. > > > > > I'm wondering if I can move the library that contains the items >supported > > by strstream.h into external memory. If so, what libraries do I >move and > > how do I go about it. I've moved some of my code into external >memory > > using the visual linker but am unsure what libraries I can or >should move > > into external memory. >_____________________________________ >Note: If you do a simple "reply" with your email client, only the author >of this message will receive your answer. You need to do a "reply all" if >you want your answer to be distributed to the entire group. > >_____________________________________ >About this discussion group: > >To Join: Send an email to > >To Post: Send an email to > >To Leave: Send an email to > >Archives: http://groups.yahoo.com/group/adsp > >Other Groups: http://www.dsprelated.com/groups.php3 >">http://docs.yahoo.com/info/terms/ |
Reply by ●August 6, 20032003-08-06
--On Wednesday, August 06, 2003 4:19 PM -0600 Steve Holle <> wrote: > I'm not sure what you mean by interrupt stuff. Do you mean just the > interrupt routines I've written or are there some library routines I > shouldn't move because they contain interrupt stuff? How can I tell? The stuff in the library. A quick check of the library sources suggests that the only locations being modified are in the irptl.asm module. So just make sure that one remains in internal memory. However, that reminds me of another anomaly that loses interrupts if the IRPTL register is written from code in external memory. I forget the details but grep the sources for places where IRPTL is touched and keep those in internal memory. |