M5StickC and ATOM on MacOS platform can't upload programs solustion


  • M5Stack

    Solution1: When programming, short the G0 to GND using the DuPont line.

    Solution2:Click here to download the serial chip firmware update tool (MacOS version only) , enter

    This is only for update M5StickC or M5Atom Series USB Controller's Firmware , using it for any other purpose may cause damage to your devices.
    When you are using this software, make sure you have a reliable connection to your device. Any disruption during the process will cause the device not functioning.

    NO WARRANTIES:
    To the extent permitted by applicable law, neither wsdot,nor any person, either expressly or implicitly, warrants any aspect ofthis software or program, including any output or results of this softwareor program. Unless agreed to in writing. This software and program is being provided "as is", without any warranty of any type or nature,either express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose,and any warranty that this software or program is free from defects.

    chmod + x ch552Updater_FW20200114_A2_BTV231
    

    in the terminal in the save directory, and modify the executable permissions. Then connect the M5StickC device to the computer, double-click to open the tool, follow the operation prompts, press the Enter key to run, and wait for the burning to complete.

    替代文字

    替代文字



  • The solution 2 working perfectly! Not need more a short-circuit between GND+GPIO0.

    Not only that, after upload a new sketch the M5Stick-C reset (to start the new sketch) automatically (as their normal operation).

    Thank you.

    OBS: I'm using MacOS Catalina (10.15.2), via USB-C -> Adapter USB-C to USB 3.0 -> M5-Stick-C USB to USB-C Cable. It is running perfectly.


  • M5Stack

    @nsfilho awesome.



  • @m5stack Here are the same:

    1. I'm using MacOS Catalina (10.15.2), via USB-C -> Adapter USB-C to USB 3.0 -> M5-Stick-C USB to USB-C
    2. If I use the correct dev it worked. There are two device-driver for one M5StickC:
    • cu.usbserial-00001014 ttyvf
    • cu.usbserial-6D522008B6 ttyw0

    The first device-driver worked!



  • @m5stack Sorry ... Extremely new with a M5StickC. Having issues trying to connect M5StickC to UIFlow.
    I think this is the issue I am having , since I have MacOS (Catalina), downloaded Solution2 file, not familiar with terminal commands. I can't make this file to run... help

    File - Get Info
    -Sharing & Permissions

    • Everyone / Read and write

    Open terminal
    -cd ~/Downloads
    -chmod + x ch552Updater_FW20200102_BTV231
    -chmod: x: No such file or directory
    -chmod: ch552Updater_FW20200102_BTV231: No such file or directory

    What am I doing wrong?



  • @redes-io said in M5StickC and ATOM on MacOS platform can't upload programs solustion:

    @m5stack Sorry ... Extremely new with a M5StickC. Having issues trying to connect M5StickC to UIFlow.
    I think this is the issue I am having , since I have MacOS (Catalina), downloaded Solution2 file, not familiar with terminal commands. I can't make this file to run... help

    File - Get Info
    -Sharing & Permissions

    • Everyone / Read and write

    Open terminal
    -cd ~/Downloads
    -chmod + x ch552Updater_FW20200102_BTV231
    -chmod: x: No such file or directory
    -chmod: ch552Updater_FW20200102_BTV231: No such file or directory

    What am I doing wrong?

    The instructions are incorrect. There should not be a space in between +x.

    cd ~/Downloads
    chmod +x ch552Updater_FW20200114_A2_BTV231.dms 
    

    Then follow the instructions as written above.



  • @world101 Thank you for the info.

    I did how you instructed and it just doesn't do any thing. The terminal just doesn't do anything the file doesn't open anything.

    Thanks.



  • @redes-io

    All I did was show you how to change the executable permissions of the file. That was your issue. You still need to follow the rest of the instructions they provided....

    “Then connect the M5StickC device to the computer, double-click to open the tool, follow the operation prompts, press the Enter key to run, and wait for the burning to complete.”



  • @world101 Very much appreciated, thank you for the reply!



  • @world101 Remember to remove the .dms file extension, which is wrongly added by Safari/MacOS. Then you should be able to execute the file by right-clicking and choosing "open in Terminal", then follow instructions.