Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
Need Forum Guidance? Click here

Search our FPGA Knowledge Articles here.
19219 Discussions

MAX10 Boot Problem

EEren
Beginner
221 Views

On CFM0 - I have a boot image. With the boot I program a main image on CFM1.

First I switch to CFM0 with a micro controller pins

 

 

BOOT_SEL = 0
ENA = 0
Delay(100)
ENA = 1

 

 

Then I download the main image - main_0.rpd (with a big endian checkbox checked) .

After a successful image download I switch to CFM1

 

 

BOOT_SEL = 1
ENA = 0
Delay(100)
ENA = 1

 

 

And I see no response from FPGA.

 

What could be a problem? What do I miss?

 

The main image - should it include dual config module?

component dual_config is 
port (
		avmm_rcv_address   : in  std_logic_vector(2 downto 0)  := (others => '0'); -- avalon.address
		avmm_rcv_read      : in  std_logic                     := '0';             --       .read
		avmm_rcv_writedata : in  std_logic_vector(31 downto 0) := (others => '0'); --       .writedata
		avmm_rcv_write     : in  std_logic                     := '0';             --       .write
		avmm_rcv_readdata  : out std_logic_vector(31 downto 0);                    --       .readdata
		clk                : in  std_logic                     := '0';             --    clk.clk
		nreset             : in  std_logic                     := '0'              -- nreset.reset_n
	);
end component;

0 Kudos
3 Replies
JohnT_Intel
Employee
194 Views

Hi,


Have you trigger reconfiguration? When you mention nothing happen is it still stuck in CFM0 image or it is stuck in configuring CFM1 image?


EEren
Beginner
183 Views

I mean it switched to CFM1 page but no reaction from the main program. It seems like CFM1 loaded OK - STATUS and CONF_DONE pins behave as expected.

To analyze the problem further I did the following - created a combined pof file

first page - boot.sof (CFM01)

second page - main.sof (CFM1)

Then I burn the pof file, switch to CFM1 - and no reaction from the main program.

When I burn the main.pof only - everything OK.

 

Oh...seems like my stupid mistake. Now it's OK.

 

 

 

 

JohnT_Intel
Employee
155 Views

Hi,


May I know how do you resolved the issue?


Reply