I need to play a audio raw data by serial port to dac, so I declare a data array named sound1,and put it in sdram0_bank1,as the picture display,the real data in the sdram is not equal to the array,I use visualdsp++5.0 ,how can I do that?
is this a custom based hardware or an ADI Evaluation Board?
From you disassembly window I can see function calls to initialize the EBIU. If you try to load code/data to SDRAM via the Emulator before initializing it, you won't get them stored. Actually, you should get an Hardware Error 0x3. Look at your Sequencer Status Window.
the board is our own product board, the window you see is that when I debug in my own board,and I use the HUSB-ICE, But my SDRAM is 32MB.
for Evaluation Boards, we use the register-reset-definitions section in e.g. "\System\ArchDef\ADSP-BF533-proc.xml" to pre-initialize the EBIU before downloading code through the Emulator. You either re-use this file and change the settings there (make a Backup before) or create you own custom based xml file, which is explainen in the VisualDSP++ Online help.
but what about the loader file, which file need to be changed?
you need to include a so called "init_code" in the loader part of the project options. Examples can be found in VisualDSP++: \Blackfin\ldr\init_code\asm
Out of the examples, you can create your own one.
Retrieving data ...