Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. NuttyMonk
    N
    • Continue chat with NuttyMonk
    • Start new chat with NuttyMonk
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    NuttyMonk

    @NuttyMonk

    0
    Reputation
    3
    Posts
    380
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    NuttyMonk Follow

    Posts made by NuttyMonk

    • RE: M5Stamp C3U unable to load program

      Ah, i figured it out. On that first link it mentions CDC and i realised that is one of the settings in the Tools menu of the Arduino IDE. It was disabled so i enabled it and uploaded the code and now i can get text to the Serial Monitor.

      Thanks for all your help, felmue. I wouldn't have been able to get this working without you. :)

      Cheers

      NM

      posted in PRODUCTS
      N
      NuttyMonk
    • RE: M5Stamp C3U unable to load program

      Hi felmue,

      thanks for the advice. Doing it your way is working now. I am able to upload.

      Can you tell me, what are the differences working with Serial on the STAMP C3U from other microcontrollers.

      I have used this code to set up the Serial port so i can get info to my Serial Monitor but it isn't working. I am running a simple Blink test sketch in the Arduino IDE and the LED i attached is blinking so i know the sketch uploaded and is working fine, but i am getting no text showing up in the Serial Monitor...

      Serial.begin(115200);
      delay(1000);
      Serial.println("==========");
      Serial.println("BASIC TEST");
      Serial.println("==========");

      ...that code is in the setup function. I have the "Upload Speed" setting in the Arduino IDE set to 115,200 and the Serial Monitor is also set to 115,200 but nothing shows up on the Serial Monitor.

      Thanks

      NM

      posted in PRODUCTS
      N
      NuttyMonk
    • M5Stamp C3U unable to load program

      Hi all,

      i've just rec'd the M5Stamp C3U and i'm running into problems with programming it in the Arduino IDE.

      I downloaded both of the suggested USB drivers, the CH9102 and the CP2104 and installed them. I've added a link for the ESP32C3 and M5Stack in the boards manager in preferences and installed ESP32-Arduino and M5Stack-Arduino and can see the lists of boards under those headings in the 'boards' submenu in the Arduino IDE. I've tried uploading using the STAMP-C3 and ESP32C3 Dev Module boards.

      Sometimes the C3U is recognised by my PC and sometimes it isn't. When it is recognised, the led on the C3U is off, and when it isn't recognised, the led is on.

      If it is recognised by my PC i try loading a sketch onto it i get this error message...

      Traceback (most recent call last):
      File "esptool.py", line 5387, in <module>
      File "esptool.py", line 5380, in _main
      esptool.py v3.3
      File "esptool.py", line 4687, in main
      Serial port COM11
      File "esptool.py", line 114, in get_default_connected_device
      File "esptool.py", line 332, in init
      File "serial\serialutil.py", line 392, in write_timeout
      File "serial\serialwin32.py", line 222, in _reconfigure_port
      serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
      [8556] Failed to execute script 'esptool' due to unhandled exception!
      the selected serial port [8556] Failed to execute script 'esptool' due to unhandled exception!
      does not exist or your board is not connected

      ...and the led on the C3U turns on. and it is no longer recognised by my PC.

      There is so little info on this product that i don't know if i'm meant to do something with the 'reset' button or if it needs a bootloader flashed onto it first, or maybe something else i have missed.

      I usually run into problems when i'm writing my code, not before i've even uploaded my first sketch :(

      Can anyone offer a solution to this problem?

      Thanks

      NM

      posted in PRODUCTS
      N
      NuttyMonk