Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error: Could Not Calibrate SDARM

Hi,

I am trying to run a but project on Arria 10 but I received a different error in Commands and also in Terminal.

I built a Arria 10 Soc boot from QSPI based on https://rocketboards.org/ and based on this page I tried to debug with Arm DS-5 but during a my .ds file running I received  :

"+restore u-boot-socfpga/spl/u-boot-spl-dtb.bin binary 0xFFE00000
Restoring Binary file F:\repository\yazdandoust\sc50cont\u-boot.qspi\a10_soc_devkit_ghrd\software\bootloader\u-boot-socfpga\spl\u-boot-spl-dtb.bin into memory
Restoring section S:0x00000000 to S:0x00012A00 into memory S:0xFFE00000 to S:0xFFE12A00
+symbol-file u-boot-socfpga/spl/u-boot-spl
+set $PC = $ENTRYPOINT
+thbreak *0x0
Hardware breakpoint 1 at S:0x00000000
+continue
+wait 20s
Execution stopped in SVC mode at breakpoint 1: S:0x00000000
S:0x00000000 LDR pc,[pc,#24] ; [0x20] = 0xB8
Deleted temporary breakpoint: 1
+restore u-boot-socfpga/spl/u-boot-spl-dtb.bin binary 0xFFE00000
Restoring Binary file F:\repository\yazdandoust\sc50cont\u-boot.qspi\a10_soc_devkit_ghrd\software\bootloader\u-boot-socfpga\spl\u-boot-spl-dtb.bin into memory
Restoring section S:0x00000000 to S:0x00012A00 into memory S:0xFFE00000 to S:0xFFE12A00
+symbol-file u-boot-socfpga/spl/u-boot-spl
+set $PC = $ENTRYPOINT
+thbreak spl_boot_device
Hardware breakpoint 2 at S:0xFFE01060
on file spl_a10.c, line 77
on file spl_a10.c, line 78
on file spl_a10.c, line 78
+continue
+wait 60s
Execution stopped in SVC mode at breakpoint 2: S:0xFFE01060
In spl_a10.c
S:0xFFE01060 77,1 {
Deleted temporary breakpoint: 2
+delete
All user breakpoints deleted
+loadfile u-boot-socfpga/u-boot
Target Message: Memory access caused precise abort.
Debug Precise Abort Registers : DFSR = 0x00000808, DFAR = 0x01000040
ERROR(CMD16-TAD59-NAL18):
# in ...........u-boot.qspi\a10_soc_devkit_ghrd\software\preloader.ds:32 while executing: loadfile u-boot-socfpga/u-boot
! Failed to load "u-boot"
! Download of 311.088 bytes to address S:0x01000040 failed while writing block of 4.096 bytes to address S:0x01000040
! Bus error on memory operation.
ERROR(CMD656): The script ..........u-boot.qspi\a10_soc_devkit_ghrd\software\preloader.ds failed to complete due to an error during execution of the script "

and also in Terminal the other error is printed :

"

U-Boot SPL 2021.07-16360-gee63370553-dirty (Jan 21 2022 - 08:09:27 +0100)

U-Boot SPL 2021.07-16360-gee63370553-dirty (Jan 21 2022 - 08:09:27 +0100)
Error: Could Not Calibrate SDRAM
DDRCAL: Failed
WDT: Started with servicing (10s timeout)"

I already read most of answers in forums but most of them is for the last version of Quartus which is generate a preloader with BSP editor but in my case I built all with script. 

Is there any solution in this case? 

Parents
  • Hello, to echo my colleague Stephen's comments, you need to investigate why the boot loader has failed to initialize the memory at 0x01000000

    Reading through the log above, I see uboot being loaded to (the on-chip RAM at) 0xffe00000 - it is this code that would perform the necessary remapping (see for example fig 173 in this manual), but it reports that it 'Could not calibrate SDRAM'.

    U-Boot SPL 2021.07-16360-gee63370553-dirty (Jan 21 2022 - 08:09:27 +0100)
    Error: Could Not Calibrate SDRAM
    DDRCAL: Failed
    WDT: Started with servicing (10s timeout)

    If you cannot decipher the reason, I recommend you post to rocketboards or Intel forums, where you will likely get a more appropriate audience for your question.

Reply
  • Hello, to echo my colleague Stephen's comments, you need to investigate why the boot loader has failed to initialize the memory at 0x01000000

    Reading through the log above, I see uboot being loaded to (the on-chip RAM at) 0xffe00000 - it is this code that would perform the necessary remapping (see for example fig 173 in this manual), but it reports that it 'Could not calibrate SDRAM'.

    U-Boot SPL 2021.07-16360-gee63370553-dirty (Jan 21 2022 - 08:09:27 +0100)
    Error: Could Not Calibrate SDRAM
    DDRCAL: Failed
    WDT: Started with servicing (10s timeout)

    If you cannot decipher the reason, I recommend you post to rocketboards or Intel forums, where you will likely get a more appropriate audience for your question.

Children