Altera_Forum
Honored Contributor
17 years agoRemote Update Component: Reading problems
Hello,
I am trying to implement a (hopefully failsafe) remote update for a Cyclone III based board but have problems reading the registers of the remote update component. I've managed to download the user application over UART and can trigger a reconfiguration. When the system comes up and the factory configuration is started, you don't know if the last update was successfull, so at startup I try to read out the registers of the remote update component and see if the last reboot was triggered due to a jump to a faulty configuration - and if that isn't the case I trigger a reconfiguration to the user application. My problem is, that I don't see, which register I could read in order to find that out. I thought, I could read 0x00 to see if I am currently using the user (10/11) or factory (00) configuration. And 0x1C (the 7th word) should yield the reboot trigger source so 0x1 would be a scheduled reboot (see p.45 of ug_altremote.pdf), 0x10 a power up reboot and the rest would be errors... Having done successfull and unsucessfull reconfiguration cycles (where I deliberately set the address wrong before), I cannot find the register with the trigger flags when I read from the remote update component. Has anybody done this before? Is there something, which I should watch out for? Best regards, Roman PS: I haven't posted any posted anything till now, so please feel free to correct me (formatting, missing data ...)