I am working on TMS320C6711 DSK , implementing Wavelet 2D algorithm for
image processing. I have Image Resolution of about (14000 X 80 ) pixels.
I want to store it into onBoard SDRAM of size 16MB.
Before all that, i want to create a buffer of size short array [80][14000],
and wana initialize it ..
But the problem is that some times at the start or some time at the end i
cannt be able to initialize it problem. I do a simple logic for
initializing it using . nested FOR LOOPS.
I already initialize the SDRAM registers .. it works perfectly with the
size of [80][80] .
I am attaching the Source COde and the LInKER COMMAND FILE that i use to
make it possible.
Please , please please send me some immediate response or some tricks to
handle this
One more thing i did to sort out the problem is that i use some delay loop
after initializing the data and then i read.. after that it works
perfectly
Yahoo!
Messenger - Communicate instantly..."Ping" your friends today!
Download Messenger Now
Reply by Ashfaq Khan●June 3, 20052005-06-03
Ashfaq Khan <e...@yahoo.com> wrote:
Hi Guys!
I am working on TMS320C6711 DSK , implementing Wavelet 2D algorithm for
image processing. I have Image Resolution of about (14000 X 80 ) pixels.
I want to store it into onBoard SDRAM of size 16MB.
Before all that, i want to create a buffer of size short array [80][14000],
and wana initialize it ..
But the problem is that some times at the start or some time at the end i
cannt be able to initialize it problem. I do a simple logic for
initializing it using . nested FOR LOOPS.
I already initialize the SDRAM registers .. it works perfectly with the
size of [80][80] .
I am attaching the Source COde and the LInKER COMMAND FILE that i use to
make it possible.
Please , please please send me some immediate response or some tricks to
handle this
One more thing i did to sort out the problem is that i use some delay loop
after initializing the data and then i read.. after that it works
perfectly
Yahoo! Messenger - Communicate
instantly..."Ping" your friends today! Download Messenger
Now
NEW! You can now post a message or
access and search the archives of this group on DSPRelated.com: http://www.dsprelated.com/groups/c6x/1.php
_____________________________________ 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:
So with the insertion of the delay loops you have convinced yourself that
your image buffers (placed in off-chip RAM, i.e. the ".imgbuf" section) are
being initialized correctly? This leads me to believe that there is something
wrong with how you are initializing the EMIF.
My suggestion to you would be to try using the CSL libraries to initialize
the DSK. You might also try putting together a real simple DSP/BIOS project - I
would hasten to guess then everything would work without having to use funky
work arounds such as busy loops.
Incidentally, I thought you might like to know that I am the author of the
new book Embedded Image Processing on the TMS320C6000 DSP (Examples in
MATLAB and Code Composer Studio). I have an entire chapter on highly
optimized C6x implementations of the 2D discrete wavelet transform, on both the
C67x (floating point) and C64x (fixed point) DSPs. Moreover, I have recently
added some new information on my web-site detailing how to port some of the
projects on the book CD-ROM over to the DM642 EVM platform (click on the book
link).
Regards,
Shehrzad Qureshi
www.squreshi.com
Ashfaq Khan
<e...@yahoo.com> wrote:
Ashfaq Khan <e...@yahoo.com> wrote:
Hi Guys!
I am working on TMS320C6711 DSK , implementing Wavelet 2D algorithm for
image processing. I have Image Resolution of about (14000 X 80 ) pixels.
I want to store it into onBoard SDRAM of size 16MB.
Before all that, i want to create a buffer of size short array [80][14000],
and wana initialize it ..
But the problem is that some times at the start or some time at the end i
cannt be able to initialize it problem. I do a simple logic for
initializing it using . nested FOR LOOPS.
I already initialize the SDRAM registers .. it works perfectly with the
size of [80][80] .
I am attaching the Source COde and the LInKER COMMAND FILE that i use to
make it possible.
Please , please please send me some immediate response or some tricks to
handle this
One more thing i did to sort out the problem is that i use some delay loop
after initializing the data and then i read.. after that it works
perfectly
Yahoo! Messenger - Communicate
instantly..."Ping" your friends today! Download Messenger
Now
NEW! You can now post a message or
access and search the archives of this group on DSPRelated.com: http://www.dsprelated.com/groups/c6x/1.php
_____________________________________ 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:
NEW! You can now post a message or access and search the
archives of this group on DSPRelated.com: http://www.dsprelated.com/groups/c6x/1.php
_____________________________________ 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: