summaryrefslogtreecommitdiff
path: root/tools/trace/doc/trace.txt
blob: 248cdf1308f88735692aad5f8a5060b4acacc9f4 (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
Trace system
============

The trace system has for job:

  * Create a enumerator with unique identifier to store traces in the flash memory.
  * Dump the flash memory data and print the traces using the string provided by the user in the trace file definition.

Use
---

The trace tool is divided in two parts, the one which generate the enumerator
and the one which interpret the memory data to print it on screen.

python trace.py -h to have all the possibilities.

Trace definition file
---------------------

A trace source example is provided in the example directory.

Time specifications
-------------------

At 14.7456 Mhz.

+---------------+--------+
| Description   |   Time |
+---------------+--------+
| Write         |  10 us |
+---------------+--------+
| Erase 4kB     |  25 ms |
+---------------+--------+
| Erase 32kB    |  25 ms |
+---------------+--------+
| Erase Full    |  50 ms |
+---------------+--------+
| Trace 1 byte  |  10 us |
+---------------+--------+
| Trace 2 bytes |  20 us |
+---------------+--------+
| Trace 4 bytes |  40 us |
+---------------+--------+