<?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[M5station485 factory installed program]]></title><description><![CDATA[<p dir="auto">I am looking for the source code for the program that comes with the unit. I found in the example a "factory.cpp" that I supposed was it, but I think there is something wrong. In particular under "main.cpp" a function "M5.Power.Axp192.setEXTEN(1)" was called but I cannot find the definition for it. Also is there a place where we can find the API documentation for the m5station? I tried several examples in the library such as the INA3221.ino but it didn't work correctly(All voltages and currents for the ports display zero). Many thanks!</p>
]]></description><link>https://community.m5stack.com/topic/4889/m5station485-factory-installed-program</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:12:10 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4889.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Dec 2022 07:34:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5station485 factory installed program on Sat, 07 Jan 2023 11:07:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/ricky_m5station" aria-label="Profile: Ricky_M5Station">@<bdi>Ricky_M5Station</bdi></a></p>
<p dir="auto">thank you for confirming the fix works.</p>
<p dir="auto">I've created a <a href="https://github.com/m5stack/M5Station/pull/3" target="_blank" rel="noopener noreferrer nofollow ugc">PR</a> to fix the issue.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/19748</link><guid isPermaLink="true">https://community.m5stack.com/post/19748</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 07 Jan 2023 11:07:32 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Fri, 06 Jan 2023 13:28:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> Hi Felix,</p>
<p dir="auto">I see what you meant now. Wire(Pin 32,33) are brought out to A1 and A2, all the internal chips use Wire1(pin 21 and 22) for their I2C. So "Wire" is not the correct I2C to use. Thus the example has a bug. Need to trace the libraries to find out. A manual is badly needed :).</p>
<p dir="auto">Thanks!</p>
<p dir="auto">Ricky</p>
]]></description><link>https://community.m5stack.com/post/19737</link><guid isPermaLink="true">https://community.m5stack.com/post/19737</guid><dc:creator><![CDATA[Ricky_M5Station]]></dc:creator><pubDate>Fri, 06 Jan 2023 13:28:01 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Fri, 06 Jan 2023 10:46:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> Hi Felix,</p>
<p dir="auto">That works!! Thanks! But can you please explain a little bit about Wire? I thought it's only the i2C interface handle.</p>
<p dir="auto">Thanks again!</p>
<p dir="auto">Ricky</p>
]]></description><link>https://community.m5stack.com/post/19736</link><guid isPermaLink="true">https://community.m5stack.com/post/19736</guid><dc:creator><![CDATA[Ricky_M5Station]]></dc:creator><pubDate>Fri, 06 Jan 2023 10:46:35 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Fri, 23 Dec 2022 21:54:04 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/ricky_m5station" aria-label="Profile: Ricky_M5Station">@<bdi>Ricky_M5Station</bdi></a></p>
<p dir="auto">I've selected <code>M5Stack-Station</code> in Arduino IDE 2.0.3.</p>
<p dir="auto">Try changing <code>Wire</code> to <code>Wire1</code> in <code>M5Station.cpp</code>:</p>
<pre><code>    INA1.begin(&amp;Wire1);
    INA1.reset();
    INA1.setShuntRes(10, 10, 10);
    INA2.begin(&amp;Wire1, INA3221_ADDR41_VCC);
    INA2.reset();
    INA2.setShuntRes(10, 10, 10);
