Hi,
I'm using a Altera Cyclone 1C6 which contains a Nios. The FPGA is configured by an EPCS4. I want to store the firmware for the NIOS in the config device. This should be possible using ASMI. The problem is that I can't store the HEX file into the programming file for the configuration device. With Quartus, this should be done by converting the SOF file into a POF, and then insert the HEX file into the 'Main Block Data' area. This doesn't work, the contents of the HEX file are not included in the resulting POF. (The POF should in turn be converted into a RPD file, which can be programmed into the EPCS4 using a JAM/STAPL player).
There are two modes for the HEX file, absolute and relative addressing. With absolute addressing I get a warning that it's overwriting parts of the SOF, but it actually places the data aligned to the end of the configuration file, e.g. the HEX file doesn't immediately follow the FPGA config data (I use nr_asmi_past_config() function to find out where the app code is). With relative addressing, there's no data at all.
Is this a bug in Quartus 4.0 or am I doing something totally wrong??
Jeroen