5. Bevezet´es
MCU
SBC
SDR
Vide´ok let¨olt´ese egy kev´esb´e n´epszer˝u megoszt´or´ol
Menek¨ul´es a szoftveres vil´agb´ol
SW konkl´uzi´o
Sebess´eg: gyors fejleszt´esi ciklusok
szerkeszt – futtat – debugol m´asodpercek alatt
K¨olts´eg: gyakorlatilag semmi
mindenkinek van PC-je
Szk´op: megl´ev˝o (legink´abb hardveres) infrastrukt´ura hat´arai
dnet / Veres-Szentkir´alyi Andr´as / HA5VSA vsza@vsza.hu Hardware hacking 1×1
6. Bevezet´es
MCU
SBC
SDR
Vide´ok let¨olt´ese egy kev´esb´e n´epszer˝u megoszt´or´ol
Menek¨ul´es a szoftveres vil´agb´ol
Els˝o akad´aly: k¨olts´egek
Szeretn´el hardvert hackelni? Kelleni fog . . .
egy development board
egy programoz´o
egy (in-circuit) debugger
egy oszcill´oszk´op
egy logikai analiz´ator
mindenf´ele, egym´assal inkompatibilis k´abelek
bloated, z´art, proprietary szoftvercsomagok
Emk´ekeztek DVD Jonra?
dnet / Veres-Szentkir´alyi Andr´as / HA5VSA vsza@vsza.hu Hardware hacking 1×1
7. Bevezet´es
MCU
SBC
SDR
Vide´ok let¨olt´ese egy kev´esb´e n´epszer˝u megoszt´or´ol
Menek¨ul´es a szoftveres vil´agb´ol
M´asodik akad´aly: tud´as
Siker¨ult p´enzt szerezni?
Akkor mind¨ossze meg kell ismerned . . .
p´ar
”
´erdekes” nyelvet
WTF BASIC, abnorm´alis C-vari´ansok
a fentieknek megfelel˝o ford´ıt´o haszn´alat´at
a kin´ezett hardver bels˝o m˝uk¨od´es´enek r´eszleteit
400 oldalas adatlap
p´ar proprietary perif´eri´at ´es drivert
. . . ugye?
dnet / Veres-Szentkir´alyi Andr´as / HA5VSA vsza@vsza.hu Hardware hacking 1×1
8. Bevezet´es
MCU
SBC
SDR
Vide´ok let¨olt´ese egy kev´esb´e n´epszer˝u megoszt´or´ol
Menek¨ul´es a szoftveres vil´agb´ol
Megold´asok a szoftveres vil´agban
Ezek a probl´em´ak m´ar ismertek a szoftveres vil´agban, ´es meg is
oldottuk ˝oket:
ingyenes ´es szabad, min˝os´egi ford´ıt´ok szuper nyelvekhez
keretrendszerek abszrakci´oja elrejti az als´obb r´etegeket
nem kell minden egyes dologra debugger, ha print is megteszi
Nem lehetne ezt hardverre is alkalmazni?
dnet / Veres-Szentkir´alyi Andr´as / HA5VSA vsza@vsza.hu Hardware hacking 1×1
10. Bevezet´es
MCU
SBC
SDR
Bevezet´es
Arduino vs. vil´ag
Mi ez?
Teljes ´ert´ek˝u ´altal´anos c´el´u mikrokontrolleres ´aramk¨or
Kezeld sz´am´ıt´og´epk´ent
Van CPU-ja: mikrokontrollernek h´ıvj´ak
Van mem´ori´aja: 1k RAM
Van t´arhelye
16k Flash (k´od)
512b EEPROM (adat)
Vannak portjai: USB, RS-232, I2C, SPI, . . .
dnet / Veres-Szentkir´alyi Andr´as / HA5VSA vsza@vsza.hu Hardware hacking 1×1
11. Bevezet´es
MCU
SBC
SDR
Bevezet´es
Arduino vs. vil´ag
Mi´ert nagy dolog?
Olcs´o (20 USD egy UNO, kl´onok 8 USD alatt)
A szoftver fut Linux, Mac ´es Windows platformokon
The driverek t´enyleg m˝uk¨odnek a fenti platformokon
A szoftver ´es hardver is szabad
A tanul´asi g¨orbe igen lank´as egy fa´ek egyszer˝us´eg˝u IDE-vel
(l´asd k¨ovetkez˝o slide)
Nem egy chipgy´art´o csin´alta (fontos!)
”
It is the Apple ][ of the open source prototyping movement –
the first successful device that was able to build a significant
following.”
dnet / Veres-Szentkir´alyi Andr´as / HA5VSA vsza@vsza.hu Hardware hacking 1×1
14. Bevezet´es
MCU
SBC
SDR
Bevezet´es
Arduino vs. vil´ag
Hardveres b˝ov´ıt´es: shieldek
”
A product transcends being a mere product and becomes the core
of an ecosystem when it’s easy to add things onto it and when the
interface between the two stays stable enough that people feel
comfortable committing resources to it over the long term. With
the early PCs, it was their slot connectors. With the iPod
it’s the dock connector. With the Arduino, it’s the shield
connector. I think we all know there are problems with its current
design, but the Arduino team is wise not to change it in an
incompatible way because that hurts the Arduino ecosystem.”
dnet / Veres-Szentkir´alyi Andr´as / HA5VSA vsza@vsza.hu Hardware hacking 1×1