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 old version (3b698e7 : 2019-10-31)

ST-Link/V2 V2J35S7 @ 4 MHz

KB/s address size minimum maximum average median
ITCM 0x00000000 64 KB 129.1 144.5 134.6 132.5
FLASH1 0x08000000 1024 KB 132.2 132.3 132.2 132.2
FLASH2 0x08100000 1024 KB 128.2 129.7 129.0 128.2
DTCM 0x20000000 128 KB 133.5 141.3 136.0 135.8
AXI 0x24000000 512 KB 136.4 137.3 136.9 137.1
SRAM1 0x30000000 128 KB 135.8 143.0 138.8 138.8
SRAM2 0x30020000 128 KB 129.6 148.1 138.1 135.0
SRAM3 0x30040000 32 KB 121.0 152.1 136.9 135.6
SRAM4 0x38000000 64 KB 130.7 144.3 135.2 134.2
BACKUP 0x38000000 4 KB 103.3 155.5 138.4 139.5

ST-Link/V3E V3J5M2 @ 24 MHz

KB/s address size minimum maximum average median
ITCM 0x00000000 64 KB 474.6 546.0 534.4 541.3
FLASH1 0x08000000 1024 KB 494.7 539.4 528.8 534.7
FLASH2 0x08100000 1024 KB 537.7 544.9 541.4 539.9
DTCM 0x20000000 128 KB 508.6 551.8 538.3 539.1
AXI 0x24000000 512 KB 519.7 548.6 539.6 540.6
SRAM1 0x30000000 128 KB 399.3 552.9 531.0 541.0
SRAM2 0x30020000 128 KB 364.4 562.4 537.3 552.9
SRAM3 0x30040000 32 KB 516.1 557.2 541.4 542.5
SRAM4 0x38000000 64 KB 484.7 550.6 538.5 544.3
BACKUP 0x38000000 4 KB 234.4 572.0 532.7 538.2

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

ST-Link/V2 V2J35S7 @ 4 MHz

KB/s address size minimum maximum average median
ITCM 0x00000000 64 KB 132.5 161.3 156.4 158.1
FLASH1 0x08000000 1024 KB 152.3 152.5 152.4 152.3
FLASH2 0x08100000 1024 KB 149.0 150.5 149.7 149.0
DTCM 0x20000000 128 KB 156.8 161.6 159.3 159.7
AXI 0x24000000 512 KB 158.9 160.1 159.6 159.6
SRAM1 0x30000000 128 KB 159.5 162.7 161.1 161.0
SRAM2 0x30020000 128 KB 156.0 160.4 158.0 157.8
SRAM3 0x30040000 32 KB 152.3 160.7 157.0 156.9
SRAM4 0x38000000 64 KB 155.5 161.5 157.5 157.1
BACKUP 0x38000000 4 KB 140.4 163.8 155.2 155.1

ST-Link/V3E V3J5M2 @ 4 MHz

KB/s address size minimum maximum average median
ITCM 0x00000000 64 KB 209.6 219.9 214.8 214.5
FLASH1 0x08000000 1024 KB 217.5 221.7 220.1 221.1
FLASH2 0x08100000 1024 KB 219.3 221.1 220.4 221.0
DTCM 0x20000000 128 KB 216.6 225.4 221.1 221.0
AXI 0x24000000 512 KB 223.4 225.2 224.7 225.1
SRAM1 0x30000000 128 KB 218.8 225.8 223.7 224.4
SRAM2 0x30020000 128 KB 213.2 226.0 220.3 220.3
SRAM3 0x30040000 32 KB 173.1 225.0 215.0 217.2
SRAM4 0x38000000 64 KB 186.6 222.1 213.1 214.6
BACKUP 0x38000000 4 KB 147.7 227.0 220.0 222.1

ST-Link/V3E V3J5M2 @ 24 MHz

KB/s address size minimum maximum average median
ITCM 0x00000000 64 KB 522.6 680.8 627.0 626.6
FLASH1 0x08000000 1024 KB 609.7 661.0 632.7 626.5
FLASH2 0x08100000 1024 KB 616.5 663.7 634.1 629.6
DTCM 0x20000000 128 KB 575.0 671.0 652.4 657.6
AXI 0x24000000 512 KB 613.9 651.6 626.1 625.3
SRAM1 0x30000000 128 KB 601.0 654.2 628.4 625.7
SRAM2 0x30020000 128 KB 571.4 679.5 640.4 643.5
SRAM3 0x30040000 32 KB 537.9 670.0 632.5 632.0
SRAM4 0x38000000 64 KB 515.0 686.7 665.8 672.9
BACKUP 0x38000000 4 KB 312.1 694.0 657.7 666.3