
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Find+ESP32+chip+revision&amp;rft.aulast=Stavrakis&amp;rft.aufirst=Modestos&amp;rft.subject=electronics&amp;rft.subject=esp32&amp;rft.subject=espressif&amp;rft.source=%CE%BC%CE%BF.&amp;rft.date=2018-09-19&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=https://xylem.aegean.gr/~modestos/mo.blog/find-esp32-chip-revision/&amp;rft.language=English"></span>

	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Find+ESP32+chip+revision&amp;rft.aulast=Stavrakis&amp;rft.aufirst=Modestos&amp;rft.subject=electronics&amp;rft.subject=esp32&amp;rft.subject=espressif&amp;rft.source=%CE%BC%CE%BF.&amp;rft.date=2018-09-19&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=https://xylem.aegean.gr/~modestos/mo.blog/find-esp32-chip-revision/&amp;rft.language=English"></span>
{"id":6971,"date":"2018-09-19T16:17:04","date_gmt":"2018-09-19T14:17:04","guid":{"rendered":"http:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/?p=6971"},"modified":"2018-09-22T14:13:04","modified_gmt":"2018-09-22T12:13:04","slug":"find-esp32-chip-revision","status":"publish","type":"post","link":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/find-esp32-chip-revision\/","title":{"rendered":"Find ESP32 chip revision"},"content":{"rendered":"<p>Espressif released two chip revisions so far: Rev 0&nbsp; and Rev 1<\/p>\n<p>Rev 0 had a number of bugs.<\/p>\n<p>Espessif released a <a href=\"https:\/\/www.espressif.com\/en\/content\/eco-and-workarounds-bugs-esp32\">workaround<\/a> for the ECO.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-content\/uploads\/2018\/09\/085225bb-17bd-46c5-9dad-ea5e56a56725.jpg?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"6978\" data-permalink=\"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/find-esp32-chip-revision\/085225bb-17bd-46c5-9dad-ea5e56a56725\/\" data-orig-file=\"https:\/\/i0.wp.com\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-content\/uploads\/2018\/09\/085225bb-17bd-46c5-9dad-ea5e56a56725.jpg?fit=361%2C361&amp;ssl=1\" data-orig-size=\"361,361\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"ESP32\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-content\/uploads\/2018\/09\/085225bb-17bd-46c5-9dad-ea5e56a56725.jpg?fit=361%2C361&amp;ssl=1\" class=\"size-thumbnail wp-image-6978 alignright\" src=\"https:\/\/i0.wp.com\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-content\/uploads\/2018\/09\/085225bb-17bd-46c5-9dad-ea5e56a56725-150x150.jpg?resize=150%2C150&#038;ssl=1\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/i0.wp.com\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-content\/uploads\/2018\/09\/085225bb-17bd-46c5-9dad-ea5e56a56725.jpg?resize=66%2C66&amp;ssl=1 66w, https:\/\/i0.wp.com\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-content\/uploads\/2018\/09\/085225bb-17bd-46c5-9dad-ea5e56a56725.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-content\/uploads\/2018\/09\/085225bb-17bd-46c5-9dad-ea5e56a56725.jpg?resize=200%2C200&amp;ssl=1 200w, https:\/\/i0.wp.com\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-content\/uploads\/2018\/09\/085225bb-17bd-46c5-9dad-ea5e56a56725.jpg?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-content\/uploads\/2018\/09\/085225bb-17bd-46c5-9dad-ea5e56a56725.jpg?w=361&amp;ssl=1 361w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p>To find the revision of an ESP32 chip two options are available:<\/p>\n<ol>\n<li>Use the <a href=\"https:\/\/github.com\/espressif\/esptool\">esptool<\/a><\/li>\n<li>Flash your board with the appropriate code to display revision<\/li>\n<\/ol>\n<h3>&nbsp;<\/h3>\n<h3>Intro<\/h3>\n<p>Before starting make sure you have installed ESP32 on your machine. If you are on windows follow this tutorial:<\/p>\n<p><a href=\"https:\/\/github.com\/espressif\/arduino-esp32\/blob\/master\/docs\/arduino-ide\/windows.md\">Steps to install Arduino ESP32 support on Windows<\/a><\/p>\n<p>Do not forget to check if this <a href=\"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/lolin32-installation-issue-with-windows-10-build-1803\/\">issue<\/a> affects your configuration.<\/p>\n<h3>Use the esptool<\/h3>\n<p>Download the&nbsp;<a href=\"https:\/\/github.com\/espressif\/esptool\">esptool<\/a> depending on your operating system:<\/p>\n<ul>\n<li>Linux\/Unix\/Mac:&nbsp;<a class=\"yt-simple-endpoint style-scope yt-formatted-string\" spellcheck=\"false\" href=\"https:\/\/www.youtube.com\/redirect?q=http%3A%2F%2Fesptool.py%2F&amp;event=comments&amp;redir_token=tzaP321ZIYjawz5Z3zFIpgY1hy58MTUzNzQzNjQyNUAxNTM3MzUwMDI1\">esptool.py<\/a>&nbsp;<\/li>\n<li>Windows: <a  data-e-Disable-Page-Transition=\"true\" class=\"download-link\" title=\"Version 2.1\" href=\"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/download\/6973\/?tmstv=1776501179\" rel=\"nofollow\" id=\"download-link-6973\" data-redirect=\"false\" >\n\tesptool\t(1573 downloads\t)\n<\/a>\n<\/li>\n<\/ul>\n<p>To get the board details run the following command:<\/p>\n<pre class=\"lang:default decode:true \">esptool --port PORTNUMBER flash_id<\/pre>\n<p>So for example on windows:<\/p>\n<pre class=\"lang:default decode:true\">PS T:\\Documents\\code\\arduino&gt; .\\esptool.exe --port COM25 flash_id\r\nesptool.py v2.1\r\nConnecting....\r\nDetecting chip type... ESP32\r\nChip is ESP32D0WDQ6 (revision 1)\r\nUploading stub...\r\nRunning stub...\r\nStub running...\r\nManufacturer: ef\r\nDevice: 4017\r\nDetected flash size: 8MB\r\nHard resetting...\r\nPS T:\\Documents\\code\\arduino&gt;<\/pre>\n<p>Chip is ESP32D0WDQ6 (revision 1) indicates chip ID and revision number.<\/p>\n<p>The same applies for unix\/linux:<\/p>\n<pre class=\"lang:sh decode:true \"># python esptool.py --port COMXX flash_id<\/pre>\n<h3>Flash your board<\/h3>\n<p>Alternatively you can flash your board using the following code found on A.Spiess <a href=\"https:\/\/www.youtube.com\/watch?time_continue=210&amp;v=ymjMncK732Q\">site<\/a>: (Download: (<a  data-e-Disable-Page-Transition=\"true\" class=\"download-link\" title=\"\" href=\"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/download\/6991\/?tmstv=1776501179\" rel=\"nofollow\" id=\"download-link-6991\" data-redirect=\"false\" >\n\tESP32_Version.ino\t(1303 downloads\t)\n<\/a>\n)<\/p>\n<pre class=\"lang:arduino decode:true\">\/*\r\n  This sketch reads the version number of hte ESP32 chip\r\n\r\n  2017-07-17 Andreas Spiess\r\n\r\n*\/\r\n\r\n#include \"soc\/efuse_reg.h\"\r\n\r\nint getChipRevision()\r\n{\r\n  return (REG_READ(EFUSE_BLK0_RDATA3_REG) &gt;&gt; (EFUSE_RD_CHIP_VER_RESERVE_S)&amp;&amp;EFUSE_RD_CHIP_VER_RESERVE_V) ;\r\n}\r\n\r\nvoid setup() {\r\n  Serial.begin(115200);\r\n  delay(200);\r\n  Serial.print(\"REG_READ(EFUSE_BLK0_RDATA3_REG) \");\r\n  Serial.println(REG_READ(EFUSE_BLK0_RDATA3_REG), BIN);\r\n\r\n  Serial.print(\"EFUSE_RD_CHIP_VER_RESERVE_S \");\r\n  Serial.println(EFUSE_RD_CHIP_VER_RESERVE_S, BIN);\r\n\r\n  Serial.print(\"EFUSE_RD_CHIP_VER_RESERVE_V \");\r\n  Serial.println(EFUSE_RD_CHIP_VER_RESERVE_V, BIN);\r\n\r\n   Serial.println();\r\n\r\n  Serial.print(\"Chip Revision (official version): \");\r\n  Serial.println(getChipRevision());\r\n  \r\n  Serial.print(\"Chip Revision from shift Operation \");\r\n  Serial.println(REG_READ(EFUSE_BLK0_RDATA3_REG) &gt;&gt; 15, BIN);\r\n}\r\n\r\n\/\/ the loop function runs over and over again forever\r\nvoid loop() {\r\n}<\/pre>\n<p>The video explaining the process is here:<\/p>\n<p><iframe width=\"560\" height=\"314\" src=\"\/\/www.youtube.com\/embed\/ymjMncK732Q\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Espressif released two chip revisions so far: Rev 0&nbsp; and Rev 1 Rev 0 had a number of bugs. Espessif released a workaround for the ECO. To find the revision of an ESP32 chip two options are available: Use the esptool Flash your board with the appropriate code to display revision &nbsp; Intro Before starting make sure you have installed ESP32 on your machine. If you are on windows follow this tutorial: Steps to install Arduino ESP32 support on Windows Do not forget to check if this issue affects your configuration. Use the esptool Download the&nbsp;esptool depending on your operating system: Linux\/Unix\/Mac:&nbsp;esptool.py&nbsp; Windows: To get the board details run the following command: esptool &#8211;port PORTNUMBER flash_id So for example on windows: PS T:\\Documents\\code\\arduino&gt; .\\esptool.exe &#8211;port COM25 flash_id esptool.py v2.1 Connecting&#8230;. Detecting chip type&#8230; ESP32 Chip is ESP32D0WDQ6 (revision 1) Uploading stub&#8230; Running stub&#8230; Stub running&#8230; Manufacturer: ef Device: 4017 Detected [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6989,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[649,730,729],"tags":[],"class_list":["post-6971","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics","category-esp32","category-espressif"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-content\/uploads\/2018\/09\/esp-wroom-32-esp32-wifi-bt-ble-mcu-module-er-wcw32110w.jpg?fit=411%2C441&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pzkzw-1Or","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-json\/wp\/v2\/posts\/6971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-json\/wp\/v2\/comments?post=6971"}],"version-history":[{"count":10,"href":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-json\/wp\/v2\/posts\/6971\/revisions"}],"predecessor-version":[{"id":6995,"href":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-json\/wp\/v2\/posts\/6971\/revisions\/6995"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-json\/wp\/v2\/media\/6989"}],"wp:attachment":[{"href":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-json\/wp\/v2\/media?parent=6971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-json\/wp\/v2\/categories?post=6971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xylem.aegean.gr\/~modestos\/mo.blog\/wp-json\/wp\/v2\/tags?post=6971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}