mirror of
https://github.com/marqs85/ossc
synced 2025-04-09 22:56:34 +03:00
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:
parent
df643ec742
commit
86c3f744ed
2
ossc.cof
2
ossc.cof
@ -19,7 +19,7 @@
|
|||||||
<auto_create_rpd>0</auto_create_rpd>
|
<auto_create_rpd>0</auto_create_rpd>
|
||||||
<rpd_little_endian>1</rpd_little_endian>
|
<rpd_little_endian>1</rpd_little_endian>
|
||||||
<options>
|
<options>
|
||||||
<map_file>1</map_file>
|
<map_file>0</map_file>
|
||||||
</options>
|
</options>
|
||||||
<advanced_options>
|
<advanced_options>
|
||||||
<ignore_epcs_id_check>0</ignore_epcs_id_check>
|
<ignore_epcs_id_check>0</ignore_epcs_id_check>
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
#Select the master service type and check for available service paths.
|
#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 the master service path.
|
||||||
set master_service_path [lindex $service_paths 0]
|
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]
|
set claim_path [claim_service master $master_service_path mylib]
|
||||||
|
|
||||||
puts "Halting CPU"
|
puts "Halting CPU"
|
||||||
master_write_32 $claim_path 0x0 0x1
|
master_write_32 $claim_path 0x0 0x10000
|
||||||
|
|
||||||
puts "Writing block RAM"
|
puts "Writing block RAM"
|
||||||
master_write_from_file $claim_path mem_init/sys_onchip_memory2_0.bin 0x10000
|
master_write_from_file $claim_path mem_init/sys_onchip_memory2_0.bin 0x10000
|
||||||
|
Loading…
Reference in New Issue
Block a user