This is an automated email from Gerrit.

"Tomas Vanek <[email protected]>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/9234

-- gerrit

commit 47e8fac508561dcae9dd01f467aa0c9fdb4a2ae0
Author: Tomas Vanek <[email protected]>
Date:   Mon Nov 10 14:13:56 2025 +0100

    tcl/interface/raspberrypi-native: adjust speed offsets
    
    Change 7732: jtag/drivers/bcm2835gpio: Support all 54 GPIO pins [1]
    reduces the time needed for GPIO handling.
    
    Adjust the speed offsets to the new and faster bcm2835gpio code.
    
    Measured with Sigrok/PulseView, sampled at 800 MHz.
    Configured as SWD with the fast path in the driver - other
    modes are expected to be slower.
    Adjusted to keep all half periods of SWCLK in the sampled poll
    sequence longer or equal than the half period of the nominal
    adapter speed.
    
    Link: [1] https://review.openocd.org/c/openocd/+/7732
    Change-Id: Ia9e932dfd7547c8011c1d20d9e90bc0294050e8a
    Signed-off-by: Tomas Vanek <[email protected]>

diff --git a/tcl/interface/raspberrypi-native.cfg 
b/tcl/interface/raspberrypi-native.cfg
index c80f90a146..1eb9761eea 100644
--- a/tcl/interface/raspberrypi-native.cfg
+++ b/tcl/interface/raspberrypi-native.cfg
@@ -50,12 +50,12 @@ set clocks_per_timing_loop 4
 if {[string match *bcm2711* $compat]} {
        set speed_offset 52
 } elseif {[string match *bcm2837* $compat] || [string match *bcm2710* 
$compat]} {
-       set speed_offset 34
+       set speed_offset 31
 } elseif {[string match *bcm2836* $compat] || [string match *bcm2709* 
$compat]} {
-       set speed_offset 36
+       set speed_offset 25
 } elseif {[string match *bcm2835* $compat] || [string match *bcm2708* 
$compat]} {
        set clocks_per_timing_loop 6
-       set speed_offset 32
+       set speed_offset 23
 } elseif {[string match *bcm2712* $compat]} {
        echo "Error: Raspberrypi Pi 5 has moved GPIOs to PCIe connected RP1 
chip."
        echo "Error: Native GPIO handling is not supported, use 
'raspberrypi5-gpiod.cfg'"

-- 

Reply via email to