- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've been working a long time with NIOS II Stratix edition.
I want to improve my system's performance by adding DMA. My problem is, that everything is working well. However if only add DMA to my system, even a simple printf instruction doesn't print on the screen hrough jtag. As a target I want to copy data from custom peripheral to SDRAM memory. However at this time I just want my project to work with DMA instantiated. If you have suggestions, please write. Or could give me a link to a simple project which uses DMA. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gifLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Most (if not all) "Full Feature"ed designs have Avalon DMAs. There is nothing special about adding a DMA. It's just another Avalon master.
I would double check your SOPC Builder design to make sure that your processor is still connected, correctly. Additionally, I would step through all of the code in alt_sys_init() to determine what (if anything) is failing to initialize. Cheers, - slacker- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by slacker@Jun 19 2006, 12:19 PM most (if not all) "full feature"ed designs have avalon dmas. there is nothing special about adding a dma. it's just another avalon master.
i would double check your sopc builder design to make sure that your processor is still connected, correctly. additionally, i would step through all of the code in alt_sys_init() to determine what (if anything) is failing to initialize.
cheers,
- slacker
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16253)
--- quote end ---
--- Quote End --- there is examples in the nios2 software development handbook
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif Thank you for the advices
I verified the cpu connections, alt_sys_init and I looked to the handbook. All of the devices are instantiated and initialized in the alt_sys_init (as those in full_featured system from design example from nios2 kit), the cpu is configured as before adding dma so it should be fine. HOWEVER it's NOT http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Do you know any other reason?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif Thank you for the advices
I verified the cpu connections, alt_sys_init and I looked to the handbook. All of the devices are instantiated and initialized in the alt_sys_init (as those in full_featured system from design example from nios2 kit), the cpu is configured as before adding dma so it should be fine. HOWEVER it's NOT http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Do you know any other reason?
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