Forum Discussion
Altera_Forum
Honored Contributor
11 years agoNios and tcl script writing to RAM
Hi, I have an image loaded with a Nios , Jtag master and jtag UART. I have wrote C code to write to the on-chip RAM. I have also a tcl script that can read and write to the RAM. When ...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- I am reading from the same memory locations. Maybe I am missing something else ? --- Quote End --- Take a look at your processor linker script. You need to make sure that the memory you are writing and reading to is not being used by the processor, eg., for malloc or stack or program area. It the values are changing, then halt the processor and try again. If they do not change with the processor halted, then your problem is likely you are writing to an area that you have told the processor (via the linker script) belongs to it. Cheers, Dave