• I am beginning to suspect that it may be something to do with not initialising the AXP192 power management unit properly in the M5StickC that is causing the reset loop. The Atom does not have one.

  • Hi jeffmer,

    The M5StickC works well with Arduino...

    Do they run some init routine for the AXP192?

    For Espruino it is possible to convert cpp code into a APX192 module. If this is helps to get ride of those reboots.

  • I charged the M5StickC overnight and ran the AXP192 sample sketch throughout. When the voltage reached around 4v I flashed Espruino and ran the blinky sketch. When I first ran the AXP182 sample sketch, I saw that the battery voltage was just around 3v.

    It looks like things are stable now, so maybe it could be because Espruino was trying to use too much power that the power management IC tried to restart the mcu?

About

Avatar for jeffmer @jeffmer started