mirror of
https://github.com/captain-amygdala/pistorm.git
synced 2026-02-26 16:43:27 +00:00
Make experimental bitstream optional
This commit is contained in:
33
nprog/68_240_experimental.cfg
Normal file
33
nprog/68_240_experimental.cfg
Normal file
@@ -0,0 +1,33 @@
|
||||
# this supports ECP5 Evaluation Board
|
||||
|
||||
reset_config none
|
||||
adapter driver bcm2835gpio
|
||||
|
||||
#bcm2835gpio_peripheral_base 0x20000000
|
||||
bcm2835gpio_peripheral_base 0x3F000000
|
||||
|
||||
# Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET
|
||||
# These depend on system clock, calibrated for stock 700MHz
|
||||
# bcm2835gpio_speed SPEED_COEFF SPEED_OFFSET
|
||||
#bcm2835gpio_speed_coeffs 146203 36
|
||||
bcm2835gpio_speed_coeffs 194938 48
|
||||
|
||||
#bcm2835gpio_peripheral_base 0x3F000000
|
||||
#bcm2835gpio_speed_coeffs 194938 48
|
||||
|
||||
reset_config none
|
||||
adapter speed 100
|
||||
|
||||
# JTAG tck tms tdi tdo
|
||||
bcm2835gpio_jtag_nums 26 24 27 25
|
||||
|
||||
#meh dummy reset to make openocd happy, set to A0 on SMI
|
||||
bcm2835gpio_srst_num 5
|
||||
reset_config srst_only srst_open_drain
|
||||
|
||||
transport select jtag
|
||||
jtag newtap max2 tap -irlen 11 -expected-id 0x020a20dd
|
||||
init
|
||||
svf ./rtl/EPM240_experimental.svf -quiet
|
||||
sleep 200
|
||||
shutdown
|
||||
33
nprog/68new_experimental.cfg
Normal file
33
nprog/68new_experimental.cfg
Normal file
@@ -0,0 +1,33 @@
|
||||
# this supports ECP5 Evaluation Board
|
||||
|
||||
reset_config none
|
||||
adapter driver bcm2835gpio
|
||||
|
||||
#bcm2835gpio_peripheral_base 0x20000000
|
||||
bcm2835gpio_peripheral_base 0x3F000000
|
||||
|
||||
# Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET
|
||||
# These depend on system clock, calibrated for stock 700MHz
|
||||
# bcm2835gpio_speed SPEED_COEFF SPEED_OFFSET
|
||||
#bcm2835gpio_speed_coeffs 146203 36
|
||||
bcm2835gpio_speed_coeffs 194938 48
|
||||
|
||||
#bcm2835gpio_peripheral_base 0x3F000000
|
||||
#bcm2835gpio_speed_coeffs 194938 48
|
||||
|
||||
reset_config none
|
||||
adapter speed 100
|
||||
|
||||
# JTAG tck tms tdi tdo
|
||||
bcm2835gpio_jtag_nums 26 24 27 25
|
||||
|
||||
#meh dummy reset to make openocd happy, set to A0 on SMI
|
||||
bcm2835gpio_srst_num 5
|
||||
reset_config srst_only srst_open_drain
|
||||
|
||||
transport select jtag
|
||||
jtag newtap max2 tap -irlen 11 -expected-id 0x020a20dd
|
||||
init
|
||||
svf ./rtl/bitstream_experimental.svf -quiet
|
||||
sleep 200
|
||||
shutdown
|
||||
1
nprog_240_experimental.sh
Executable file
1
nprog_240_experimental.sh
Executable file
@@ -0,0 +1 @@
|
||||
sudo openocd -f ./nprog/68_240_experimental.cfg
|
||||
1
nprog_experimental.sh
Executable file
1
nprog_experimental.sh
Executable file
@@ -0,0 +1 @@
|
||||
sudo openocd -f ./nprog/68new_experimental.cfg
|
||||
File diff suppressed because it is too large
Load Diff
11651
rtl/EPM240_experimental.svf
Normal file
11651
rtl/EPM240_experimental.svf
Normal file
File diff suppressed because it is too large
Load Diff
15548
rtl/bitstream.svf
15548
rtl/bitstream.svf
File diff suppressed because it is too large
Load Diff
22403
rtl/bitstream_experimental.svf
Normal file
22403
rtl/bitstream_experimental.svf
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user