URenode: sithini esi sikhokelo kwaye kutheni kufuneka ukhathalele?

Qamba ngokutsha i-IO

Qalela kwakhona Yiprojekthi yamva nje engaziwa ngabantu abaninzi, kodwa inokuba yinto enomdla kakhulu kubenzi abaninzi, i-amateurs ezenza iiprototypes zazo Arduino o Raspberry Pi, kunye nabaphuhlisi benza iiprojekthi ze-IoT kunye neenkqubo ezifakwe ngaphakathi. Ngesi sizathu, inenkxaso engakumbi nangakumbi, iityhuths kunye nomxholo kwiwebhu.

Ukwazi ngakumbi malunga noku kunomdla iprojekti yomthombo ovulekileyo, ungalifunda eli nqaku ngezinto ezibalulekileyo ukuze umazi kwaye uqale ukusebenza naye kwiiprojekthi zakho ezizayo ...

Yintoni isikhokelo?

sikhokelo

Qalela kwakhona sisakhelo, Njengabanye abaninzi. Kulabo abasakwaziyo ukuba yintoni leyo, kufanele kuqatshelwe ukuba isakhelo sisetiweyo emiselweyo ekuthembele kuyo ngeenjongo ezahlukeneyo, kwaye ngeenjongo zokonga ixesha, ezinje ngophuhliso, ukusombulula iingxaki, ukongeza inkxaso yeenkqubo, iilayibrari, izixhobo, njl.

Yintoni uRenode?

Kwimeko I-Renode, sisakhelo evumela ukukhawulezisa uphuhliso lweenkqubo ezihlanganisiweyo kunye ne-IoT, evumela ukulinganisa iinkqubo zehardware yomzimba, kubandakanya ii-CPU, iipheripheriyali ze-I / O, iisenzi kunye nezinye izinto zokusingqongileyo. Ke ngoko, iya kukuvumela ukuba usebenze, ulungise ingxaki kwaye uvavanye isoftware ephuculweyo ngaphandle kokuguqula ikhompyuter yakho okanye ukusebenzisa amanye amaqonga.

Ngokuphathelele iipleyiti ezixhaswayoine inani elikhulu labo. Phakathi kwazo kukho iXilinx, ST Micro, Microchip PolarFire, SiFive, njl.

Kuya kufuneka uyazi ukuba iRenode yi iprojekti yomthombo ovulekileyo, nangona ngenkxaso yezorhwebo yeAnticicro. Ukongeza, ivumela ukulinganisa izixhobo zeArm kunye neRISC-V, ivumela ukukhula ngokukhawuleza kunye nenkxaso yabaphuhlisi besoftware abasebenza kwihlabathi le-IoT.

URenode ugqibelele kakhulu, unamandla kwaye uyasebenza. Kakhulu, kangangokuba iqela leTensorFlow Lite liyisebenzisa ukukhawulezisa uphuhliso oluzenzekelayo ngaphakathi Ingalo kunye neqonga leRISC-V, Kunye neX86, SPARC, kunye nePowerPC. Akukho sidingo sokuba nezixhobo ezibonakalayo zala maqonga okuvavanya.

Iinkcukacha ezithe xaxe - Iwebhusayithi esemthethweni yeprojekthi yeRenode.io

Amaqonga axhaswayo

Ngokuphathelele amaqonga axhaswayo Isakhelo seRenode, apho unokusebenza khona, zezi:

Ngokwesisindo, phantse kube ngamashumi ambalwa e-MB, ke ayisiyompakethe inzima.

Faka iRenode inyathelo ngenyathelo kwiLinux

Ukuthatha i-Ubuntu distro njengereferensi, faka i-Renode Kulula njengokulandela la manyathelo:

  • Ukoneliseka kokuxhomekeka, njengaleyo ye- mono:
sudo apt update
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo apt install apt-transport-https ca-certificates
echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-complete

  • Emva koko, kuya kufuneka wonelise okunye ukuxhomekeka:
sudo apt-get install policykit-1 libgtk2.0-0 screen uml-utilities gtk-sharp2 libc6-dev

  • Ngoku, fikelela koku web kunye nokukhuphela el Iphakheji ye-DEB.
  • Into elandelayo iya kuhamba kwisikhombisi sokukhuphela apho ukhuphele khona .deb kwaye ufake (Khumbula ukufaka igama endaweni kunye nohlobo oluhambelana nawe):
cd Descargas

sudo dpkg -i renode_1.7.1_amd64.deb

Sebenzisa i-Renode okokuqala kunye namanyathelo okuqala

Ngoku unako run Renode okokuqala kwaye uqale ngeeprojekthi zakho zokuqala. Ukuphunyezwa kwayo, kuya kufuneka wenze lo myalelo:

renode

Oku kuvula iwindow yomsebenzi ukusuka kwi-Renode apho ungangena khona imiyalelo yokwenza umatshini wokuqala okanye ukuwulawula. Umzekelo, ukwenza umatshini wokulinganisa i-STM32F4Discovery board:

mach create
machine LoadPlatformDescription @platforms/boards/stm32f4_discovery-kit
.repl 

Unako kwakhona jonga kwimida iyafumaneka eqongeni nge:

(machine-0) peripherals

Ngendlela, umatshini-0 Iya kuba ligama lomatshini ongagqibekanga ukuba awukhethanga elinye. Iya kuvela "ngokukhawuleza" nje ukuba wenze umatshini ...

ukuba layisha inkqubo ufuna ukubaleka kulo matshini ulingisiweyo ukuwuvavanya, ungasebenzisa (umzekelo: lo uvela kwiAntmicro):

sysbus LoadELF @http://antmicro.com/projects/renode/stm32f4discovery.elf-s_445441-827a0dedd3790f4559d7518320006613768b5e72

Unako kwakhona layisha kwidilesi yendawo, umzekelo, cinga ukuba ufuna ukulayisha inkqubo onayo:

sysbus LoadELF @mi-ejemplo.elf
Uyayibona yonke imiyalelo onokuyisebenzisa kwaye uncede ukuba usebenzisa lo myalelo Nceda ngaphakathi kwe-Renode bume.

Emva koko unako qalisa ukulinganisa:

start

O mnqande no:

pause

Ndiyathemba ukuba iluncedo kuwe…

Hlaziya kwakhona izifundo

Nangona ingaqhelekanga rhoqo, kukho ngakumbi nangakumbi abaqeqeshiweyo kunye neewebhusayithi apho unokujonga khona malunga nokusetyenziswa kweRenode. Ukongeza, iphepha elisemthethweni ngokwalo linecandelo leevidiyo zokufundisa onokuthi ufunde ngazo iziseko zokuqala iiprojekthi zakho.

Jonga iitutorials

Jonga amaxwebhu kunye newiki


Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.