Renode: menene wannan tsarin kuma me yasa yakamata ku damu?

Farashin IO

Sake gyarawa Aiki ne na kwanan nan wanda da yawa basu san dashi ba, amma wannan na iya zama mai ban sha'awa ga yawancin masu yinta, yan koyo waɗanda suke yin samfurin su da Arduino o Rasberi Pi, da masu haɓaka ƙirƙirar ayyukan IoT da tsarin sakawa. Saboda wannan dalili, yana da ƙarin tallafi, koyarwa da abubuwan cikin yanar gizo.

Don ƙarin sani game da wannan mai ban sha'awa bude tushen aiki, zaku iya karanta wannan labarin tare da abubuwan mahimmanci don ku san shi kuma ku fara aiki tare da shi a ayyukanku na gaba ...

Menene tsarin?

tsarin

Sake gyarawa tsarin ne, kamar sauran mutane. Ga waɗanda har yanzu ba su san abin da hakan yake ba, ya kamata a lura cewa tsarin shine daidaitaccen tsari wanda za'a dogara dashi akan dalilai daban-daban, kuma da nufin tanadin lokaci, kamar ci gaba, warware matsaloli, ƙara tallafi ga shirye-shirye, dakunan karatu, kayan aiki, da sauransu.

Menene Renode?

A cikin hali na Renode, tsari ne hakan yana ba da damar haɓaka ci gaban hadaddun tsarin da IoT, yana ba da damar yin kwatankwacin tsarin kayan aikin jiki, gami da CPUs, I / O kayan haɗi, na'urori masu auna sigina, da sauran abubuwan da ke cikin yanayin. Sabili da haka, zai ba ku damar gudana, cire kuskure da gwajin software ba tare da gyaggyara PC ɗinku ba ko amfani da wasu dandamali.

Amma ga faranti masu tallafiyana adadi mai yawa daga cikinsu. Daga cikinsu akwai Xilinx, ST Micro, Microchip PolarFire, SiFive, da sauransu.

Ya kamata kuma ku sani cewa Renode shine bude tushen aiki, kodayake tare da tallafin kasuwanci na Antmicro. Bugu da ƙari, yana ba da izinin yin kwaikwayon kayan Arm da RISC-V, yana ba da damar ci gaba da sauri da tallafi ga masu haɓaka software da ke aiki a cikin duniyar IoT.

Renode yana da cikakke, mai ƙarfi da aiki. Da yawa sosai, cewa ƙungiyar TensorFlow Lite kanta tana amfani da shi don haɓaka haɓaka ta atomatik a ciki Arm da RISC-V dandamali, da kuma x86, SPARC, da PowerPC. Babu buƙatar samun kayan aikin jiki na waɗannan dandamali don gwaji.

Informationarin bayani - Tashar yanar gizon hukuma ta aikin Renode.io

Goyon bayan dandamali

Amma ga dandamali masu tallafi don tsarin Renode, wanda zaku iya aiki, daga sune:

Dangane da nauyi, kusan 'yan dubun MB ne, saboda haka ba shi da nauyi.

Sanya Renode mataki-mataki akan Linux

Yin la'akari da Ubuntu distro, shigar da Renode yana da sauƙi kamar bin waɗannan matakan:

  • Dogaro masu gamsarwa, kamar na 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

  • Bayan wannan, dole ne ka gamsar wasu dogaro:
sudo apt-get install policykit-1 libgtk2.0-0 screen uml-utilities gtk-sharp2 libc6-dev

  • Yanzu, sami dama ga wannan yanar gizo da kuma sauke el Kunshin DEB.
  • Abu na gaba zai kasance zuwa kundin saukar da bayanai inda kayi downloading da .deb kuma shigar (Ka tuna maye gurbin sunan da sigar da ta dace da kai):
cd Descargas

sudo dpkg -i renode_1.7.1_amd64.deb

Gudun Renode a karon farko da matakan farko

Yanzu zaka iya gudu Renode a karon farko kuma fara da ayyukanku na farko. Don aiwatar da ita, kawai ku aiwatar da umarnin:

renode

Wannan yana buɗewa a aikin taga daga Renode inda zaku iya shigar da umarnin don ƙirƙirar na'ura ta farko ko don sarrafa ta. Misali, don ƙirƙirar na'ura don yin kwatankwacin hukumar STM32F4Discovery:

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

Zaka kuma iya duba kayan aiki akwai akan dandamali tare da:

(machine-0) peripherals

Af inji-0 zai zama tsoffin inji inji idan baku zabi wani ba. Zai bayyana a matsayin "hanzari" da zarar kun ƙirƙiri inji ...

para loda shirin kuna son yin amfani da wannan na'urar da aka kwafsa domin gwada ta, zaku iya amfani da ita (misali: wannan daga Antmicro):

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

Hakanan zaka iya loda shi daga adireshin gida, misali, kaga cewa kana son loda shirin da kake dashi:

sysbus LoadELF @mi-ejemplo.elf
Kuna iya ganin duk umarnin da zaku iya amfani da su kuma taimaka idan kuna amfani da umarnin taimaka a cikin yanayin Renode.

Sannan zaka iya fara kwaikwayo:

start

O dakatar da ita tare da:

pause

 

Ina fatan ya taimaka muku…

Sake koyarwa

Kodayake ba sau da yawa, akwai ƙari da ƙari koyawa da kuma shafukan yanar gizo inda zaku iya tuntuɓar bayani game da amfani da Renode. Kari akan haka, shafin hukuma da kansa yana da wani bangare na bidiyo na koyo wanda da shi za a iya koyon abubuwan yau da kullun don fara ayyukanku.

Duba koyawa

Duba takardu da wiki


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.