Forum Discussion

yxm00's avatar
yxm00
Icon for New Contributor rankNew Contributor
5 years ago
Solved

Why MAX10 always boot from CFM0 when power up?

There are 2 different image in Max10(10M08SAE).

  1. Pin of CONFIG_SEL , 10-KΩ pull-down.
  2. I have set config_sel_overwrite=1, config_sel= 1( When I trigger FPGA to reconfigure by DualBoot IP, it can boot from CFM1/2. )
  3. After power up, I found config_sel_overwrite=0, config_sel= 0, and boot from CFM0. Why? Are they(config_sel_overwrite & config_sel ) saved in FLASH or register?

I thought I can select the Boot Image by writing config_sel & config_sel_overwrite even in Power cycle of FPGA.

Thanks.

  • Hi,

    If you are using the Dual Boot IP, then you will need to write a state machine to on your image0 so that after setting the config_sel_overwrite and config_sel then you only you trigger the reconfigure through the IP.

    If you would like to boot to Image1 after power cycle then you will need to connect CONFIG_SEL pin to 10-KΩ pull-up.

3 Replies

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    If you are using the Dual Boot IP, then you will need to write a state machine to on your image0 so that after setting the config_sel_overwrite and config_sel then you only you trigger the reconfigure through the IP.

    If you would like to boot to Image1 after power cycle then you will need to connect CONFIG_SEL pin to 10-KΩ pull-up.

    • yxm00's avatar
      yxm00
      Icon for New Contributor rankNew Contributor

      I see, thank you very much.

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    Your welcome. Please feel free to create new forum case if you have any other queries.