Forum Discussion

hcruz1's avatar
hcruz1
Icon for New Contributor rankNew Contributor
6 years ago

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

mwr

and

mrd

Is 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_memory

but 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