Renode: chii ichi chimiro uye nei uchifanira hanya?

IO kuvandudzwa

vandudza Icho chirongwa chazvino chisingazivikanwe nevazhinji nezvacho, asi icho chinogona kuve chinonakidza kune vazhinji vanogadzira, amateurs vanoita kwavo prototypes ne Arduino o Raspberry Pi, uye vagadziri vanogadzira mapurojekiti eIoT uye masisitimu akadzika midzi. Neichi chikonzero, ine yakawanda uye yakawanda rutsigiro, tutorials uye zvemukati pawebhu.

Kuziva zvakawanda nezve izvi zvinonakidza open source chirongwa, iwe unogona kuverenga chinyorwa ichi nezvakakosha kuti umuzive uye utange kushanda naye mune ako ramangwana mapurojekiti ...

Chii chinonzi chimiro?

framework

vandudza hwaro, sevamwe vakawanda. Kune avo vachiri kusaziva kuti chii ichocho, zvinofanirwa kucherechedzwa kuti furemu yakamisikidzwa seti yekuvimba nezvinangwa zvakasiyana, uye nechinangwa chekuchengetedza nguva, senge kusimudzira, kugadzirisa matambudziko, kuwedzera kutsigirwa kwezvirongwa, maraibhurari, zvishandiso, nezvimwe.

Chii chinonzi Renode?

Munyaya ye Renode, ihwaro iyo inobvumidza kukurumidza kusimudzira kweyakagadziriswa masystem uye IoT, ichibvumidza kuteedzera epanyama Hardware masisitimu, kusanganisira maCPU, maI / O mapheripendi, masensa, uye zvimwe zvinhu zvemamiriro ekunze. Naizvozvo, izvo zvinokutendera iwe kumhanya, debug uye bvunzo software yakagadzirwa pasina kugadzirisa PC yako kana kushandisa mamwe mapuratifomu.

Kana ari akatsigira ndiroa vakawanda vavo. Pakati payo pane iyo Xilinx, ST Micro, Microchip PolarFire, SiFive, nezvimwe.

Iwe unofanirwa zvakare kuziva kuti Renode iri open source chirongwa, kunyangwe iine rutsigiro rwekutengesa rweAntmicro. Uye zvakare, iyo inobvumidza kutevedzera Arm neRISC-V Hardware, ichibvumira kukurumidza kukurumidza uye rutsigiro rwevagadziri ve software vanoshanda munyika yeIoT.

Renode yakakwana kwazvo, ine simba uye inoshanda. Zvakanyanya, zvekuti timu yeTensorFlow Lite pachayo inoishandisa kukwidziridza otomatiki kuvandudza mukati Arm uye RISC-V mapuratifomu, pamwe neX86, SPARC, uye PowerPC. Hapana kudikanwa kwekuve nemidziyo yemuviri kubva kune aya mapuratifomu ekuyedza

Mamwe mashoko - Yepamutemo webhusaiti yeiyo Renode.io chirongwa

Akatsigira mapuratifomu

Kana ari akatsigira mapuratifomu yeiyo Renode fomati, kwaunogona kushanda, ndeiyi:

Kurema-kuchenjera, zvinongova makumi emakumi emazana eMMB, saka haisi inorema package.

Isa Renode nhanho nhanho pane Linux

Kutora sereferenzi Ubuntu distro, gadza Renode Zviri nyore sekutevera nhanho idzi:

  • Kugutsikana kutsamira, senge iko kwe 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

  • Mushure meizvozvo, iwe unofanirwa kugutsa kumwe kutsamira:
sudo apt-get install policykit-1 libgtk2.0-0 screen uml-utilities gtk-sharp2 libc6-dev

  • Zvino, svika izvi webhu uye kurodha pasi el DEB package.
  • Chinhu chinotevera chinenge chiri chekuenda kune dhairekitori reDownload uko kwaunotora iyo .deb uye gadza (Rangarira kutsiva zita racho neshanduro inoenderana newe):
cd Descargas

sudo dpkg -i renode_1.7.1_amd64.deb

Kumhanya Renode kekutanga uye nhanho dzekutanga

Zvino unogona mhanya Renode kekutanga uye tanga nemapurojekiti ako ekutanga. Nekuitwa kwayo, iwe unongofanirwa kuita odha:

renode

Izvi zvinovhura basa hwindo kubva kuRenode kwaunogona kuisa mirairo yekugadzira muchina wekutanga kana kuibata. Semuenzaniso, kugadzira muchina kutevedzera iyo STM32F4Discovery board:

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

Iwe unogona zvakare ona zvigadzirwa inowanikwa papuratifomu ne:

(machine-0) peripherals

Nenzira muchina-0 richava iro zita remuchina wakasarudzika kana usati wasarudza imwe. Ichaonekwa se "kukurumidza" kana iwe uchinge wagadzira muchina ...

Para kurodha chirongwa iwe unoda kumhanya pane uyu mushini wakaenzanisirwa kuti uuedze, unogona kushandisa (semuenzaniso: uyu kubva kuAntmicro):

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

Iwe unogona zvakare rodha pasi kubva kukero yemuno, semuenzaniso, fungidzira kuti iwe unoda kurodha chirongwa chauinacho mu:

sysbus LoadELF @mi-ejemplo.elf
Unogona kuona mirairo yese yaunogona kushandisa uye kubatsira kana iwe ukashandisa rairo batsira mukati meiyo renode nharaunda.

Ipapo unogona tanga kutevedzera:

start

O mumise na:

pause

 

Ndinovimba zvave zvichikubatsirai imi…

Renode tutorials

Kunyangwe isingawanzo kuitika, kune akawanda uye akawanda tutorials uye mawebhusaiti maunogona kubvunza ruzivo nezve kushandiswa kweRenode. Uye zvakare, iro repamutemo peji pacharo rine chikamu chedzidziso mavhidhiyo nawo ekudzidza izvo zvekutanga kutanga ako mapurojekiti.

Ona tutorials

Ona zvinyorwa uye wiki


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako