Altera_Forum
Honored Contributor
16 years agoReading issue with the ALTREMOTE_UPDATE IP
Hello all!
I am using the remote system upgrade feature in my cyclone III. To do so, I instantiated the altremote_update controller in sopc builder. Everything works fine ... almost. I would like to measure the time the FPGA takes to be updated. So, in my factory configuration, before initiating the reconfig, I set the Watchdog timeout value to 0x00100000 let say, and enable it. At the beginning of my application configuration, I check the current state mode register, correctly set to 0b11 "Application mode with Watchdog". Then, I initiate a read access to the Watchdog timeout value using this instruction: IORD ( REMOTE_UPDATE_CYCLONEIII_0_BASE , 0x0A ) ; and I always get the init timeout value plus 0x8, i.e. 0x00100008 in this case. Changing the read_source input I get all 0s. Therefore my questions are: Does the remote upgrade circuitry allow us to read the timeout value dynamically? Why am I getting the init timeout value plus 8 when I try to read the timeout value? Thanks in advance for your answers :) Florian