Hello.
PREMABLE:
I have been following this Bare-Metal User Guide in ARM Development Studio (even though it is written for DS-5) in an attempt to get a bare-metal "Hello World" running from SDRAM. Following the guide, I have successfully ran it from OCRAM.
I am stuck at the last step for running the application from SDRAM: I run the preloader (a u-boot-spl file; see the guide in the Preloader section) and my Commands console (see screenshot #1 below) looks very close to Figure 36 (their tutorial author's output after running the preloader). So far so good?
ISSUE:
Then, once I run the actual "Hello World" debug configuration, I get the error in screenshot #2, which, according to the guide, is the exact error received when the preloader has not yet brought up SDRAM. Hence, even though my preloader seems to be working (since my output upon running it looks the same as the guide's), the SDRAM is not being brought up.
QUESTION:
Are there any hints in my screenshots or provided information regarding why the preloader (again, attached) isn't doing it's job and bringing up the SDRAM?
Adding the peripheral file will allow peripheral registers to be displayed in the registers pane of the debugger. It is not mandatory, but I wondered if that script did something assuming its existence. Looking at the script, it appears to only (attempt to) read that register, so may be irrelevant.
This script and example were developed by Intel - you may have better luck getting focused advice on their forumhttps://community.intel.com/t5/Programmable-Devices/bd-p/programmable-devices
Thanks for the info and the suggestion Ronan. I more or less copied my post here on ARM over there on Intel - we'll see if there are some insights there. Take care.
My post on Intel: https://community.intel.com/t5/Intel-SoC-FPGA-Embedded/Failed-to-load-quot-lt-project-axf-gt-quot-Can-t-run-bare-metal/m-p/1287029/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufEtQSEhSMEVXQUhXTUpWfDEyODcwMjl8U1VCU0NSSVBUSU9OU3xoSw#M1046