This is an automated email from Gerrit.

"Name of user not set <sean.ander...@seco.com>" just uploaded a new patch set 
to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/6847

-- gerrit

commit cdce14a6bbf093a9113e5659241bb617b81cddcb
Author: Sean Anderson <sean.ander...@seco.com>
Date:   Fri Feb 11 17:43:30 2022 -0500

    cpld: altera-epm240: Increase adapter speed
    
    According to the datasheet, the minimum clock period with Vccio1 = 1.5V
    (the lowest voltage supported) is 143ns, or around 6MHz. Set the default
    adapter speed to 5 MHz.
    
    Signed-off-by: Sean Anderson <sean.ander...@seco.com>
    Change-Id: I21cad33fa7f1e25e81f43b5d2214d1fa4ec924de

diff --git a/tcl/cpld/altera-epm240.cfg b/tcl/cpld/altera-epm240.cfg
index 6e10188ca..ece02bbef 100644
--- a/tcl/cpld/altera-epm240.cfg
+++ b/tcl/cpld/altera-epm240.cfg
@@ -17,3 +17,7 @@ jtag newtap $_CHIPNAME tap -irlen 10 \
        -expected-id 0x020a40dd \
        -expected-id 0x020a50dd \
        -expected-id 0x020a60dd
+
+# 200ns seems like a good speed
+# c.f. Table 5-34: MAX II JTAG Timing Parameters
+adapter speed 5000

-- 

Reply via email to