Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20705 Discussions

Error while generating and compiling the Preloader.

Altera_Forum
Honored Contributor II
1,293 Views

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.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
541 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
541 Views

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.

0 Kudos
Reply