-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkeywriter.html
More file actions
85 lines (79 loc) · 3.02 KB
/
keywriter.html
File metadata and controls
85 lines (79 loc) · 3.02 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TI Tools - OTP Key Writer Error Code Decoder</title>
<link rel="stylesheet" href="style.css">
<script src="navbar.js"></script>
</head>
<body>
<!-- Navigation bar loaded by navbar.js -->
<div class="container">
<header>
<h1>TI Tools</h1>
<p class="subtitle">OTP Key Writer Error Code Decoder</p>
<div class="header-links">
<a href="index.html" class="doc-link">
← Back to Tools
</a>
<a href="https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/security/keywriter.html"
target="_blank"
rel="noopener noreferrer"
class="doc-link">
View Official Documentation
</a>
</div>
</header>
<main>
<section class="input-section">
<div class="input-group">
<label for="errorCode">Enter Error Code:</label>
<input
type="text"
id="errorCode"
placeholder="e.g., 0x00000004, 4, 0b100"
autocomplete="off"
>
<button id="decodeBtn">Decode</button>
<button id="clearBtn" class="secondary">Clear</button>
</div>
<div class="format-hint">
<p><strong>Supported formats:</strong></p>
<ul>
<li><strong>Hexadecimal:</strong> 0x00000004 or 0x4</li>
<li><strong>Decimal:</strong> 4</li>
<li><strong>Binary:</strong> 0b100 or 0b00000100</li>
</ul>
</div>
</section>
<section class="results-section" id="resultsSection" style="display: none;">
<h2>Decoded Errors</h2>
<div id="resultsContainer"></div>
</section>
<section class="reference-section">
<h2>Error Code Reference</h2>
<div class="table-container">
<table id="referenceTable">
<thead>
<tr>
<th>Bit</th>
<th>Hex Value</th>
<th>Error Name</th>
<th>Description</th>
</tr>
</thead>
<tbody id="referenceTableBody">
<!-- Populated by JavaScript -->
</tbody>
</table>
</div>
</section>
</main>
<footer>
<p>TI Tools | OTP Key Writer Error Code Decoder</p>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>