Uploading error: exit status 0xc0000135

Hi guys,
I've been using Arduino IDE 2 for a while on windows 10 and have just changed my laptop with windows 11. Since then, it's impossible to upload my sketches on my target.

Target is OpenCM9.04 from robotis

Compilation is fine but upload fails even on the most basic code example below

void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // put your main code here, to run repeatedly:
}

And that's the message from the console I get :

Sketch uses 33840 bytes (28%) of program storage space. Maximum is 116736 bytes.
Global variables use 8640 bytes of dynamic memory.
"C:\Users\rdidier\AppData\Local\Arduino15\packages\OpenCM904\tools\opencm_tools\0.0.2/win/opencm9.04_ld.exe" "COM6" "57600" "C:\Users\rdidier\AppData\Local\Temp\arduino\sketches\2DD9910FD5BBE52B25AC84BD77F90A83/a_Bare_Minimum.ino.bin" "1" "opencm"
Failed uploading: uploading error: exit status 0xc0000135

I would really appreciate any help as it drives me crazy :sweat_smile:

Many thanks in advance

Search results: Search results for '0xc0000135' - Arduino Forum
Possible solution: Compilation error: exit status 0xc0000135 - #7 by ptillisch

1 Like

Hi @rouno69. Please try this experiment and then report back here with the results:


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Right click the Windows "Start" button.
    A context menu will open.
  2. Select "Terminal" from the menu.
    A PowerShell window will open.
  3. Type the following command at the PowerShell command prompt:
    &"C:\Users\rdidier\AppData\Local\Arduino15\packages\OpenCM904\tools\opencm_tools\0.0.2/win/opencm9.04_ld.exe" "COM6" "57600" "C:\Users\rdidier\AppData\Local\Temp\arduino\sketches\2DD9910FD5BBE52B25AC84BD77F90A83/a_Bare_Minimum.ino.bin" "1" "opencm"
    
  4. Press the Enter key.

When you did that, did you see an error message, or did the process complete as expected? If you see an error message, please paste the full text of it in a reply here.

When you did that, did you see a dialog box pop up? If you see a dialog, please post the full text from the dialog in a reply here.

The hope is that running the command from the terminal will provide us with better information about the problem than the very cryptic "exit status 0xc0000135" we are getting when Arduino IDE runs that command.

Thanks a lot for the prompt answers

I already checked similar entries on the forum without more success, most of them are related to compiling issues which I don't have but uploading issue

@ptillisch , I pasted the command in the terminal but don't get any message

Regards

@ptillisch would you have any other idea to have more verbose outputs?

Kind regards

Hi all, FYI I unistalled Adruino 2.x IDE and switched back to 1.8 which run fine now.

No more upload issue, I'll try to resinstall 2.x later to see if it have improved the situation

Kind regards

Congratulations on finding a solution! I'm glad it is working now. Thank you for taking the time to post an update.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.