Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. revta
    3. Topics
    R
    • Continue chat with revta
    • Start new chat with revta
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by revta

    • R

      MPU-6886 Questions / Information
      PRODUCTS • • revta

      3
      0
      Votes
      3
      Posts
      2140
      Views

      about this chip function and register only could refer this file. if in this datasheet has some register not included, maybe it is not supported. https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/MPU-6886-000193%2Bv1.1_GHIC_en.pdf about the calibrating, you could refer to this balance car project. maybe you could find something you want. https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Application/Bala2
    • R

      v1.0.6 of Board Manager not working **Solved**
      Arduino • • revta

      11
      0
      Votes
      11
      Posts
      10646
      Views

      R

      Just to close the loop for anyone from the future... Here's the steps I took to resolve this: Uninstall / Cleanup / Restore to macos Mojave default python installation. (Which is v2.7.16 as noted above.) This was a pretty intensive step. The short breadcrumb for anyone else: Dont touch the mac system python installs located at: /System/Library or /usr/bin helpful stack overflow post for uninstalling python But in the end, from what I could find Mojave doesn't include pip by default, and easy_install is depreciated so we had to go to step 2. brew install python Today in Dec 2020 this will install 3.9.0. ((Python 2.7 has been long depreciated))[Also note pip is currently installed with this version of python] At this point if you type python --version you will still get: 2.7.16 While reading the ESP-IDF toolchain instructions, I noticed the following command: ln -s /usr/local/bin/python3 /usr/local/bin/python This setup a symlink to the python3 symlink also installed by brew. (Seems kind of hacky, but technically works...) I also had to do: ln -s /usr/local/bin/pip3 /usr/local/bin/pip which cleaned up any remaining issues making pip work. (Biggest issue being me forgetting to type pip3) After restarting my terminal, running python --version I now get: 3.9.0 With my new python env working as expected, I fired up ardunio IDE and one of the Core2 examples, and went to verify to see if my issues went away... And I still had the issues above in my original post. 6b. At this point I tried a ton of other things, most notably redoing everything by installing pyenv and trying to set the global env to 3.9, but none of those steps worked... I went back through the troubleshooting steps above, had the expected correct outcomes. Even ran the esp-tools.py directly and didnt have any issues importing serial or anything else. I believe the actual issue is the first line in the esp-tools.py: #!/usr/bin/env python Which I believe is what is forcing the ardunio IDE to use the default MacOS python version. (See note in #1 about this being the protected default python that we shouldnt touch.) Just as a test, I changed that line to be: #!/usr/bin/env python3 Once I reopened Ardunio, this worked and verified without any issues. However, I feared that if I ever updated the board definitions I would forget about this change and it would all break again. So I followed @lydericc instructions above. (Thank you!) You really shouldnt do this, but it's the only way to make it "work" with everything else out of the box. Specifically the following line (Step 2 in the post above): sudo pip3 install --target /Library/Python/2.7/site-packages pyserial This installed the required serial module and fixed the remaining issues. I'm not sure I like the solution, but it is the only thing that has made it work. The "correct" fix would be to have esp-tool.py use the installed default python version instead of the specific one installed at /usr/bin. Finally, as with all things in life, there is already an xkcd for this: https://xkcd.com/1987/ Maybe I'll open an issue with the esp-tool or Ardunio IDE and see what happens, but I dont believe this has anything to do with M5stack tools. Thanks for all who helped! (@Zontex & @lydericc )
    • R

      How to turn your Core2 into a paperweight/magnet, a cautionary tale.
      Core 2 • • revta

      2
      1
      Votes
      2
      Posts
      1787
      Views

      Hello @revta thank you for sharing your experience. Re ATECC608A: I did not notice the link in the M5Core2 documentation until now. However running an I2C scanner on M5Core2 doesn't reveal such a device (which by default should have address 0x35). All devices the scanner detects are: 0x34 (AXP), 0x38 (Touch), 0x51 (RTC) and 0x68 (IMU). The 8 pin IC close to USB-C you referring to I think is part of the protection circuit for the SD card - but I could be wrong about that. At this point my conclusion is that the ATEC608A never made it into the final design. Happy Stacking! Felix