]> git.sesse.net Git - pistorm/blob - nprog/68new_experimental.cfg
Add Meson build files.
[pistorm] / nprog / 68new_experimental.cfg
1 # this supports ECP5 Evaluation Board
2
3 reset_config none
4 adapter driver bcm2835gpio
5
6 #bcm2835gpio_peripheral_base 0x20000000
7 bcm2835gpio_peripheral_base 0x3F000000
8
9 # Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET
10 # These depend on system clock, calibrated for stock 700MHz
11 # bcm2835gpio_speed SPEED_COEFF SPEED_OFFSET
12 #bcm2835gpio_speed_coeffs 146203 36
13 bcm2835gpio_speed_coeffs 194938 48
14
15 #bcm2835gpio_peripheral_base 0x3F000000
16 #bcm2835gpio_speed_coeffs 194938 48
17
18 reset_config none
19 adapter speed 100
20
21 # JTAG                tck tms tdi tdo
22 bcm2835gpio_jtag_nums 26 24   27  25
23
24 #meh dummy reset to make openocd happy, set to A0 on SMI
25 bcm2835gpio_srst_num 5
26 reset_config srst_only srst_open_drain
27
28 transport select jtag
29 jtag newtap max2 tap -irlen 11 -expected-id 0x020a20dd
30 init
31 svf ./rtl/bitstream_experimental.svf -quiet
32 sleep 200
33 shutdown