8 Comments

  1. Hi, I had the same issue. Turns out it was a powershell issue.
    I just needed to add the following to the path. Not all the things you mentioned.
    C:\Windows\System32\WindowsPowerShell\v1.0\
    I had raised a ticket for this on arduino-pico core and error message has now been corrected.
    Thanks a lot for letting us know about this fix. I was totally lost for ideas till I stumbled upon this this post.

  2. Alfonso Favoretti Fonsseca

    A dica das variáveis de ambiente funcionou perfeitamente para mim. Resposta do IDE Arduino após compilação:
    Resetting COM5
    Converting to uf2, output size: 142336, start address: 0x2000
    Scanning for RP2040 devices
    Flashing E: (RPI-RP2)
    Wrote 142336 bytes to E:/NEW.UF2

    Obrigado!!

  3. Thanks Samuel for this article. Is the following the same fault? So far, unable to fix it.

    Sketch uses 59760 bytes (2%) of program storage space. Maximum is 2093056 bytes.
    Global variables use 9516 bytes (3%) of dynamic memory, leaving 252628 bytes for local variables. Maximum is 262144 bytes.
    Resetting COM27
    Converting to uf2, output size: 153088, start address: 0x2000
    Scanning for RP2040 devices
    ERROR:

    Description = Not found

    Get-WmiObject : Invalid class “Win32_LogicalDisk”
    At line:1 char:1
    + Get-WmiObject -class Win32_LogicalDisk | Format-Table -Property Devic …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidType: (:) [Get-WmiObject], ManagementException
    + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

    Unable to build drive list
    Failed uploading: uploading error: exit status 1

  4. Kumar Bhatia

    Facing the same issue again. The above did not work. For the last fix, switched to another computer system. Something is really broken with this IDE to raise this fault.

Leave a Reply

Your email address will not be published. Required fields are marked *