Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Error while generating and compiling the Preloader.

Hi,

I had done as per the points given in the rocketboard link http://rocketboards.org/foswiki/view/documentation/gsrd131preloader .

But while trying to build the preloader image using the "make" command. It is showing an error " #error If ECC is enabled, Scrubbing should also be enabled."

Kindly provide suggestion to overcome this error.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    The above error is soved after enabling the RAM scrubbing in BSP editor.

    The preloader is programed to the controller using quatrus_hps.exe software. and it is working fine after power-on reset.

    But now i had a doubt..

    How to add the user code (LED blinking code ) after the preloader.??? i.e after execution of preloader, the user-code should be run...???

    Please suggest me in solving the problem.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello, you can refer to AN709. To load usercode/application right after preloader loaded, in the bsp-editor, change the spl.boot.SDMMC_NEXT_BOOT_IMAGE=0x40000. This is where you will put the usercode/application.