HI , I have written following code for writing and reading from DDR3 of zynq. It is not displaying any outputs. What's wrong with this:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
problem in writing and reading from DDR3 in zed boardHI , I have written following code for writing and reading from DDR3 of zynq. It is not displaying any outputs. What's wrong with this:
Sai S. wrote: > It is not displaying any outputs. Maybe your monitor is broken? > It is not displaying any outputs. What happens instead? Where do you get "no output"? What do you expect to happen where? What do you get instead? Does a simple printf("Hello world!") show any output? BTW: Pls wrap your C code with the [c] tokens, as described in "Formatting options" a few lines above every text input box here. HI A simple "hello world" prints in console. The program i have posted prints nothing. But it compiles without any error. Sai S. wrote: > But it compiles without any error Debug with single step or add some printf() to find out where your software stucks:
BTW: where do you have the 0x01000000 from? 0x01000000 is my DDR3 address If your C library is buffering stdio(which I suppose it does), output will only arrive at the console if you initiate a buffer flush. Either provide at least a single "\n" to you output strings or do a fflush(stdoout). thank you ReplyPlease log in before posting. |