Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
hi treqer
I do what you say
Before downloading the txt file in DDR2-SDRAM, I read the 10 first memory at address 0 like this:
ReadReg(0x00000000,0,res1);
xil_printf("data=%d\n",res1);
ReadReg(0x00000000,4,res2);
xil_printf("data=%d\n",res2);
ReadReg(0x00000000,8,res3)...
hi treqer
I used ReadReg and nothing
I obtained 17 instead of 5 for the first value in the address 0x00000000 !!!!!!
and when I change my file il SRAM for exemple, I obtained an other value such as 53 :(
plz help me if you know what is the source of problem
thank
thank for your replay
The program, heap and stack are in "xps_bram_if_cntlr_1"
the heap and the stack are the size of 1000 bytes
For the Heap and Stack, I must make the tab "memory" to DDR2_SDRAM_C_MEM_BASEADDRESS"?
I don't understand what mean " Are you sure that you address 0 data, not the software?"
and I want to read from DDR not from BRAM
I use addresses for loading and reading as indicated in the attached figure
hi treqer
thanks for your replay
I load a txt file to DDR2 widt xmd dow command.
My txt file is as follow
I follow your C function but I obtain a wrong value for the first data that is "5"
the result obtained is addr=00000000 mem= 00000011
!!!!!!
plz help, I used also XIO_IN8(DDR2_BaseAddress)...
Hi,
I use EDK 11.1 and To create powerpc processor, I used BSB wizard in XPS and for C code I used the "Add software application project".
The problem is that after doing all steps for programming FPGA (ML507) nothing appear in the HyperTerminal. But when I build the project"...
Thanks for your replay;
I don't use BRAM for storing my image and I need some help for the DDR.
By searching, I find these XMD commands:
1. Under EDK, start the EDK shell and type xmd.
2. In XMD type dow -data myfile.dat 0x<DDR starting address> to download the file in the DDR starting address...
hi,
I would like to store my color image 640*480 pixels in a memory (BRAM or DDR2-SDRAM).
The block Ram is it sufficient to store the hole of my image, or I must created 3 BRAMs for the Red,Green and Blue values ?
If I use the DDR2 , I can use the XMD command :
dow -data image.jpg...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.