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