Forum Discussion
Altera_Forum
Honored Contributor
14 years agoaltremote_update - application image mode
Hi,
I know there are plenty of threads on this subject, I did read them but I am still confuse. I am using a Cyclone III EP3C10F256C8 FPGA and ECPS16. My intention is to upload the firmware image to an upper region (offset 0x80000 - 1/4th of the flash size) and boot from here, without copying the data to the 0x000000 offset. ---# 1 --- While reading the documentation(s) of the altremote_ug, I got headaches.- the altremote_ug specifies page value (param 4) as the page number (0-15 for EPCS16).
- an521 specifies the value of this param as the address/4.
15 Replies
- Altera_Forum
Honored Contributor
Did you try with 0x20000? This is the way I do it in my Cyclone IV project and that seem to work. I thought all addresses was byte addressing.
- Altera_Forum
Honored Contributor
--- Quote Start --- Did you try with 0x20000? This is the way I do it in my Cyclone IV project and that seem to work. I thought all addresses was byte addressing. --- Quote End --- Nope, not working. Do I need to make use of the watchdog? Can I have just the simple statemachine I described above? - Altera_Forum
Honored Contributor
No, after starting up in Factory image after power-up, it is sufficient to write the boot address for the Application image in parameter 4, write 0 to parameter 3 (disables watchdog) and set the reconfig pin of altremote_update high.
- Altera_Forum
Honored Contributor
--- Quote Start --- Did you try with 0x20000? This is the way I do it in my Cyclone IV project and that seem to work. I thought all addresses was byte addressing. --- Quote End --- A billion thanks! It works! (previously when I tried and replied I did something wrong). I start getting non-technical skepticism when using Altera after such negative experiences with conflicting userguides/application notes... The AN521 clearly says it should be the word addressing without the last 2 lsbs :mad::confused: ... from now on every time I have an error I will tend to first blame Altera :-P Thanks again! - Altera_Forum
Honored Contributor
moved to a new thread (http://www.alteraforum.com/forum/showthread.php?p=143888#post143888)