aboutsummaryrefslogtreecommitdiff
path: root/testing/profile_stm32.txt
blob: 3328e5db2cdd4b6c25f92335c9860d2427c24b43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
These are profile tests for the stm32 target.

old version rev 1606:

single step:   59 ms
flash 64k :  24kB/s
mdb 0 128 :  44ms


trunk rev 1662:

single step:   99 ms
flash 64k :  21.5kB/s
mdb 0 128 :  72ms


How to run tests:

poll off
set before [flush_count]
step
set step_count [expr [flush_count]-$before]

set before [flush_count]
mdb 0 128
set mem_count [expr [flush_count]-$before]

set before [flush_count]
flash erase_address 0x8000000 0x10000
set erase_count [expr [flush_count]-$before]

set before [flush_count]
flash fillb 0x8000000 0x55 0x10000
set flash_fill_count [expr [flush_count]-$before]

puts "counts" ; puts "step       $step_count" ; puts "mem        $mem_count" ; puts "erase      $erase_count" ; puts "flash fill $flash_fill_count" 

parport trunk rev 1675
======================

step       336
mem        160
erase      3076
flash fill 32754

verify_ircapture disable

step       114
mem        96
erase      1547
flash fill 15564