- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
I use remote update core in my project (5CEFA9, Q14.0). Remote update is controlled by Nios II. I have two firmware in my configuration device (factory and application). Factory configuration is loaded at power on and if everything is ok it starts application configuration. If application is wrong factory remains active. Configurations have RECONFIG command for user friendly working. Algorithm for this command is# if __REMOTE_SYSTEM_UPDATE_CONFIGURATION_MODE == CONFIG_MODE_FACTORY
rsu_controller_wr_config_mode((void *)RSU_CONTROLLER_BASE, CONFIG_MODE_APPLICATION);
rsu_controller_wr_wdt_timeout((void *)RSU_CONTROLLER_BASE, RSU_WDT_TIMEOUT_VALUE);
rsu_controller_write_param((void *)RSU_CONTROLLER_BASE, PARAM_WDT_ENABLE, 1);
rsu_controller_write_param((void *)RSU_CONTROLLER_BASE, PARAM_PAGE_SELECT, APPLICATION_PAGE_START_ADDRESS);
rsu_controller_reconfig((void *)RSU_CONTROLLER_BASE);# elif __REMOTE_SYSTEM_UPDATE_CONFIGURATION_MODE == CONFIG_MODE_APPLICATION
rsu_controller_reconfig((void *)RSU_CONTROLLER_BASE);# endif
When application configuration is loaded by factory configuration (after power on), this command works correctly. FPGA restarts by this command. 1)Erroneous situation. Application configuration is loaded and works. Wrong application configuration is send by remote host and written into configuration flash. I send RECONFIG command but FPGA doesn't restart. But in this case FPGA must go and stay in factory configuration. At power on configuration is loaded correctly. 2)Erroneous situation. Application configuration in configuration device is wrong. FPGA stays in factory mode. Host sends correct application configuration. Factory is loaded and correct application is in the configuration device. I send RECONFIG command but FPGA doesn't restart. But in this case FPGA must go and stay in application configuration. At power on configuration is loaded correctly. Best regards, Andrei.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I find that RECONFIG command doesn't work (FPGA doesn't restart) only after epcq-device writing (if I load new programm into flash-memory). I use EPCS/EPCQx1 flash-controller in my design.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page