<?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[Restore BALA2 fire firmware for selfbalancing robot]]></title><description><![CDATA[<p dir="auto">After testing UIFlow (Blockly, MicroPython) on my new BALA2 fire (bought in May 2023, everything worked fine) I tried to restore the firmware for m5stack Fire Bala2. I wanted to come back to the selfbalancing robot.</p>
<p dir="auto">I started Arduino 2.1.0, integrated all the necessary files (<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json" target="_blank" rel="noopener noreferrer nofollow ugc">https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json</a> and Library M5Stack by M5Stack), selected as Board: M5stack-FIRE and as Port: dev/cu.wchusbserial..., PSRAM: is "Enabled". Then I tried several Arduino-programs from Examples -&gt; M5Stack, for example FactoryTest and IMU. They are all running.</p>
<p dir="auto">Finally I came back to my real goal: BALA2 (M5Stack -&gt; Modules -&gt; BALA2). But for the first time I got an error message in imu_filter.cpp: "class IMU has no member named" in<br />
Line 109 M5. IMU. setFIFOEnable (true);<br />
Line 110 M5. IMU. RestFIF0 ();<br />
Line 118 fifo_count = M5. IMU. ReadFIFOCount () ;<br />
Line 119 M5. IMU. ReadFIFOBuff(fifo_buff, fifo_count);</p>
<p dir="auto">When I was running the file IMU.ino all the M5.IMU.get... commands worked well!</p>
<p dir="auto">I also tried BALA2.ino with the Board: M5Stack-Core-ESP32 but I got the same error.</p>
<p dir="auto">What can I do to restart my BALA2 fire as the self balancing "robot"? Where do I find the missing "members" of class IMU? Or where do I have to insert them in a file (which one)?</p>
<p dir="auto">I would be pleased to get an answer because I've been looking for a solution for two weeks and I've no more idea.</p>
<p dir="auto">Thanks for your help.</p>
<p dir="auto">wzemann</p>
]]></description><link>https://community.m5stack.com/topic/5381/restore-bala2-fire-firmware-for-selfbalancing-robot</link><generator>RSS for Node</generator><lastBuildDate>Thu, 07 May 2026 15:05:26 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5381.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Jun 2023 16:28:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Restore BALA2 fire firmware for selfbalancing robot on Tue, 24 Dec 2024 19:53:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wzemann" aria-label="Profile: wzemann">@<bdi>wzemann</bdi></a> I have the same problem, restore the original firmware, are You solved?<br />
Thanks Alberto</p>
]]></description><link>https://community.m5stack.com/post/27567</link><guid isPermaLink="true">https://community.m5stack.com/post/27567</guid><dc:creator><![CDATA[albi60]]></dc:creator><pubDate>Tue, 24 Dec 2024 19:53:09 GMT</pubDate></item><item><title><![CDATA[Reply to Restore BALA2 fire firmware for selfbalancing robot on Tue, 13 Jun 2023 15:03:13 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the answer, but ...</p>
<p dir="auto">if I start m5burner, select UIFlow_Fire, configure WLAN and USB-Driver and burn ... I only get the API-Key message, the setup menu and the app menu (<a href="http://temp.py" target="_blank" rel="noopener noreferrer nofollow ugc">temp.py</a>) on the display ... nothing else to do.</p>
<p dir="auto">I can now start UIFlow and program the device<br />
with blockly (-&gt; modules -&gt; bala2, there are some commands for the encoder motors ... but not for selfbalancing!)<br />
or  with micro python (but there is no list of the available commands for selfbalancing)</p>
<p dir="auto">now back to m5burner:<br />
I also tried the upper menu<br />
– Serial Monitor: successfully connects to the device<br />
– Firmware Exporter: exports an esp32fw.bin file?<br />
– Refresh Firmwares: nothing happens?!</p>
<p dir="auto">After m5burner, UIFlow Blockly, UIFlow Micropython I finally tried Arduino. There is indeed a file FactoryTest (Examples -&gt; M5Stack -&gt; Basic: FactoryTest) and it works but it' s not the program for selfbalancing then I tried bala2.ino (Examples -&gt; M5Stack -&gt; Modules: BALA2) ... and I got the error message above.</p>
<p dir="auto">No matter which way I choose I don't succeed in restoring the original (delivery-)code with the self balancing car that's what I mean with restoring the firmware.</p>
<p dir="auto">If you have a new idea tell me please.</p>
<p dir="auto">Thanks</p>
<p dir="auto">wzemann</p>
]]></description><link>https://community.m5stack.com/post/21193</link><guid isPermaLink="true">https://community.m5stack.com/post/21193</guid><dc:creator><![CDATA[wzemann]]></dc:creator><pubDate>Tue, 13 Jun 2023 15:03:13 GMT</pubDate></item><item><title><![CDATA[Reply to Restore BALA2 fire firmware for selfbalancing robot on Mon, 12 Jun 2023 15:32:35 GMT]]></title><description><![CDATA[<p dir="auto">Nope m5 burner burns all know compiled firmwares for devices including factory and user demos</p>
]]></description><link>https://community.m5stack.com/post/21180</link><guid isPermaLink="true">https://community.m5stack.com/post/21180</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 12 Jun 2023 15:32:35 GMT</pubDate></item><item><title><![CDATA[Reply to Restore BALA2 fire firmware for selfbalancing robot on Mon, 12 Jun 2023 15:25:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">that would be fine, but ...</p>
<ol>
<li>
<p dir="auto">m5burner burns only UIFlow_Fire, the base for working with UIFLow -&gt;</p>
</li>
<li>
<p dir="auto">UIFlow (desktop-version): there only exists BALA, but no BALA2 and there are important differences between them</p>
</li>
<li>
<p dir="auto">UIFlow (web-version): there are two modules<br />
a) BALA with the option balance loop (but doesn't run with BALA2)<br />
b) BALA2 but without the option balance loop!</p>
</li>
</ol>
<p dir="auto">That's a bit stupid and I don't know why but ...</p>
<p dir="auto">wzemann</p>
]]></description><link>https://community.m5stack.com/post/21179</link><guid isPermaLink="true">https://community.m5stack.com/post/21179</guid><dc:creator><![CDATA[wzemann]]></dc:creator><pubDate>Mon, 12 Jun 2023 15:25:44 GMT</pubDate></item><item><title><![CDATA[Reply to Restore BALA2 fire firmware for selfbalancing robot on Mon, 12 Jun 2023 14:42:00 GMT]]></title><description><![CDATA[<p dir="auto">Is not the factory Bala code in M5Burner?</p>
]]></description><link>https://community.m5stack.com/post/21176</link><guid isPermaLink="true">https://community.m5stack.com/post/21176</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 12 Jun 2023 14:42:00 GMT</pubDate></item><item><title><![CDATA[Reply to Restore BALA2 fire firmware for selfbalancing robot on Mon, 12 Jun 2023 09:46:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi Felix,</p>
<p dir="auto">thanks a lot for your quick support. Now I have to implement your lines in the BALA2.ino program. I'm not so experienced so it will take a bit of time. There are some differences to your IMU.h and IMU.cpp, but with your help I think I'm on the right track now.</p>
<p dir="auto">wzemann</p>
]]></description><link>https://community.m5stack.com/post/21173</link><guid isPermaLink="true">https://community.m5stack.com/post/21173</guid><dc:creator><![CDATA[wzemann]]></dc:creator><pubDate>Mon, 12 Jun 2023 09:46:09 GMT</pubDate></item><item><title><![CDATA[Reply to Restore BALA2 fire firmware for selfbalancing robot on Mon, 12 Jun 2023 07:05:08 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/wzemann" aria-label="Profile: wzemann">@<bdi>wzemann</bdi></a></p>
<p dir="auto">have a look at my <a href="https://github.com/m5stack/M5Stack/pull/312/files" target="_blank" rel="noopener noreferrer nofollow ugc">PR</a>. I've added the missing functions.</p>
<p dir="auto">Note: I do not have a Bala2 so I cannot test if the resulting firmware is correct.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/21169</link><guid isPermaLink="true">https://community.m5stack.com/post/21169</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 12 Jun 2023 07:05:08 GMT</pubDate></item></channel></rss>