Forum Discussion
I'm not sure where you are getting the command "quartus_stp_tcl". That's not a valid command that I've ever seen. To see all the correct commands, open the Tcl console in Quartus from the View menu and click the little ? icon to open the Tcl and command line help. To load the insystem_memory_edit Tcl API package, the executable is just "quartus_stp".
- RonBuzaglo4 years ago
New Contributor
hi
thank you for replying
i was working with quartus_stp_tcl becuase quartus_stp gave me the same errors so i saw no difference ...
although you gave me the idea of looking at "quartus_stp -help" which led me to "quartus_stp -s"
now the cmd turns into a tcl terminal , so i dont need the "--tcl_eval" anymore.
everything works !!!! i successfully exported the memory data from the fpga .
thank you so much!
i now wish to write everything to a simple tcl script to so when i open cmd
i will only need the "quartus_stp -t" command and the file ofcourse
how do i do that?
would the following be enough as a script?
do i need any other common commands prior or after this?
###########script starts here#################
begin_memory_edit -hardware_name "DE-SoC \[USB-1\]" -device_name "@2: 5CSEBA6(.|ES)/5CSEMA6/.. (0x02D020DD)"
read_content_from_memory -instance_index 0 -content_in_hex -start_address 0 -word_count 256
read_content_from_memory -instance_index 1 -content_in_hex -start_address 0 -word_count 256
read_content_from_memory -instance_index 2 -content_in_hex -start_address 0 -word_count 256save_content_from_memory_to_file -instance_index 0 -mem_file_path "exp_red.hex" -mem_file_type hex
save_content_from_memory_to_file -instance_index 1 -mem_file_path "exp_green.hex" -mem_file_type hex
save_content_from_memory_to_file -instance_index 2 -mem_file_path "exp_blue.hex" -mem_file_type hex###########script ends here#################
thanks again
- sstrell4 years ago
Super Contributor
Looks good to me. Can't hurt to try it.
- RonBuzaglo4 years ago
New Contributor
everything works!!!!
thank you very much