- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has anyone succeeded in booting preloader from FPGA On-Chip RAM (OCRAM)? For now I can mannually load preloader through the JTAG in DS-5 debugger. It executes well and then a simple application is loaded to SDRAM and also executes. But the prime interest is to boot preloader from FPGA On-Chip RAM after FPGA configuring. I've used http://www.rocketboards.org/foswiki/documentation/bootfromfpga131 as an example and user guide. In DS-5 I've checked from address 0xC0000000 (FPGA OCRAM address from HPS point of view) and there is preloader data. It's expected these commands is moved to 0xFFFF0000 region by the BootROM after reset, if BSEL = 0x1 and signal Boot_from_FPGA_ready = 1, and executes. But if I set jumpers to make BSEL = 0x1 and reconfigure FPGA, nothing loads. Furthermore, if I connect DS-5 debugger, it says CPU is running. While I try to stop it and view internal state the error occures:
ERROR(TAD9-NAL30):
# in C:\eclipse_work\Altera-SoCFPGA-HardwareLib-FPGA-CV-ARMCC\test.ds:1 while executing: stop
! Unable to stop device Cortex-A9_0
! Cannot stop target.
ERROR(CMD656): The script C:\eclipse_work\Altera-SoCFPGA-HardwareLib-FPGA-CV-ARMCC\test.ds failed to complete due to an error during execution of the script
Next, I've tried to reset CPU under the DS-5 debugger, by writing reset system
The log is Target has been reset
Execution stopped at: S:0x00000000
S:0x00000000 LDR pc, ; = 0xA8
But if I try to examine memory, an error occures: Target Message: Could not determine target state
In the article above they say after configuring FPGA part preloader info could be viewed in UART console. But in this case nothing is printed in console, of course. So can anuone say how to boot HPS part from FPGA? Where is a trick? Any useful links or ideas will be beneficial. My board is Arrow SoCkit. Quartus II 14.1 & ARM DS-5 5.20 are used. Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know that you solve this boot problem.
Please upload here working example. God will remember it ! :)![](/skins/images/7B0AB6865064EAE32B30EC9A4E94B48A/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page