Forum Discussion
Altera_Forum
Honored Contributor
16 years agotv-decoder to web server
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? thanks4 Replies
- Altera_Forum
Honored Contributor
Just use pointers.
This has nothing specific to the Nios platform, it is standard C. - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
realy thanks for your answer and i'm sorry for multiposte
please can you more explain because i m beginner ? - Altera_Forum
Honored Contributor
Just allocate a buffer and use it. Either declare a fixed table, or use a malloc() call