- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there....
I am working on ssram based program. I am using EP2C70F672C6N Dsp Develpoment Kit and Quartus 11.1 . I have made a simple system in Qsys with ssram and leds as peripherals. But when i run my nios ii program, the nios ii console doesn't show any output. Even the leds don't glow at all. But when i remove ssram, the program works.. Can anyone help me? I have attached the Qsys system and nios ii program.. Thankyou....
multiple-attachments.zip
(Virus scan in progress ...)
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
1) you could add flush() instructions to flush the stdout after the printf(). You will see immediately the printf() messages. 2) Your SSRAM is at address 0x00000000. This may be where your program is downloaded. So, your RAM test loop may overwrite you program. Try with addr 0x00000 located on an other RAM. 3) You can "debug" your software step by step ! (You have no timer, no watchdog.... which could make hard to debug)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Hi, 1) you could add flush() instructions to flush the stdout after the printf(). You will see immediately the printf() messages. 2) Your SSRAM is at address 0x00000000. This may be where your program is downloaded. So, your RAM test loop may overwrite you program. Try with addr 0x00000 located on an other RAM. 3) You can "debug" your software step by step ! (You have no timer, no watchdog.... which could make hard to debug) --- Quote End --- Hi... I tried all your suggestions. But unfortunately nothing worked. I have included watchdog timer and interval timer in the design. I have also changed the addresses of ram (which is connected to cpu instruction master) and ssram. The problem is, that the LEDs don't blink even once. If there is some problem with ssram, then atleast LEDs must blink.. but they are not... Here is the snapshot of my system to make myself clear...
qsys_new.jpg
(Virus scan in progress ...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Disable watchdog.
Maybe you have a reset problem (active low and active high). Have you really "debug" and and run step by step at least the LEDs instructions.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page