Renode: gini bu ihe owuwu a na gini mere I ji eche?

Megharia IO

imeghari ohuru Ọ bụ ọrụ na-adịbeghị anya nke ọ bụghị ọtụtụ maara banyere ya, mana nke ahụ nwere ike ịmasị ọtụtụ ndị na-eme ya, ndị na-amu amu na-eme ụdị ihe atụ ha Arduino o Ntu Pi, na ndị mmepe na -emepụta ọrụ IoT na sistemụ agbakwunyere. Maka nke a, ọ nwere ọtụtụ nkwado, nkuzi na ọdịnaya dị na webụ.

Knowmatakwu banyere nke a na-adọrọ mmasị emeghe iyi oru ngo, ị nwere ike ịgụ isiokwu a na ihe ndị dị mkpa iji mata ya wee malite iso ya rụọ ọrụ n'ọdịnihu gị ...

Gịnị bụ usoro?

kpuchie

imeghari ohuru ọ bụ usoro, dị ka ọtụtụ ndị ọzọ. Maka ndị na-amatabeghị ihe nke ahụ bụ, ekwesiri ịmara na usoro bụ ntọala ahaziri nke ọ ga-adabere na ebumnuche dị iche iche, yana iji chekwaa oge, dị ka mmepe, idozi nsogbu, ịgbakwunye nkwado nke mmemme, ọba akwụkwọ, ngwa ọrụ, wdg.

Gịnị bụ Renode?

N'ihe banyere Renode, bu ihe nkpuchi nke ahụ na-enye ohere ịme ngwangwa mmepe nke sistemu jikọtara ọnụ na IoT, na-enye ohere ịmegharị usoro ngwaike anụ ahụ, gụnyere CPUs, akụkụ I / O, sensọ, yana ihe ndị ọzọ dị gburugburu. Ya mere, ọ ga - enye gị ohere ịgba ọsọ, debug ma nwalee ngwanrọ mepụtara na - enweghị gbanwee PC gị ma ọ bụ jiri nyiwe ndị ọzọ.

Ma efere akwadonwere ọnụ ọgụgụ dị ukwuu n'ime ha. Otu n'ime ha bụ Xilinx, ST Micro, Microchip PolarFire, SiFive, wdg.

I kwesịkwara ịma na Renode bụ a emeghe iyi oru ngo, n'agbanyeghị na nkwado azụmahịa nke Antmicro. Na mgbakwunye, ọ na-enye ohere ịmegharị ogwe aka Arm na RISC-V, na-enye ohere mmepe ngwa ngwa na nkwado maka ndị mmepe sọftụwia na-arụ ọrụ na ụwa IoT.

Renode zuru oke, dị ike ma na-arụ ọrụ. Nke ukwuu, na TensorFlow Lite otu onwe ya na-eji ya iji mee ngwangwa mmepe na Ogwe aka na RISC-V nyiwe, yana x86, SPARC, na PowerPC. Enweghị mkpa ịnwe ngwaike anụ ahụ site na nyiwe ndị a maka ule.

Ozi ndị ọzọ - Ebe nrụọrụ weebụ gọọmentị nke ọrụ Renode.io

Nyiwe akwadoro

Ma nyiwe akwado maka nhazi Renode, nke ị nwere ike ịrụ ọrụ, bụ:

Ibu-mara ihe, ọ bụ naanị iri puku kwuru iri MB, yabụ na ọ bụghị ngwugwu dị arọ.

Wụnye Renode site na nzọụkwụ na Linux

Na-ewere Ubuntu distro dị ka ntụnye aka, wụnye Renode ọ dị mfe dịka ịgbaso usoro ndị a:

  • Nkwado afọ ojuju, dị ka nke 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

  • Mgbe nke ahụ gasịrị, ị ga-eju afọ ndị ọzọ dependencies:
sudo apt-get install policykit-1 libgtk2.0-0 screen uml-utilities gtk-sharp2 libc6-dev

  • Ugbu a, nweta nke a web na ibudata el Ngwugwu DEB.
  • Ihe ọzọ ga-abụ gaa na nbudata ihe nbudata ebe ị ebudatara .deb ma wụnye (Cheta iji dochie aha ya na ụdị nke kwekọrọ na gị):
cd Descargas

sudo dpkg -i renode_1.7.1_amd64.deb

Gbaa Renode na oge mbụ na usoro mbụ

Ugbu a ị nwere ike na-agba Renode na nke mbụ ma malite na oru mbu gi. Maka ogbugbu ya, ị ga-eme iwu ahụ:

renode

Nke a mepere a ọrụ window site na Renode ebe ị nwere ike tinye iwu iji mepụta igwe mbụ ma ọ bụ jikwaa ya. Iji maa atụ, iji mepụta igwe iji gosipụta mbadamba STM32F4Discovery:

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

I nwekwara ike lee mpụta dị n'elu ikpo okwu na:

(machine-0) peripherals

Site n'ụzọ igwe-0 ọ ga-abụ aha igwe ndabara ma ọ bụrụ na ị họrọghị ọzọ. Ọ ga - apụta dị ka “oge” ozugbo imepụta igwe ...

para Ibu mmemme chọrọ ịgba ọsọ na igwe anwakọ a iji nwalee ya, ịnwere ike iji ya (ịmaatụ: nke a sitere na Antmicro):

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

I nwekwara ike buru ya n’adres di n’akuku, iji maa atụ, were ya na ịchọrọ ịwụnye mmemme ị nwere na:

sysbus LoadELF @mi-ejemplo.elf
Nwere ike ịhụ iwu niile ị nwere ike iji ma nyere aka ma ọ bụrụ na ị jiri iwu ahụ Enyemaka n'ime gburugburu Renode.

Mgbe ahụ i nwere ike malite iulationomi:

start

O kwụsị ya na:

pause

 

Echere m na ọ baara gị uru…

Renode nkuzi

Ọ bụ ezie na ọ naghị adịkarị, enwere ndị ọzọ na ndị ọzọ nkuzi na ebe nrụọrụ weebụ ị nwere ike ịchọta ozi gbasara iji Renode. Na mgbakwunye, ibe gọọmentị n'onwe ya nwere ngalaba nke vidiyo nkuzi nke iji mụta ntọala iji malite ọrụ gị.

Hụ nkuzi

Lee akwụkwọ na wiki


Ọdịnaya nke isiokwu agbaso ụkpụrụ anyị nke ụkpụrụ nduzi. Kpesa mmejọ pịa ebe a.

Bụrụ onye mbụ ịza ajụjụ

Hapu okwu gi

Adreesị email gị agaghị bipụtara. Chọrọ ubi na-akara na *

*

*

  1. Rụ ọrụ maka data: Miguel Ángel Gatón
  2. Nzube nke data: Nchịkwa SPAM, njikwa okwu.
  3. Ikike: Nkwenye gị
  4. Nkwurịta okwu nke data: Agaghị agwa ndị ọzọ data ahụ ma ọ bụghị site na iwu.
  5. Nchekwa data: Ebe nchekwa data nke Occentus Networks (EU) kwadoro
  6. Ikike: Oge obula inwere ike igbachi, weghachite ma hichapụ ihe omuma gi.