tcl/interface: fix raspberrypi2-native.cfg speed coefficient
The speed coefficient for Raspberry Pi 2 was probably calibrated for a scaled down clock frequency. To prevent JTAG/SWD overclocking, use the value corresponding to the 'official' maximum CPU clock. Change-Id: Iaff58b092198dce6d6552c9d31d6a3ba4aaaa2d5 Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: https://review.openocd.org/c/openocd/+/7305 Tested-by: jenkins Reviewed-by: Jonathan Bell <jonathan@raspberrypi.com>
This commit is contained in:
parent
4e077fddad
commit
1d04ef3e55
|
@ -15,9 +15,9 @@ adapter driver bcm2835gpio
|
||||||
bcm2835gpio peripheral_base 0x3F000000
|
bcm2835gpio peripheral_base 0x3F000000
|
||||||
|
|
||||||
# Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET
|
# Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET
|
||||||
# These depend on system clock, calibrated for stock 700MHz
|
# These depend on system clock, calibrated for scaling_max_freq 900MHz
|
||||||
# bcm2835gpio speed SPEED_COEFF SPEED_OFFSET
|
# bcm2835gpio speed SPEED_COEFF SPEED_OFFSET
|
||||||
bcm2835gpio speed_coeffs 146203 36
|
bcm2835gpio speed_coeffs 225000 36
|
||||||
|
|
||||||
# Each of the JTAG lines need a gpio number set: tck tms tdi tdo
|
# Each of the JTAG lines need a gpio number set: tck tms tdi tdo
|
||||||
# Header pin numbers: 23 22 19 21
|
# Header pin numbers: 23 22 19 21
|
||||||
|
|
Loading…
Reference in New Issue