Forum Discussion
How to write to DDR of a DE1-SoC using the ARM processor?
I have some input data I want to copy to the DDR memory. This data is loaded once and it's never changed. I know I can load this data using the FPGA (as seen here), but I'm looking for an alternative way of doing this using the ARM processor of the DE1-SoC. Afterwards, I need to read data from the DDR.
For those familiar with Xilinx, this could be easily done using XSCT and the commands
mwrand
mrdIs there a similar way of doing this with Intel?
I've tried Intel University program, which works but I'm looking for a command line solution. I've also tried quartus_stp with a TCL script, but when I run this:
foreach hw_name [get_hardware_names] {
foreach dev_name [get_device_names -hardware_name $hw_name] {
puts "Found device name $dev_name on hardware $hw_name"
get_editable_mem_instances -device_name $dev_name -hardware_name $hw_name
}
}I get this error:
Found device name @1: SOCVHPS (0x4BA00477) on hardware DE-SoC [USB-1]
Warning (16702): No editable memory instance was found.
Found device name @2: 5CSE(BA5|MA5)/5CSTFD5D5/.. (0x02D120DD) on hardware DE-SoC [USB-1]
Warning (16702): No editable memory instance was found.I was hoping to get the name of the memories and be able to use the command
write_content_to_memorybut the output says no editable memories were found.
I'm new to Intel and having a hard time with these details, thank you for your help!
5 Replies
- EBERLAZARE_I_Intel
Regular Contributor
Hi there,
May I know which Quartus version are you using?
- hcruz1
New Contributor
Hi!
I'm using Quartus Prime Standard 18.1 for Windows.
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
I could not find any further information regarding the error itself, have you tried booting up your board to see if the DDR is up from preloader?
Here is the get_editable_mem_instances descriptions for reference:
https://www.intel.com/content/www/us/en/programmable/quartushelp/13.0/mergedProjects/tafs/tafs/tcl_pkg_insystem_memory_edit_ver_1.0_cmd_get_editable_mem_instances.htm
You may check all other functions available here:
https://www.intel.com/content/www/us/en/programmable/quartushelp/13.0/mergedProjects/tafs/tafs/tcl_pkg_insystem_memory_edit_ver_1.0.htm
regards.