Forum Discussion
Altera_Forum
Honored Contributor
20 years ago<div class='quotetop'>QUOTE </div>
--- Quote Start --- 2) I get Perror: Bad Address when I try to send an SDRAM buffer over a TCP socket, regardless of the size of the buffer. Googling for this perror I see that it's caused by an 'invalid address'.[/b] --- Quote End --- In (the unlikely) case anyone has this same problem, I was able to remedy this situation by editing 'access_ok()' in 'include/asm-nios2nommu/uaccess.h' to allow addresses in SDRAM. Out of the box, the function checks that the given address is between nasys_program_mem and nasys_program_mem_end. My SDRAM is not in this range. YMMV. Ryan Quantapoint