- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey all,
I've got some custom logic with memory allocation, that is addressable through a NIOS II avalon entity. When executing code from within uClinux I notice strange behavior when writing to this area. When I carry out a write, I observe (through various probing techniques) a read being issued first. I'm assuming the kernel generates this. Can someone explain why this would be and if the preceding read can be avoided? Thanks again for any and all help, MattLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good flow of traffic lately, so I'll give this one more shot...
~Bump http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/unsure.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by keplin@Apr 28 2006, 04:12 AM hey all,
i've got some custom logic with memory allocation, that is addressable through a nios ii avalon entity. when executing code from within uclinux i notice strange behavior when writing to this area. when i carry out a write, i observe (through various probing techniques) a read being issued first. i'm assuming the kernel generates this.
can someone explain why this would be and if the preceding read can be avoided?
thanks again for any and all help,
matt
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14776)
--- quote end ---
--- Quote End --- Did you use uncached I/O access or address?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Brilliant!!! I changed the address MSB of all my memory accesses through this custom logic to 1 to bypass data cache, and now everything is happy.
Thanks Hippo!
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