Skip to content

Error: Cannot run program "{busybox}" #2416

Closed
@HugoP

Description

@HugoP

I upgraded from Arduino Core STM32 2.7.1 to 2.8.0 and now getting this error when uploading a sketch.

{busybox} sh C:\Users\User\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.2.2/stm32CubeProg.sh -i swd -f c:\Users\User\Documents\Arduino\generated_examples\.build/Blink.ino.bin -o 0x0 
Uploading...
java.io.IOException: Cannot run program "{busybox}": CreateProcess error=2, The system cannot find the file specified

Sketch

#include <Arduino.h>

void setup()
{
    pinMode(LED_BUILTIN, OUTPUT);
}

void loop()
{
    digitalWrite(LED_BUILTIN, HIGH);
    delay(1000);
    digitalWrite(LED_BUILTIN, LOW);
    delay(1000);
}

Desktop

  • OS: Windows 10
  • Arduino IDE version: 1.8.19
  • STM32 core version: 2.8.0
  • Upload method: ST-Link SWD

Board

  • Custom based on Blue pill with STM32F103CBT

Additional context

  • Looks to me like the core thinks it is on Linux based on trying to execute "stm32CubeProg.sh"

When I switch back to v2.7.1 the error goes away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions