{"id":2416,"date":"2023-08-23T05:58:58","date_gmt":"2023-08-23T05:58:58","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=2416"},"modified":"2024-05-07T06:21:06","modified_gmt":"2024-05-07T06:21:06","slug":"first-hello-world-project-in-aries-v3-0","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/first-hello-world-project-in-aries-v3-0\/","title":{"rendered":"First Hello World project in ARIES V3.0"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>This guide will provide you with a step by step walk-through of running a software on VEGA based development boards using Arduino IDE. In every language, generally, the first Hello World project is a simple program that prints &#8220;Hello World&#8221;. We will see what such a code would look like for ARIES using Arduino IDE.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">ARIES v3.0<\/h2>\n\n\n\n<p>The ARIES v3.0 is a fully indigenous and a \u201cMade in India\u201d product to get started with basic microprocessor programming and embedded systems. This board is built upon a RISC-V ISA compliant VEGA Processor with easy-to-use hardware and software. For more details about ARIES v3.0 boards please refer to the&nbsp;<a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.html\">ARIES development boards and Ecosystem<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"771\" height=\"539\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/v3.png\" alt=\"\" class=\"wp-image-2763\" style=\"width:355px;height:248px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/v3.png 771w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/v3-300x210.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/v3-768x537.png 768w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows 10 or above\/Linux (64 bit)<\/li>\n\n\n\n<li>Arduino IDE<\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.html\" target=\"_blank\">VEGA ARIES Board support package<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Components Required<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ARIES v3.0 Board<\/li>\n\n\n\n<li>USB type C to USB type A cable<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit Diagram:<\/h2>\n\n\n\n<p>No external connections required to test this code. You can directly connect Aries board through USB and upload the program.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"944\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/blink-1.png\" alt=\"\" class=\"wp-image-2721\" style=\"width:236px;height:332px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/blink-1.png 671w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/blink-1-213x300.png 213w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Setup VEGA Ecosystem<\/h2>\n\n\n\n<p>Download and <a href=\"https:\/\/www.arduino.cc\/en\/software\">install Arduino IDE 1.8.19<\/a><\/p>\n\n\n\n<p>Once installed Open Arduino IDE<\/p>\n\n\n\n<p>Open <strong>File-&gt;Preferences<\/strong>, Add below JSON in &#8220;Additional Boards Manager URL&#8221;, Press OK<\/p>\n\n\n\n<p><a href=\"https:\/\/gitlab.com\/riscv-vega\/vega-arduino\/-\/raw\/main\/package_vega_index.json\">https:\/\/gitlab.com\/riscv-vega\/vega-arduino\/-\/raw\/main\/package_vega_index.json<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"532\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/preferences.png\" alt=\"\" class=\"wp-image-2418\" style=\"width:495px;height:330px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/preferences.png 798w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/preferences-300x200.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/preferences-768x512.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<p>Open<strong> Tools-&gt;Boards-&gt;Board manager<\/strong>, Search for &#8220;vega&#8221;<\/p>\n\n\n\n<p>Install &#8220;VEGA ARIES Boards&#8221; with latest version<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"570\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h1-1024x570.png\" alt=\"\" class=\"wp-image-2583\" style=\"width:508px;height:283px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h1-1024x570.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h1-300x167.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h1-768x428.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h1.png 1191w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select <strong>Tools-&gt;Board-&gt;VEGA Processor: ARIES Boards-&gt;ARIES v3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"455\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-11-1024x455.png\" alt=\"\" class=\"wp-image-4378\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-11-1024x455.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-11-300x133.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-11-768x341.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-11.png 1363w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Check your ARIES board whether the <strong>BOOT SEL<\/strong> pin is shorted using a jumper or not.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"981\" height=\"629\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h1-2.png\" alt=\"\" class=\"wp-image-2717\" style=\"width:516px;height:331px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h1-2.png 981w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h1-2-300x192.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h1-2-768x492.png 768w\" sizes=\"auto, (max-width: 981px) 100vw, 981px\" \/><\/figure>\n\n\n\n<p>If<br>BOOT-SEL jumper (J12) is shorted :<br>a)Select&nbsp;<strong>Flash Mode<\/strong>&nbsp;-&gt;&nbsp;<strong>Enabled<\/strong><br>b)Select Tools -&gt;&nbsp;<strong>Programmer<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA FLASHER<\/strong><br>Else<br>a)Select&nbsp;<strong>Flash Mode<\/strong>&nbsp;-&gt;&nbsp;<strong>Disabled<\/strong><br>b)Select Tools -&gt;&nbsp;<strong>Programmer<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA XMODEM<\/strong><\/p>\n\n\n\n<p>Here the BOOT SEL pin is shorted, so we have <strong>enabled<\/strong> the flash mode and selected <strong>VEGA FLASHER<\/strong> from programmer option.<\/p>\n\n\n\n<p>Connect the ARIES board to PC<\/p>\n\n\n\n<p>Select <strong>Tools -&gt; Port -&gt; COM* (ARIES Board)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"962\" height=\"630\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2024\/05\/image.png\" alt=\"\" class=\"wp-image-4631\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2024\/05\/image.png 962w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2024\/05\/image-300x196.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2024\/05\/image-768x503.png 768w\" sizes=\"auto, (max-width: 962px) 100vw, 962px\" \/><\/figure>\n\n\n\n<p>Open<strong> File -&gt; Examples -&gt;&nbsp;&#8220;Examples for ARIES v3&nbsp;-&gt; UART -&gt; Hello World&#8221;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"693\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/4-1024x693.png\" alt=\"\" class=\"wp-image-2651\" style=\"width:576px;height:390px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/4-1024x693.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/4-300x203.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/4-768x520.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/4.png 1282w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click the <strong>Sketch -&gt; Verify<\/strong> button to compile the program<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"336\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/1-2-1024x336.png\" alt=\"\" class=\"wp-image-2657\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/1-2-1024x336.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/1-2-300x98.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/1-2-768x252.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/1-2.png 1162w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click the<strong> Sketch -&gt; Upload<\/strong> button to upload the program<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"323\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/6-1024x323.png\" alt=\"\" class=\"wp-image-2653\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/6-1024x323.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/6-300x95.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/6-768x242.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/6.png 1176w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Note: <\/strong>If you are using Arduino IDE version 2.0.0 or above, then Click the<strong> Sketch -> Upload<\/strong> <strong>using Programmer<\/strong> button to upload the program<\/p>\n\n\n\n<p>Open <strong>Tools -&gt; Serial monitor<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"421\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/7-1024x421.png\" alt=\"\" class=\"wp-image-2654\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/7-1024x421.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/7-300x123.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/7-768x316.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/7.png 1170w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select 115200 baud in Serial Monitor<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"442\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/image.png\" alt=\"\" class=\"wp-image-2587\" style=\"width:421px;height:193px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/image.png 964w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/image-300x138.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/image-768x352.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/figure>\n\n\n\n<p>&#8220;Hello World&#8221; message will scroll in the Serial Monitor<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"438\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h3.png\" alt=\"\" class=\"wp-image-2588\" style=\"width:401px;height:182px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h3.png 964w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h3-300x136.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/h3-768x349.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Overview This guide will provide you with a step by step walk-through of running a software on VEGA based development boards using Arduino IDE. In every language, generally, the first Hello World project is a simple program that prints &#8220;Hello World&#8221;. We will see what such a code would look like for ARIES using Arduino [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94,98],"tags":[95,76,7,77,31,65,24],"class_list":["post-2416","post","type-post","status-publish","format-standard","hentry","category-aries-with-arduinoide","category-training-2","tag-aries-v3-board","tag-c-dac","tag-cdac","tag-thejas-32","tag-thejas32","tag-uart","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=2416"}],"version-history":[{"count":22,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2416\/revisions"}],"predecessor-version":[{"id":4634,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2416\/revisions\/4634"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=2416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=2416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=2416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}