{"id":2869,"date":"2023-09-13T08:34:42","date_gmt":"2023-09-13T08:34:42","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=2869"},"modified":"2023-11-07T05:31:49","modified_gmt":"2023-11-07T05:31:49","slug":"guide-to-access-in-built-2mb-flash-on-vega-aries-board","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/guide-to-access-in-built-2mb-flash-on-vega-aries-board\/","title":{"rendered":"Guide to access in-built 2MB Flash on VEGA ARIES Board"},"content":{"rendered":"\n<p>In this tutorial, we will learn how to use EEPROM, short for electrically erasable programmable read-only memory, on ARIES v3.0 boards.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">ARIES v3.0 Board<\/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 is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"882\" height=\"638\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/aries-v3-1.png\" alt=\"\" class=\"wp-image-2851\" style=\"width:243px;height:176px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/aries-v3-1.png 882w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/aries-v3-1-300x217.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/aries-v3-1-768x556.png 768w\" sizes=\"auto, (max-width: 882px) 100vw, 882px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">EEPROM<\/h2>\n\n\n\n<p>The ARIES v3.0 have 2 Megabytes of <a href=\"http:\/\/en.wikipedia.org\/wiki\/EEPROM\">EEPROM:<\/a>&nbsp;memory whose values are kept when the board is turned off (like a tiny hard drive). This on-board EEPROM is communicate with ARIES v3.0 board using the Serial Peripheral Interface (<strong>SPI<\/strong>) protocol. <\/p>\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 href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.html\" target=\"_blank\" rel=\"noreferrer noopener\">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<p><strong>Not<\/strong><strong>e:<\/strong>&nbsp;All of the following boards can be used for this project<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv2.php\">ARIES v2.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\">ARIES v3.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesmicro.php\">ARIES Micro<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesdot.php\">ARIES DOT<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesiot.php\">ARIES IoT<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Libraries Required<\/h2>\n\n\n\n<p>Functions in the&nbsp;<strong>EEPROM<\/strong>&nbsp;class is automatically included with the platform for your board, meaning you do not need to install any external libraries.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<p>Let\u2019s power up the ARIES v3 board via the USB port of a Laptop\/Desktop\/PC and burning the code into the ARIES v3 board, we have to use a USB type C to USB type A cable. The cable should be connected to UART-0 port of the ARIES v3 board, and the Laptop\/Desktop\/PC should be preinstalled with Arduino IDE and VEGA ARIES boards of latest version.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now,&nbsp;<strong>Open&nbsp;<\/strong>the Arduino IDE<\/li>\n\n\n\n<li>Make sure you have selected&nbsp;ARIES v3&nbsp;Board from&nbsp;<strong>Tools<\/strong>&nbsp;-&gt;&nbsp;<strong>Board<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA Processor: ARIES Boards<\/strong>&nbsp;-&gt;&nbsp;<strong>ARIES v3<\/strong><\/li>\n\n\n\n<li>Select Programmer as VEGA XMODEM from&nbsp;<strong>Tools<\/strong>&nbsp;-&gt;&nbsp;<strong>Programmer<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA XMODEM<\/strong><\/li>\n\n\n\n<li>Also select appropriate port,\u00a0<strong>Tools<\/strong>\u00a0->\u00a0<strong>Port<\/strong>\u00a0->\u00a0<strong>COM* (ARIES Board)<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"398\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/eprom.png\" alt=\"\" class=\"wp-image-4483\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/eprom.png 802w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/eprom-300x149.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/eprom-768x381.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Here we are going to look at all the examples in <strong>File&nbsp;<\/strong>-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;-&gt;&nbsp;<strong>EEPROM<\/strong> <\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"883\" height=\"1024\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-2-883x1024.png\" alt=\"\" class=\"wp-image-2896\" style=\"width:443px;height:513px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-2-883x1024.png 883w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-2-259x300.png 259w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-2-768x891.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-2-1324x1536.png 1324w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/Untitled-2.png 1610w\" sizes=\"auto, (max-width: 883px) 100vw, 883px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u2022 EEPROM Clear<\/h2>\n\n\n\n<p>This example illustrates how to clear EEPROM, using the <mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.clear()<\/mark> function. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Syntax:<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code><mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.clear(value)<\/mark><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters:<\/h4>\n\n\n\n<p><mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">value<\/mark>: 0 or no parameter to erase the first 4 KB of EEPROM. 1 to completely erase the EEPROM.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Returns:<\/h4>\n\n\n\n<p>none<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Procedure:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open <strong>File&nbsp;<\/strong>-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;-&gt;&nbsp;<strong>EEPROM<\/strong> -&gt; <strong>eeprom_clear<\/strong><\/li>\n\n\n\n<li>Now, <strong>Upload <\/strong>the code.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Output:<\/h4>\n\n\n\n<p>Once the program is uploaded, a block of 4KB EEPROM starting from address 0 will erase and green LED will turn on which will indicate completion of erasing process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u2022 EEPROM Write<\/h2>\n\n\n\n<p>This example illustrates how to store values from 0 to 255 (as each byte of the EEPROM can only hold a value from 0 to 255) to the EEPROM with starting address as 0 using the <mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.write()<\/mark>&nbsp;function. These values will stay in the EEPROM when the board is turned off and may be retrieved later by another sketch.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Syntax:<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code><mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.write(<\/mark>address, value<mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">)<\/mark><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters:<\/h4>\n\n\n\n<p>address: the location to write to, starting from 0 (int)                                                                                                                                                                                                <\/p>\n\n\n\n<p>value: the value to write, from 0 to 255 (byte)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Returns:<\/h4>\n\n\n\n<p>none<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Procedure:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open <strong>File&nbsp;<\/strong>-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;-&gt;&nbsp;<strong>EEPROM<\/strong> -&gt; <strong>eeprom_write<\/strong><\/li>\n\n\n\n<li>Now, <strong>Upload <\/strong>the code.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Output:<\/h4>\n\n\n\n<p>Once the uploading is done,  0 will store on address 0, 1 will store on address 1 and so on till 255 get stores on address 255 of EEPROM. Once the values are stored, green LED will turn on indicating completion of the write.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u2022 EEPROM Read<\/h2>\n\n\n\n<p>This example illustrates how to read the value of each byte of EEPROM using the&nbsp;<mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.read()<\/mark> function, and how to print those values to the serial window of the Arduino Software (IDE).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Syntax:<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code><mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.read(<\/mark>address<mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">)<\/mark><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters:<\/h4>\n\n\n\n<p>address: the location to read from, starting from 0 (int)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Returns:<\/h4>\n\n\n\n<p>the value stored in that location (byte)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Procedure:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open <strong>File&nbsp;<\/strong>-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;-&gt;&nbsp;<strong>EEPROM<\/strong> -&gt; <strong>eeprom_read<\/strong><\/li>\n\n\n\n<li>Now, <strong>Upload <\/strong>the code.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Output:<\/h4>\n\n\n\n<p>When the code is uploaded, we can see the EEPROM addresses and the data on those addresses started printed on serial monitor. After 255, address will reset to 0.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"400\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_readoutput.png\" alt=\"\" class=\"wp-image-2913\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_readoutput.png 698w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_readoutput-300x172.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u2022 EEPROM Write Multiple bytes<\/h2>\n\n\n\n<p>In this example we are going to look at how to write multiple bytes of data on EEPROM using <mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.write()<\/mark> function. For this we have to pass 3 parameters, which are writing buffer address, length in bytes and starting address of EEPROM. We can write up to 256 bytes of data at a time, so maximum length we can pass to the function will be 256.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Syntax:<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code><mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.write(<\/mark>writeBuffer, length, address<mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">)<\/mark><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters:<\/h4>\n\n\n\n<p>writeBuffer: the data buffer to write on EEPROM                                                                                                                        <\/p>\n\n\n\n<p>length: the length of data to be write in bytes (max 256 bytes)                                                                                                <\/p>\n\n\n\n<p>address: &nbsp;the location to write to, starting from 0 (int)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Returns:<\/h4>\n\n\n\n<p>none<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Procedure:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open <strong>File&nbsp;<\/strong>-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;-&gt;&nbsp;<strong>EEPROM<\/strong> -&gt; <strong>writeMultipleBytes<\/strong><\/li>\n\n\n\n<li>Now, <strong>Upload <\/strong>the code.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Output:<\/h4>\n\n\n\n<p>Once the code is uploaded, an array of size 256 bytes will be write on EEPROM starting from address 0 to 255 and Green LED will turn on after completion of the process. If data length exceeds maximum writing capacity (at single time) of 256 Bytes, writing will fail and ERROR message will print on serial monitor. In this case Red LED will turn on.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"695\" height=\"399\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_writeMultipleBytes.png\" alt=\"\" class=\"wp-image-2924\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_writeMultipleBytes.png 695w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_writeMultipleBytes-300x172.png 300w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u2022 EEPROM Read Multiple bytes<\/h2>\n\n\n\n<p>This example illustrates how to read multiple byte of data from EEPROM using <mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.read()<\/mark> function. For this we have to pass 3 parameter to read() call, which are  base address of read buffer, length (in bytes), and starting address of EEPROM. We can read up to 512 bytes of data at a time.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Syntax:<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code><mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.read(<\/mark>readBuffer, length, address<mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">)<\/mark><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters:<\/h4>\n\n\n\n<p>readBuffer: (Out parameter) the data buffer to store read data                                                                                                                    <\/p>\n\n\n\n<p>length: the length of data to be read in bytes (max 512 bytes)                                                                                                <\/p>\n\n\n\n<p>address: &nbsp;the location to read from, starting from 0 (int)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Returns:<\/h4>\n\n\n\n<p>none<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Procedure:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open <strong>File&nbsp;<\/strong>-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;-&gt;&nbsp;<strong>EEPROM<\/strong> -&gt; <strong>readMultipleBytes<\/strong><\/li>\n\n\n\n<li>Now, <strong>Upload <\/strong>the code.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Output:<\/h4>\n\n\n\n<p>Once the code is uploaded, first 256 bytes of data read from EEPROM will get stored in the buffer and displays on Serial Monitor. If the reading length exceeds 512 bytes, the ERROR message will display on Serial monitor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"814\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_readMultipleBytes.png\" alt=\"\" class=\"wp-image-2925\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_readMultipleBytes.png 602w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_readMultipleBytes-222x300.png 222w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u2022 EEPROM Put<\/h2>\n\n\n\n<p>The purpose of this example is to show the&nbsp;EEPROM.put() method that writes data on EEPROM using the <mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.update()<\/mark> that writes data only if it is different from the previous content of the locations to be written. The number of bytes written is related to the datatype or custom structure of the variable to be written.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Syntax:<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code><mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.put(<\/mark>address, data<mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">)<\/mark><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters:<\/h4>\n\n\n\n<p>address: the location to write to, starting from 0 (int)                                                                                                            <\/p>\n\n\n\n<p>data: the data to write, can be a primitive type (eg. float) or a custom struct                                                                                                <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Returns:<\/h4>\n\n\n\n<p>A reference to the data passed in<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Procedure:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open <strong>File&nbsp;<\/strong>-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;-&gt;&nbsp;<strong>EEPROM<\/strong> -&gt; <strong>eeprom_put<\/strong><\/li>\n\n\n\n<li>Now, <strong>Upload <\/strong>the code.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Output:<\/h4>\n\n\n\n<p>Once the code is uploaded, the data of type float will store in EEPROM followed by a structure. Once the data get stored, Green LED will turn On. <\/p>\n\n\n\n<p>Note: <em>View the example sketch eeprom_get to see how you can retrieve the values .<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u2022 EEPROM Get<\/h2>\n\n\n\n<p>The purpose of this example is to show how the put and get methods provide a different behaviour than write and read, that work on single bytes. Getting different variables from EEPROM retrieve a number of bytes that is related to the variable datatype.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Syntax:<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code><mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">EEPROM.get(<\/mark>address, data<mark style=\"background-color:#e0e0e0\" class=\"has-inline-color\">)<\/mark><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters:<\/h4>\n\n\n\n<p>address: the location to read from, starting from 0 (int)                                                                                                           <\/p>\n\n\n\n<p>data: the data to read, can be a primitive type (eg. float) or a custom struct                                                                                               <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Returns:<\/h4>\n\n\n\n<p>A reference to the data passed in<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Procedure:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open <strong>File&nbsp;<\/strong>-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;-&gt;&nbsp;<strong>EEPROM<\/strong> -&gt; <strong>eeprom_get<\/strong><\/li>\n\n\n\n<li>Now, <strong>Upload <\/strong>the code.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Output:<\/h4>\n\n\n\n<p>Once the sketch is uploaded, the float and custom structure data put on EEPROM will retrieve and displays on Serial monitor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"695\" height=\"399\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_get.png\" alt=\"\" class=\"wp-image-2926\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_get.png 695w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/08\/eeprom_get-300x172.png 300w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will learn how to use EEPROM, short for electrically erasable programmable read-only memory, on ARIES v3.0 boards. ARIES v3.0 Board 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 [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":3252,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94],"tags":[76,31,24],"class_list":["post-2869","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aries-with-arduinoide","tag-c-dac","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2869","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\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=2869"}],"version-history":[{"count":16,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2869\/revisions"}],"predecessor-version":[{"id":4484,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/2869\/revisions\/4484"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media\/3252"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=2869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=2869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=2869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}