Skip to content

speed tests

Pavel Revak edited this page Nov 1, 2019 · 5 revisions

Testing speed of read_mem32 on STM32H753II @ 400 MHz

pyswd version (3b698e7 : 2019-10-31)

ST-Link/V2 V2J35S7 @ 4 MHz

KB/s size min max avg med
ITCM 64 KB 134.2 148.7 139.6 139.3
FLASH1 1024 KB 135.2 137.3 136.2 135.2
FLASH2 1024 KB 134.0 137.2 135.6 134.0
DTCM 128 KB 137.3 150.4 142.8 142.8
AXI 512 KB 141.0 144.2 142.6 142.7
SRAM1 128 KB 137.8 149.5 145.1 145.2
SRAM2 128 KB 133.5 144.8 137.5 136.7
SRAM3 128 KB 289.5 330.3 304.6 301.8
SRAM4 64 KB 134.5 148.8 140.4 140.2
BACKUP 4 KB 111.4 155.3 142.5 142.8

ST-Link/V3E V3J5M2 @ 24 MHz

KB/s size min max avg med
ITCM 64 KB 451.4 550.3 536.3 541.5
FLASH1 1024 KB 533.1 545.5 542.4 543.0
FLASH2 1024 KB 518.0 545.5 537.0 541.9
DTCM 128 KB 454.5 552.1 540.3 546.1
AXI 512 KB 454.1 553.1 532.2 540.2
SRAM1 128 KB 515.1 566.2 547.3 548.7
SRAM2 128 KB 490.6 552.1 540.5 543.5
SRAM3 128 KB 691.4 1116.4 986.9 1038.9
SRAM4 64 KB 470.0 553.3 539.3 544.7
BACKUP 4 KB 248.3 575.0 529.5 538.6

pyswd after optimizations (7f99aa0 : 2019-11-01)

ST-Link/V2 V2J35S7 @ 4 MHz

KB/s size min max avg med
ITCM 64 KB 156.5 161.7 159.2 159.3
FLASH1 1024 KB 152.7 152.8 152.7 152.7
FLASH2 1024 KB 150.3 150.3 150.3 150.3
DTCM 128 KB 158.9 160.9 159.8 159.7
AXI 512 KB 161.0 161.5 161.2 161.1
SRAM1 128 KB 161.1 163.1 162.1 162.2
SRAM2 128 KB 158.0 159.7 158.7 158.5
SRAM3 128 KB 341.6 365.4 353.6 354.1
SRAM4 64 KB 157.0 160.2 158.5 158.4
BACKUP 4 KB 146.4 163.5 156.0 155.0

ST-Link/V3E V3J5M2 @ 4 MHz

KB/s size min max avg med
ITCM 64 KB 214.5 226.6 218.0 217.7
FLASH1 1024 KB 218.2 219.3 218.9 219.1
FLASH2 1024 KB 218.3 219.2 218.9 219.1
DTCM 128 KB 215.2 221.6 218.3 218.5
AXI 512 KB 217.8 221.9 219.7 219.4
SRAM1 128 KB 217.0 222.1 219.0 218.6
SRAM2 128 KB 217.0 222.4 219.5 219.2
SRAM3 128 KB 672.7 778.5 720.3 703.7
SRAM4 64 KB 213.6 224.8 219.0 219.3
BACKUP 4 KB 187.3 227.0 215.1 215.8

ST-Link/V3E V3J5M2 @ 24 MHz

KB/s size min max avg med
ITCM 64 KB 567.5 687.7 633.0 637.0
FLASH1 1024 KB 635.5 653.3 643.4 644.1
FLASH2 1024 KB 627.1 659.2 645.8 648.5
DTCM 128 KB 571.8 694.3 643.6 646.7
AXI 512 KB 612.0 655.5 628.0 626.5
SRAM1 128 KB 572.3 668.8 622.9 625.0
SRAM2 128 KB 581.5 676.1 636.4 639.0
SRAM3 128 KB 1420.5 1931.2 1731.0 1757.7
SRAM4 64 KB 481.7 683.6 627.7 631.4
BACKUP 4 KB 482.8 700.2 640.8 643.1
Clone this wiki locally