- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#include <stdio.h>
int main() { printf("Hello from Nios II!\n"); return 0; } i use on chip ram and jtag_uart can output correct:"hello from nios II!" but use ext_sram and jtag_uart :nios2-terminal: connected to hardware target using JTAG UART on cable nios2-terminal: "USB-Blaster [USB-0]", device 1, instance 0 nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) can not output please help me why?thanks!Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by dspchunjie@Oct 31 2005, 11:35 AM i use on chip ram and jtag_uart can output correct:"hello from nios ii!"
but use ext_sram and jtag_uart :nios2-terminal: connected to hardware target using jtag uart on cable
nios2-terminal: "usb-blaster [usb-0]", device 1, instance 0
nios2-terminal: (use the ide stop button or ctrl-c to terminate)
can not output
please help me why?thanks!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10693)
--- quote end ---
--- Quote End --- If it works from onchip_ram but not from ext_sram, it is probably a problem with the access to the memories. Try to debug the system, and see what kind of code you are executing... if you find that the assembler instructions the CPU is executing is something like "00...000" or "fff...ff", then it's probably a problem in the access to the memories. ...Are you able to debug the application from the Nios II IDE? bye PJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What speed are you running the sram at? That memory is an asyncronous device so offchip timing is important to focus on.
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