- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello
it is my first participation my project consist to acquirit signal from tv decoder(ADV7181) and display it to page web I have an example of a simple web server of altera but I want to change its Body Program is there a way to access to data from SRAM by nios ii ? if yes have you any c example program to do that i want to added it to my program principal? thanksLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just allocate a buffer and use it. Either declare a fixed table, or use a malloc() call
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
realy thanks for your answer and i'm sorry for multiposte
please can you more explain because i m beginner ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
after allocation of merory with malloc() what function I use to read data SRAM ? i can use simpl function like read() or there is special function to do that? thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just use pointers.
This has nothing specific to the Nios platform, it is standard C.
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