Forum Discussion
Altera_Forum
Honored Contributor
13 years agoOk, I made a few changes to RSU_Control.vhd (attached).
At the falling edge of my clock, I set write_param for one clock cycle. So, at the rising edge of the ALTREMOTE_UPDATE clock, it sees this signal once. I added some read states in RSU_Control.vhd to ensure the values are getting set, which I can't verify they are. It looks like the read_source input is determined by the parameter you want to read. Ok ... but I can't find anything to really help me with this. The ALTREMOTE_UPDATE megafunction reference list some generic settings for read_source, and I'm guessing "11" is what I want. When I set it this way to read what I've written, I can only verify the watchdog timeout value. That is, when I read this pararmeter, it returns whatever I've written. This isn't the case for the watchdog enable or boot address. Whether I enable or disable the watchdog timer, the read response always comes back as "1". The boot address read always returns 0. Now, if I change the read_source setting to "10", I see a response of 3. Moreover, read_source settings of "01" and "00" return 0. So, I'm trying to focus in this area since I can't boot to address 0x100000. Any input is appreciated. David