Forum Discussion
Altera_Forum
Honored Contributor
14 years agoSystem Console & master_write_32 — can't do this while target is running?
I had a simple controller written in Verilog that was configuring Altera's TSE MAC. Up to this point, it was fairly simple. However, what I wanted to do next is to set a lot of Marvel PHY's settings ...
Altera_Forum
Honored Contributor
14 years agoI think the Jtag Avalon Master component is somewhat faster than the Nios II OCI, but of course it uses more logic.
If you want to use the Nios II OCI then the commands you need are [processor_stop <path>] before the memory accesses and [processor_start <path>] afterwards. Which version of SystemConsole are you using? Version 12.0 and later should stop the processor for you automatically while it does the write, but only if you used claim_service to open it (check the docs for claim_service).