memory export via tcl commands in cmd
Hi,
I wish to export the memory content via the command prompt, instead of using the In-System Memory Editor. so far I've tried :
quartus_stp_tcl --tcl_eval begin_memory_edit -hardware_name "DE-SoC \[USB-1\]" -device_name "@2: 5CSEBA6(.|ES)/5CSEMA6/.. (0x02D020DD)"
which gives :
Error (261020): The modifiable node at index 0 had been accessed by another program
Error (261020): The modifiable node at index 1 had been accessed by another program
Error (261020): The modifiable node at index 2 had been accessed by another program
even tried the following command:
quartus_stp_tcl --tcl_eval get_editable_mem_instances -hardware_name "DE-SoC \[USB-1\]" -device_name "@2: 5CSEBA6(.|ES)/5CSEMA6/.. (0x02D020DD)"
which gives :
Error (261020): The modifiable node at index 0 had been accessed by another program
Error (261020): The modifiable node at index 1 had been accessed by another program
Error (261020): The modifiable node at index 2 had been accessed by another program
{0 256 1280 RW ROM/RAM NONE} {1 256 1280 RW ROM/RAM NONE} {2 256 1280 RW ROM/RAM NONE}
now the purpose of all this is the following command :
quartus_stp_tcl --tcl_eval save_content_from_memory_to_file -instance_index 0 -mem_file_path "exp_red.hex" -mem_file_type hex
which gives :
ERROR: A memory edit sequence has not been started.
while executing
"save_content_from_memory_to_file -instance_index 0 -mem_file_path exp_red.hex -mem_file_type hex
i dont understand what other program is interfering with my attempt to export said memory.
also, it seems by the error above that the "begin_memory_edit" command doesnt work properly....
i would like to note the fact that attempting to do the following process manually (via quartus in system memory content editor) works beautifully (meaning that exporting the hex files is successfull and even the data itself is correct - my project works )
pleas help me do this automatically with these commands
thanks to whoever replies in advance
everything works!!!!
thank you very much