</code></pre>
<p dir="auto">Explanation: <code>Wire1</code> is used internally, <code>Wire</code> is used for ports A1 and A2.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/19647</link><guid isPermaLink="true">https://community.m5stack.com/post/19647</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 23 Dec 2022 21:54:04 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Fri, 23 Dec 2022 18:00:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a>,</p>
<p dir="auto">When I opened the example, no board was chosen. Is this also true on yours? What board did you choose? The M5station? Just to make sure we are on the same page. Maybe I should also post the code here to compare.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Ricky</p>
]]></description><link>https://community.m5stack.com/post/19646</link><guid isPermaLink="true">https://community.m5stack.com/post/19646</guid><dc:creator><![CDATA[Ricky_M5Station]]></dc:creator><pubDate>Fri, 23 Dec 2022 18:00:59 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Fri, 23 Dec 2022 13:01:46 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/ricky_m5station" aria-label="Profile: Ricky_M5Station">@<bdi>Ricky_M5Station</bdi></a></p>
<p dir="auto">yes, I mean the serial monitor. And yes, I was testing the example with a M5Station-485.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/19643</link><guid isPermaLink="true">https://community.m5stack.com/post/19643</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 23 Dec 2022 13:01:46 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Fri, 23 Dec 2022 07:59:09 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a></p>
<p dir="auto">What do you mean by the log output? The serial monitor?</p>
<p dir="auto">Just to make sure: you said the example is working on your hardware. Did you also use M5station-485?</p>
<p dir="auto">Thanks again!</p>
<p dir="auto">Ricky</p>
]]></description><link>https://community.m5stack.com/post/19641</link><guid isPermaLink="true">https://community.m5stack.com/post/19641</guid><dc:creator><![CDATA[Ricky_M5Station]]></dc:creator><pubDate>Fri, 23 Dec 2022 07:59:09 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Thu, 22 Dec 2022 09:52:05 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/ricky_m5station" aria-label="Profile: Ricky_M5Station">@<bdi>Ricky_M5Station</bdi></a></p>
<p dir="auto">hmm, not sure what's going wrong here.</p>
<p dir="auto">Have you checked the log output? Maybe there is a hint in there.</p>
<p dir="auto">BTW: my best guess for the factory code being different from the example code is two different M5Stack engineers probably created those.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/19629</link><guid isPermaLink="true">https://community.m5stack.com/post/19629</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 22 Dec 2022 09:52:05 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Thu, 22 Dec 2022 05:45:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello Felix,</p>
<p dir="auto">I tried the INA3221.ino example again after upgrading to Arduino 2.0.3 and removing and reinstalling the M5station libraries. Unfortunately the result is still the same 0V and 0ma for all ports. I've connected a RS485 module to one of these ports and the light on the module is on so I suppose power is there. Also with the factory installed program voltage and current values can be seen for that port.</p>
<p dir="auto">That said, the factory installed program has very different power management codes for reading the values, I wonder if that has to do with it.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Ricky</p>
]]></description><link>https://community.m5stack.com/post/19628</link><guid isPermaLink="true">https://community.m5stack.com/post/19628</guid><dc:creator><![CDATA[Ricky_M5Station]]></dc:creator><pubDate>Thu, 22 Dec 2022 05:45:36 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Thu, 15 Dec 2022 12:32:40 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/ricky_m5station" aria-label="Profile: Ricky_M5Station">@<bdi>Ricky_M5Station</bdi></a></p>
<p dir="auto">sorry to hear about your troubles.</p>
<p dir="auto">I've just double-checked the Arduino INA3221.ino example and it works for me. I do see current values different from zero when plugging something into one of the 6 groove ports.</p>
<p dir="auto">Do you have a multimeter? If yes, could you check if there is voltage (5 V) present?</p>
<p dir="auto">You also might want to re-install M5Station library - sometimes M5Stack engineers fix a bug, but do not change the version number.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/19566</link><guid isPermaLink="true">https://community.m5stack.com/post/19566</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 15 Dec 2022 12:32:40 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Thu, 15 Dec 2022 08:15:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> Thanks for the info. Using the M5Station.exe program I am able to recover the factory program(I thought it was a generic binary downloading program but later found out it can only burn the factory default binary:) ). I am look forward to your documentation and thank you!</p>
]]></description><link>https://community.m5stack.com/post/19565</link><guid isPermaLink="true">https://community.m5stack.com/post/19565</guid><dc:creator><![CDATA[Ricky_M5Station]]></dc:creator><pubDate>Thu, 15 Dec 2022 08:15:08 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Thu, 15 Dec 2022 08:07:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> Thanks for the info! I've only worked with Arduino and ESP-IDF so not so familiar with PlatformIO. The factory installed program can read the voltages and current correctly but not the INA3221.ino m5station example under the Arduino environment. I browse the libraries they use for the INA3221 and they are not the same. It's kind of hard to go on without documentations.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://community.m5stack.com/post/19564</link><guid isPermaLink="true">https://community.m5stack.com/post/19564</guid><dc:creator><![CDATA[Ricky_M5Station]]></dc:creator><pubDate>Thu, 15 Dec 2022 08:07:22 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Wed, 14 Dec 2022 08:36:04 GMT]]></title><description><![CDATA[<p dir="auto">I started documenting the 485Station using Micropython but my screen just stopped working and so waiting to order a new one.<br />
The factory demo should be found in the M5Burner firmware manager</p>
]]></description><link>https://community.m5stack.com/post/19549</link><guid isPermaLink="true">https://community.m5stack.com/post/19549</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 14 Dec 2022 08:36:04 GMT</pubDate></item><item><title><![CDATA[Reply to M5station485 factory installed program on Tue, 13 Dec 2022 16:24:44 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/ricky_m5station" aria-label="Profile: Ricky_M5Station">@<bdi>Ricky_M5Station</bdi></a></p>
<p dir="auto">some libraries are (down-)loaded while compiling / linking via entries in platformio.ini:</p>
<pre><code>lib_deps =
  fastled/FastLED@^3.4.0
  m5stack/M5GFX@^0.0.20
  m5stack/M5Unified@^0.0.7
  vshymanskyy/TinyGSM@^0.11.5
  vshymanskyy/StreamDebugger@^1.0.1
  knolleary/PubSubClient@^2.8
  arduino-libraries/ArduinoModbus@^1.0.6
</code></pre>
<p dir="auto">you'll find <code>void AXP192_Class::setEXTEN(bool enable)</code> in <code>https://github.com/m5stack/M5Unified/blob/master/src/utility/AXP192_Class.cpp</code><br />
and <code>Power_Class Power;</code> in <code>https://github.com/m5stack/M5Unified/blob/master/src/M5Unified.hpp</code></p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/19541</link><guid isPermaLink="true">https://community.m5stack.com/post/19541</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 13 Dec 2022 16:24:44 GMT</pubDate></item></channel></rss>