„UT.6.01” változatai közötti eltérés
475. sor: | 475. sor: | ||
</tbody> | </tbody> | ||
</table> | </table> | ||
</html> | |||
=== Large numbers reference === | |||
<html> | |||
<table class="MsoNormalTable" style="margin-left: 18.9pt; border-collapse: collapse;" border="1"> | |||
<tbody> | |||
<tr> | |||
<td style="border-style: solid none; border-color: black -moz-use-text-color; border-width: 1.5pt medium 1pt; padding: 0in 5.4pt; width: 64.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><i><span style="font-size: 12pt;">Value</span></i></p> | |||
</td> | |||
<td style="border-style: solid none; border-color: black -moz-use-text-color; border-width: 1.5pt medium 1pt; padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><i><span style="font-size: 12pt;">SI Decimal</span></i></p> | |||
</td> | |||
<td style="border-style: solid none; border-color: black -moz-use-text-color; border-width: 1.5pt medium 1pt; padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><i><span style="font-size: 12pt;">SI Decimal</span></i></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 32.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><i><span style="font-size: 12pt;"> </span></i></p> | |||
</td> | |||
<td style="border-style: solid none; border-color: black -moz-use-text-color; border-width: 1.5pt medium 1pt; padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><i><span style="font-size: 12pt;">Value</span></i></p> | |||
</td> | |||
<td style="border-style: solid none; border-color: black -moz-use-text-color; border-width: 1.5pt medium 1pt; padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><i><span style="font-size: 12pt;">IEC Binary</span></i></p> | |||
</td> | |||
<td style="border-style: solid none; border-color: black -moz-use-text-color; border-width: 1.5pt medium 1pt; padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><i><span style="font-size: 12pt;">IEC Binary</span></i></p> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="padding: 0in 5.4pt; width: 64.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1000<sup>1</sup> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">k </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">kilo- </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 32.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;"> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1024<sup>1</sup></span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">Ki</span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">kibi- </span></p> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="padding: 0in 5.4pt; width: 64.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1000<sup>2</sup> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">M </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">mega- </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 32.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;"> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1024<sup>2</sup></span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">Mi</span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">mebi- </span></p> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="padding: 0in 5.4pt; width: 64.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1000<sup>3</sup> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">G </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">giga- </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 32.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;"> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1024<sup>3</sup></span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">Gi</span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">gibi-</span></p> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="padding: 0in 5.4pt; width: 64.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1000<sup>4</sup> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">T </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">tera- </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 32.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;"> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1024<sup>4</sup></span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">Ti</span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">tebi-</span></p> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="padding: 0in 5.4pt; width: 64.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1000<sup>5</sup> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">P </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">peta- </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 32.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;"> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1024<sup>5</sup></span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">Pi</span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">pebi-</span></p> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="padding: 0in 5.4pt; width: 64.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1000<sup>6</sup> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">E </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">exa- </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 32.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;"> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1024<sup>6</sup></span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">Ei</span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">exbi-</span></p> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="padding: 0in 5.4pt; width: 64.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1000<sup>7</sup> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">Z </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">zetta- </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 32.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;"> </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1024<sup>7</sup></span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">Zi</span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">zebi-</span></p> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color black; border-width: medium medium 1.5pt; padding: 0in 5.4pt; width: 64.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1000<sup>8</sup> </span></p> | |||
</td> | |||
<td style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color black; border-width: medium medium 1.5pt; padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">Y </span></p> | |||
</td> | |||
<td style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color black; border-width: medium medium 1.5pt; padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">yotta- </span></p> | |||
</td> | |||
<td style="padding: 0in 5.4pt; width: 32.45pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;"> </span></p> | |||
</td> | |||
<td style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color black; border-width: medium medium 1.5pt; padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">1024<sup>8</sup></span></p> | |||
</td> | |||
<td style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color black; border-width: medium medium 1.5pt; padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">Yi</span></p> | |||
</td> | |||
<td style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color black; border-width: medium medium 1.5pt; padding: 0in 5.4pt; width: 64.5pt;"> | |||
<p class="MsoBodyText" style="margin: 0in 0in 0.0001pt;"><span style="font-size: 12pt;">yobi-</span></p> | |||
</td> | |||
</tr> | |||
</tbody> | |||
</table> | |||
</html> | </html> |
A lap 2014. január 26., 09:33-kori változata
C1 Bevezetés
Folyamatosan gyűjtöm az anyagokat és fordítom, ahogy lehet
C2 Alap fogalmak
Bináris számok és rendszerek
Hexadecimális számok
Hex Digit |
Decimal Value |
Binary Value |
0 |
0 |
0000 |
1 |
1 |
0001 |
2 |
2 |
0010 |
3 |
3 |
0011 |
4 |
4 |
0100 |
5 |
5 |
0101 |
6 |
6 |
0110 |
7 |
7 |
0111 |
8 |
8 |
1000 |
9 |
9 |
1001 |
A or a |
10 |
1010 |
B or b |
11 |
1011 |
C or c |
12 |
1100 |
D or d |
13 |
1101 |
E or e |
14 |
1110 |
F or f |
15 |
1111 |
Beágyazott rendszerek
Processzor típusok: x86 (ált. asztali gép), ARM.
"Az I/O az a ragasztó, amivel a processzor kapcsolódik a világhoz."
Tervezési szempontok: tesztelhetőség, haszon, energia igény, méret, megfelelő válasz megfelelő időben.
Human-computer interface (HCI) or man-machine interface (MMI).
Tipikus példa: multiméter.
Bevezetés a számítógépekhez
Neumann architecture
Számítógép = proceszor + RAM + ROM + IO.
Neumann architecture,
"A port is a physical connection between the computer and its outside world. Ports allow information to enter and exit the system."
"A bus is a collection of wires used to pass information between modules."
A busz vezetékek gyűjteménye, amit a modulok közti információ cserére használunk.
Harvard architecture
ARM®Cortex™-M processor. "separate data and instruction buses"
Külön adat, és utasítás buszok.
"The nested vectored interrupt controller (NVIC) manages interrupts, which are hardware-triggered software functions. "
A beágyazott irányítható megszakítás-vezérlő - NVIC
Fogalmak
A microprocessor is a small processor.
A microcomputer is a small computer that includes a processor, memory and I/O devices.
A microcontroller is a single chip computer.
IO portok
CPU regiszterek
ISA Instruction set architecture
MEMORY MAP LAYOUT
RAM (random access memory)
ROM (read only memory)
ROM-ok:
Static RAM (SRAM)
Programmable ROM (PROM) 10000 times slower RAM
Electrically erasable programmable ROM (EEPROM)
"In regular EEPROM, you can erase and program individual bytes. "
FLASH ROM
"Flash ROM is a popular type of EEPROM. Each flash bit requires only two MOSFET transistors. The input (gate) of one transistor is electrically isolated, so if we trap charge on this input, it will remain there for years."
"Each flash bit requires only two MOSFET transistors The input (gate) of one transistor is electrically isolated, so if we trap charge on this input, it will remain there for years. The other transistor is used to read the bit by sensing whether or not the other transistor has trapped charge."
"Flash ROM must be erased in large blocks. On many of Stellaris family of microcontrollers, we can erase the entire ROM or just a 1024-byte block."
"Because flash is smaller than regular EEPROM, most microcontrollers have a large flash into which we store the software. For all the systems in this class, we will store instructions and constants in flash ROM and place variables and temporary data in static RAM."
"Flash ROM is higher density because it requires few transistors compared to RAM."
Software
CortexM_InstructionSet.pdf Instruction Set Reference Manual https://courses.edx.org/c4x/UTAustinX/UT.6.01x/asset/CortexM_InstructionSet.pdf
CortexM4_TRM_r0p1.pdf Cortex-M4 Technical Reference Manual https://courses.edx.org/c4x/UTAustinX/UT.6.01x/asset/CortexM_InstructionSet.pdf
LaunchPadUsersManual.pdf LaunchPad Manual
tm4c123gh6pm.pdf Data Sheet for the TM4C123 microcontroller
C3 Elektronikai alapismeretek
Ohm törvény
R = V / I I = V / R
R = V / I
P = V * I Power = Voltage * Current
P = V2 / R Power = Voltage2 / Resistance P = I2 * R Power = Current2 * Resistance
Energia
Elemekre:
E (energia)= V (feszültség) * I (áramerősség) * time (idő)
E-> állandó ; V -> állandó, az idő vagy az I csökkentésével csökkenthetjük a felhasznált energiát.
C4 Digitális logikai műveletek
D Logikai műveletek
A |
B |
AND |
NAND |
OR |
NOR |
EOR |
Ex NOR |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
1 |
Symbol |
A&B |
~(A&B) |
A|B |
~(A|B) |
A^B |
~(A^B) |
Boolean Algebra
A & B = B & A |
Commutative Law |
Large numbers reference
Value |
SI Decimal |
SI Decimal |
|
Value |
IEC Binary |
IEC Binary |
10001 |
k |
kilo- |
|
10241 |
Ki |
kibi- |
10002 |
M |
mega- |
|
10242 |
Mi |
mebi- |
10003 |
G |
giga- |
|
10243 |
Gi |
gibi- |
10004 |
T |
tera- |
|
10244 |
Ti |
tebi- |
10005 |
P |
peta- |
|
10245 |
Pi |
pebi- |
10006 |
E |
exa- |
|
10246 |
Ei |
exbi- |
10007 |
Z |
zetta- |
|
10247 |
Zi |
zebi- |
10008 |
Y |
yotta- |
|
10248 |
Yi |
yobi- |