<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[TTGO CAN-485 : A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out) Failed uploading: uploading error: exit status 2]]></title><description><![CDATA[<p dir="auto">Product : TTGO CAN-485<br />
Version:v1.1<br />
Platform: Arduino 2.0.4 / Modbus Maste 2.0.1<br />
Severity: High<br />
Description:<br />
After successful compilation, Arduino is unable to flash the esp32 :</p>
<pre><code>Sketch uses 968985 bytes (73%) of program storage space. Maximum is 1310720 bytes.
Global variables use 51432 bytes (15%) of dynamic memory, leaving 276248 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/cu.usbmodem54F40127791
Connecting....
Chip is ESP32-D0WDQ6-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 4c:eb:d6:43:58:80
Uploading stub...

A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out)
Failed uploading: uploading error: exit status 2
</code></pre>
<p dir="auto"><strong>Steps to Reproduce:</strong></p>
<ol>
<li>Click compile and upload</li>
</ol>
<p dir="auto">Expected Result:<br />
The new firmware should be flashed into the esp32</p>
<p dir="auto">Actual Result:<br />
The firmware is unchanged and then useless.</p>
<p dir="auto">Additional Information:</p>
<ul>
<li>I tried two different boards, I got the same result</li>
<li>I tried with two different USB cables, I got the same result</li>
<li>I tried holding reset and bot, bot only, reset only, bot hold and quick push on reset, I got the same result</li>
<li>Reboot board and computer</li>
</ul>
<p dir="auto">Do you have some ideas for me ?</p>
<p dir="auto">I didn't found on the official github repo the role of BOT button.</p>
<p dir="auto">Thanks</p>
<p dir="auto">Best</p>
]]></description><link>https://www.community.lilygo.cc/topic/279/ttgo-can-485-a-fatal-error-occurred-failed-to-write-to-target-ram-result-was-01070000-operation-timed-out-failed-uploading-uploading-error-exit-status-2</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 21:10:33 GMT</lastBuildDate><atom:link href="https://www.community.lilygo.cc/topic/279.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Mar 2023 15:15:14 GMT</pubDate><ttl>60</ttl></channel></rss>