update programming files / scripts

* do not generate .map file for .jic
* wait for USB Blaster if needed when reprogramming SW
* set correct bit to halt pulpino core before writing image
This commit is contained in:
marqs 2023-03-11 12:36:18 +02:00
parent df643ec742
commit 86c3f744ed
2 changed files with 11 additions and 3 deletions

View File

@ -19,7 +19,7 @@
<auto_create_rpd>0</auto_create_rpd>
<rpd_little_endian>1</rpd_little_endian>
<options>
<map_file>1</map_file>
<map_file>0</map_file>
</options>
<advanced_options>
<ignore_epcs_id_check>0</ignore_epcs_id_check>

View File

@ -1,5 +1,13 @@
#Select the master service type and check for available service paths.
set service_paths [get_service_paths master]
while 1 {
set service_paths [get_service_paths master]
if {[llength $service_paths] > 0} {
break
}
puts "Refreshing connections..."
refresh_connections
after 100
}
#Set the master service path.
set master_service_path [lindex $service_paths 0]
@ -8,7 +16,7 @@ set master_service_path [lindex $service_paths 0]
set claim_path [claim_service master $master_service_path mylib]
puts "Halting CPU"
master_write_32 $claim_path 0x0 0x1
master_write_32 $claim_path 0x0 0x10000
puts "Writing block RAM"
master_write_from_file $claim_path mem_init/sys_onchip_memory2_0.bin 0x10000