🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Load Micropython on M5 Stamp Pico

    Micropython
    2
    3
    3.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mrburns42
      last edited by

      I am trying to load Micropython on an M5 Stamp Pico. I am new to Micropython but skilled in microcontrollers and C++. I tried several binaries from the official website. All cause an exception crash and a boot loop. I see nothing in the official website targeting the Pico as a generic ESP32 device.

      I installed M5Burner and used that. It did not boot loop after install, but it does not seem to work. If I send it anything from the serial port, then it replies with:

      ª«ªÿÿcrc error2k«Ì«

      I do not need or want WiFi at this time.

      Is there a binary for simple serial console interface to the M5 Stamp Pico? If so where do I download it?

      If I have to build my own from source, is their a predefined header for this board so I know the appropriate configuration options?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        For a start, the random characters is a sign that you may have the wrong bad rate but did you put the stamp into boot loader mode before writing the firmware and did you select the correct communications port?

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 0
        • M
          mrburns42
          last edited by

          Yes the baud rate is correct. The characters are not random. They appear to be a CRC error and it is being sent in hex rather than ASCII.
          Anyway, I found that if I loaded the ESP32 generic binary file then it works. At least I can get to a Micropython REPL prompt. Of course, this version is probably going to me missing the libraries that I will need. I guess I will have to build my own binary version.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post